QZ seems to have stopped working in chrome

78 views
Skip to first unread message

exceed

unread,
May 3, 2017, 1:40:41 PM5/3/17
to qz-print, he...@exceedit.co.uk
I use QZ to print labels for a certain system.

until the last few days all was fine (and has been for some months)

all of a sudden printing has stopped working in chrome - trying in Firefox still works fine.

in the console it says there is a communication error - QZ is running and works fine with Firefox

is there any known issue with chrome in this way - my users prefer chrome so would like to resolve if possible.

I am assuming whats happened is a chrome update has brought in some sort of new security feature - but this is just a guess.

Tres Finocchiaro

unread,
May 3, 2017, 1:45:44 PM5/3/17
to exceed, qz-print, he...@exceedit.co.uk
You are correct.  Please upgrade to 1.9.8 or 2.0.3 from our downloads page.


Best regards,

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shalom Solomon

unread,
May 3, 2017, 1:47:41 PM5/3/17
to Tres Finocchiaro, exceed, qz-print, he...@exceedit.co.uk

thanks

To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.

Tres Finocchiaro

unread,
Apr 5, 2022, 2:03:08 AM4/5/22
to Shalom Solomon, qz-print
> It may well be I am mixed up slightly with the names – see here what software I am using and I believe the driver is also from Seagull – I got both from the citizen site here https://www.citizen-systems.com/en/support/drivers-and-tools/CL-E300?cHash=3996eba9cafc5c3a71027c5472d4836d

Do you have a trigger setup with Bartender to print XML files automatically?  https://support.seagullscientific.com/hc/en-us/articles/360044730333-Creating-an-XML-integration

If so, knowing how you are printing is important.  If you were using printToFile in older versions, we've removed the ability to print to arbitrary locations and now we have a File IO feature to do the same.

If you can confirm you were using printToFile and Bartender triggers, then this bug report may explain why it broke: https://github.com/qzind/tray/issues/730

If so, our new file writing is here: https://qz.io/wiki/file

Tres Finocchiaro

unread,
Apr 5, 2022, 2:05:08 AM4/5/22
to Shalom Solomon, qz-print
If you can confirm you were using printToFile and Bartender triggers, then this bug report may explain why it broke: https://github.com/qzind/tray/issues/730

Correction, the above bug report would only show a deprecation warning to the console.
 

Shalom Solomon

unread,
Apr 5, 2022, 3:44:45 AM4/5/22
to Tres Finocchiaro, qz-print
Hi

Please ignore the subject of this email because that’s an old query - apologies for any confusion 

Just to be clear I have 2 problems:

1) I am trying to print from qz (using your demo page) and I just cannot get anything to print on my citizen printer (e300) - I guess I need to print an xml or text format - linked to this 

2) ideally I would like bartender to design the file - I have seen 2 options for this and if I can get xml printing to work I can try them out 


Shalom
On the move

On 5 Apr 2022, at 07:05, Tres Finocchiaro <tres.fin...@gmail.com> wrote:



Tres Finocchiaro

unread,
Apr 5, 2022, 9:52:38 AM4/5/22
to Shalom Solomon, qz-print
I've never heard of a printer that recognizes XML.

Tres Finocchiaro

unread,
Apr 5, 2022, 9:54:34 AM4/5/22
to Shalom Solomon, qz-print
... I should clarify... I've recently been made aware of an Epson Fiscal protocol that's XML, but that was specific to an Italian model.  Printing XML a citizen or zebra is something we're not familiar with.  The library linked appeared to be for a 3rd party software, not QZ.

Shalom Solomon

unread,
Apr 5, 2022, 10:02:30 AM4/5/22
to Tres Finocchiaro, qz-print
Perhaps I haven’t been clear - I just want to get this label printer to print customised labels from my application 

So somehow I need to modify the bartender label file and send it to the printer (using a qz connection) 

Can you help with either aspect of that?

Shalom
On the move

On 5 Apr 2022, at 14:55, Tres Finocchiaro <tres.fin...@gmail.com> wrote:



Tres Finocchiaro

unread,
Apr 5, 2022, 11:38:04 AM4/5/22
to Shalom Solomon, qz-print
Bartender is its own product and uses its own proprietary XML format.  The PHP library you've linked is designed to work with Bartender, specifically.

Are you asking us to talk to Bartender for you to generate the label?  I do invite you to attach a sample XML file, but if it's formatted for Bartender, I'm not sure what is expected of QZ Tray in that instance.  We would have no knowledge of the Bartender format, nor would your printer.

If -- by chance -- this XML file has usable, printable data in it (for example, if it has chunks of ZPL), we could help you extract that ZPL and send it to your printer using QZ Tray, but the email history keeps mentioning XML, which isn't a format that printers would normally support.

Bartender seems to have a way to listen on a folder location and auto-print contents, which I already proposed, but that request seems to have gone ignored (or perhaps just misunderstood).

Please be as specific as possible.  We can print to just about anything, but there needs to be content to print.

Shalom Solomon

unread,
Apr 5, 2022, 12:58:28 PM4/5/22
to Tres Finocchiaro, qz-print

Hi,

 

I must have missed your comment about the folder – apologies -but I don’t see how that can help me as I am printing form a web application so cannot access the file system?

 

Firstly I made some progress and I now have the printing from you demo working

 

With regard to the XML discussion – can you just tell me what this button is then (taken from your demo page)?

 

 

Thanks

 

 

Shalom Solomon

Exceed IT

W: www.exceedit.co.uk

E:  sha...@exceedit.co.uk

T:  0203 675 4541

M: 07958 469 758

 

From: Tres Finocchiaro <tres.fin...@gmail.com>
Sent: 05 April 2022 16:38
To: Shalom Solomon <sha...@exceedit.co.uk>
Cc: qz-print <qz-p...@googlegroups.com>
Subject: Re: QZ seems to have stopped working in chrome

 

Bartender is its own product and uses its own proprietary XML format.  The PHP library you've linked is designed to work with Bartender, specifically.

Tres Finocchiaro

unread,
Apr 5, 2022, 1:47:30 PM4/5/22
to Shalom Solomon, qz-print
The XML button is intended for formats that gave raw content (such as ZPL) embedded in an XML document.

Please share yours so we can vet that option!  The example you provided didn't contain anything of the sort, but it was truncated.

I linked the FileIO feature in a previous email.

Here it is again: https://qz.io/wiki/file

Shalom Solomon

unread,
Apr 5, 2022, 2:37:06 PM4/5/22
to Tres Finocchiaro, qz-print

See below

 

Shalom Solomon

Exceed IT

W: www.exceedit.co.uk

E:  sha...@exceedit.co.uk

T:  0203 675 4541

M: 07958 469 758

 

From: Tres Finocchiaro <tres.fin...@gmail.com>
Sent: 05 April 2022 18:47
To: Shalom Solomon <sha...@exceedit.co.uk>
Cc: qz-print <qz-p...@googlegroups.com>
Subject: Re: QZ seems to have stopped working in chrome

 

The XML button is intended for formats that gave raw content (such as ZPL) embedded in an XML document.

 

Yes this is exactly what I think I need – can you tell me where I can find or give me an example of this as I think I can use this for my bartender label file as the raw content – bartender is a binary file as attached – this is basically what the PHP library I gave was doing I think.

 

Please share yours so we can vet that option!  The example you provided didn't contain anything of the sort, but it was truncated.

 

I don’t have one at the moment – that’s sort of the problem

 

I linked the FileIO feature in a previous email.

 

Here it is again: https://qz.io/wiki/file

 

I will look at this

Document1.btw

Shalom Solomon

unread,
Apr 5, 2022, 3:13:24 PM4/5/22
to Tres Finocchiaro, qz-print

I made this test page

 

https://dev.hanronjewellery.com/test.php

 

and when I click print I get this

 

This is my XML file where Document1.btw is my bartender file

 

https://dev.hanronjewellery.com/qz_sample.xml

 

any ideas?

Tres Finocchiaro

unread,
Apr 5, 2022, 3:18:17 PM4/5/22
to Shalom Solomon, qz-print
This file is not XML, it's a proprietary file created for Bartender.

  • It won't work with any printers that we are aware of
  • It won't work with any XML parsers (it's not even XML)
  • You cannot print this file without using a 3rd party software (Bartender, specifically)

The file you've attached is NOT XML either, it's a proprietary binary file format for Bartender

Although it seems to contain some blobs of PNG, it's not usable without reverse-engineering.

Please use Bartender to print this file.

If you would like to use another file format, there's a stellar online ZPL preview application here:


image.png

Shalom Solomon

unread,
Apr 5, 2022, 3:48:23 PM4/5/22
to Tres Finocchiaro, qz-print

Hi,

 

So what I need to do is print from a web application – so I understand the below but printing from Bartender itself is not a solution.

 

Lets leave bartender – is there a problem I can use to generate a ZPL label?

 

I can then simply integrate the ZPL with my web app and use code to replace placeholders with the value required?

 

 

 

Shalom Solomon

Exceed IT

W: www.exceedit.co.uk

E:  sha...@exceedit.co.uk

T:  0203 675 4541

M: 07958 469 758

 

From: Tres Finocchiaro <tres.fin...@gmail.com>
Sent: 05 April 2022 20:18
To: Shalom Solomon <sha...@exceedit.co.uk>
Cc: qz-print <qz-p...@googlegroups.com>
Subject: Re: QZ seems to have stopped working in chrome

 

This file is not XML, it's a proprietary file created for Bartender.

 

Tres Finocchiaro

unread,
Apr 5, 2022, 3:56:27 PM4/5/22
to Shalom Solomon, qz-print
Yes, quoting:

If you would like to use another file format, there's a stellar online ZPL preview application here: 
http://labelary.com/viewer.html

We also offer examples in our demo (https://demo.qz.io) and our wiki https://qz.io/wiki/raw#zpl.



Shalom Solomon

unread,
Apr 5, 2022, 4:13:37 PM4/5/22
to Tres Finocchiaro, qz-print

Ok I am finally there – thanks a lot for all your help

 

In the end I used Bartender and the printtofile option to generate a ZPL file which I can then replace the values with placeholders on

 

Thanks again

Shalom Solomon

unread,
Apr 6, 2022, 11:53:48 AM4/6/22
to Tres Finocchiaro, qz-print

Hi,

 

I have 2 queries about buying your license (were looking at the $499 one)

 

  1. If we have the license will the QZ system print without any popups at all – i.e. with the free one you have to click “ok” 2-3 times per print – we want it to just print the label with no popups.
  2. If there is an update to the software do we need to pay for the upgrade?  If there is a cost what would it be?

 

Finally if we paid the fee and it didn’t work out – e.g. there were still popups – could we get a refund?

 

Thanks

Tres Finocchiaro

unread,
Apr 6, 2022, 12:03:06 PM4/6/22
to Shalom Solomon, qz-print


I have 2 queries about buying your license (were looking at the $499 one)

 

  1. If we have the license will the QZ system print without any popups at all – i.e. with the free one you have to click “ok” 2-3 times per print – we want it to just print the label with no popups.
First, you will receive one popup, with option to remember, then no popups.

  1. If there is an update to the software do we need to pay for the upgrade?  If there is a cost what would it be?

 

No cost for upgrades.  License is good for one year however.

Finally if we paid the fee and it didn’t work out – e.g. there were still popups – could we get a refund?


We have no problem refunding, but your certificate will be immediately revoked.

Shalom Solomon

unread,
Apr 6, 2022, 12:06:11 PM4/6/22
to Tres Finocchiaro, qz-print

So just to confirm – this is an annual charge not a one off charge?

 

If we don’t renew for year 2 the certificate is revolked and we get the popups

 

Is that right?

 

Shalom Solomon

Exceed IT

W: www.exceedit.co.uk

E:  sha...@exceedit.co.uk

T:  0203 675 4541

M: 07958 469 758

 

From: Tres Finocchiaro <tres.fin...@gmail.com>
Sent: 06 April 2022 17:03
To: Shalom Solomon <sha...@exceedit.co.uk>
Cc: qz-print <qz-p...@googlegroups.com>
Subject: Re: QZ seems to have stopped working in chrome

 

 

 

I have 2 queries about buying your license (were looking at the $499 one)

Tres Finocchiaro

unread,
Apr 6, 2022, 9:30:19 PM4/6/22
to Shalom Solomon, qz-print
Revocation is rare and only occurs in the case that a private key is stolen or a refund is demanded after issuance.

The certificates are good for 1 year, or longer if multiple years are purchased.

At the end of that year, you may choose to renew (at a reduced rate) or not renew.

If you do not renew, the popups will come back. 

If you do not wish to use our support or our certificates, you may create your own:

  1. QZ Tray menu
  2. Advanced
  3. Site Manager
  4. "+"
  5. New

This certificate will only work on the PC it was generated for.

Best of regards,


Shalom Solomon

unread,
Apr 6, 2022, 9:40:02 PM4/6/22
to Tres Finocchiaro, qz-print

Thanks for this – I tried this but when I try to print it still says invalid certificate?  See screenshots

 

 

Tres Finocchiaro

unread,
Apr 6, 2022, 10:13:49 PM4/6/22
to Shalom Solomon, qz-print
Setting up the certificate is a multi step process.  We have tutorials for this on YouTube as well as our website.

Shalom Solomon

unread,
Apr 6, 2022, 10:31:47 PM4/6/22
to Tres Finocchiaro, qz-print

Thanks very much for this – I found the video and it looks straight forward – I will try it out.

Shalom Solomon

unread,
Apr 7, 2022, 12:59:55 PM4/7/22
to Tres Finocchiaro, qz-print

Firstly thank you so much – I am almost there getting this working

 

Would you be able to tell me why this link doesn’t work

 

https://dev.hanronjewellery.com/admin/remote-admin.php?m=GetTemplate&TemplateName=print_product_label&format=zpl&productId=51276&itemWeight=2

 

but this link does

 

https://dev.hanronjewellery.com/label-test/qz_sample.zpl

 

I need to generate the label with PHP hence why I need the first link – I am passing a plain/text mime type and the output to me looks identical?

Shalom Solomon

unread,
Apr 8, 2022, 5:30:09 AM4/8/22
to Tres Finocchiaro, qz-print

I just wanted to say I worked this out I think and this is now fixed – thank you so much for all your help and for this AMAZING product.

 

Shalom Solomon

Exceed IT

W: www.exceedit.co.uk

E:  sha...@exceedit.co.uk

T:  0203 675 4541

M: 07958 469 758

 

Tres Finocchiaro

unread,
Apr 8, 2022, 9:42:04 AM4/8/22
to Shalom Solomon, qz-print
I'm sure you've figured it out by now, but the former requires a login session.

Best of regards,


Shalom Solomon

unread,
Apr 8, 2022, 9:43:59 AM4/8/22
to Tres Finocchiaro, qz-print

Yes I did – thanks so much for all your help

 

I have it all working now and were just testing it.

Shalom Solomon

unread,
Apr 26, 2022, 11:37:02 AM4/26/22
to Tres Finocchiaro, qz-print

Hi,

 

I hope you don’t mind me troubling you but I have a problem and I am hoping you can help.

 

What I am doing is trying to print customised labels from my software (PHP application)

 

I achieved this by printing to file with bartender to get the ZPL content for my designed file and then replacing the bits I need to be customised with my code like below and then sending this to your QZ program – this works and the label prints

 

I have 2 problems:

  1. In the designer I centred my label but when its printed I think its being positioned from the left – so if my content is a different width to the placeholder its not centred
  2. If I use a non-citizen font (I have a citizen printer) then the content is encoded so I cannot update it – it just looks like some sort of encoded string.

 

Is this something you could help me with at all?

 

Thanks for your time as always.

 

 

<xpml><page quantity='0' pitch='25.0 mm'></xpml>^XA

^SZ2^JMA

^MCY^PMN

^PW398

~JSN

^JZY

^LH0,0^LRN

^XZ

<xpml></page></xpml><xpml><page quantity='1' pitch='25.0 mm'></xpml>^XA

^FO4,87

^BY4^BCN,64,N,N^FD>;<?php echo $productItem->Barcode.($productItem->ItemWeight?$barcodeWeight:'0000') ?>^FS

^FT129,182

^CI0

^A0N,34,23^FD<?php echo $productItem->Barcode.($productItem->ItemWeight?$barcodeWeight:'0000') ?>^FS

^FT100,69

^A0N,45,29^FD<?php echo $productItem->ItemCode.($productItem->ItemWeight?" {$productItem->ItemWeight}g":''); ?>^FS

^PQ1,0,1,Y

^XZ

<xpml></page></xpml><xpml><end/></xpml>

 

 

 

Shalom Solomon

Exceed IT

W: www.exceedit.co.uk

E:  sha...@exceedit.co.uk

T:  0203 675 4541

M: 07958 469 758

 

From: Tres Finocchiaro <tres.fin...@gmail.com>

Sent: 08 April 2022 14:42

Lite Finocchiaro

unread,
Apr 26, 2022, 2:43:49 PM4/26/22
to Shalom Solomon, Tres Finocchiaro, qz-print
Shalom:

No problem. It would be nice to change the subject of the email for searchability, though. :)

a. If your ZPL isn't aligning properly to your label stock, the most likely cause is the printer's calibration. ZPL assumes a 0,0 coordinate based on the expected label paper. If the labels were changed to a different size without calibration, or if the printer was reset to factory settings, this can cause unwanted whitespace or improper placement of the text/barcodes.

I am not an expert with regards to Citizen printers, but if yours can parse ZPL commands, I would expect a similar effect. All the Zebra printers I have worked with are center-justified. This may be a firmware or driver setting for your Citizen printer.

There may also be a problem with regards to the printers print density, also known as DPI. ZPL commands intended for a 300 DPI printer will appear larger on a 203 DPI printer, for example.

An excellent resource for testing your ZPL with varying label sizes and DPI settings is labelary.com:


b. With regards to the fonts, you must choose a font that is supported by the printer's firmware. There is only one font in FGL that accepts French accents, for example (different PCL, different printer, but still a similar problem).

If you're using QZ-Tray to send this data (I assume you are), then make sure you use the encoding abilities available to Java as well as those available to the printer. Not all code pages will be the same for both Java and the printer's firmware.

Again, I do not know which model printer you have, but the user manual should list all available fonts/code pages.

We don't have a lot of requests for different fonts or code pages in ZPL, but we did get a printer capable of Simplified Chinese to print the correct characters. We have multiple examples with regards to ESC/POS (thermal receipt printers).


If you'd like to tell me more about the data you're sending and the make/model printer, I may be able to give you more information, but it should be available in the ZPL programming guide and printer user manual. :)

Regards,

Lite Finocchiaro
VP, QZ Industries




--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/73CA1DC552AC6F4F8C5CDE69D3082B840175EB96E9%40mail1.
Reply all
Reply to author
Forward
0 new messages