JZebra version upgrade

4 views
Skip to first unread message

Elnur JAFARLI

unread,
Apr 3, 2024, 4:15:49 AMApr 3
to qz-p...@googlegroups.com

Hi Dear All,

 

We are using your software in out opentext project. But I think in-use jzebra.jar file is outdated and works only in internet explorer.

 

After a little bit exploring I recognized that new version file name is qz-tray.jar. Is it okay to replace old file with qz-tray.jar file?

Kind regards,

Elnur JAFARLI
Application consultant
Application development and inteqration

"Caspian Innovation Center"LLC

27A, Afiyaddin Jalilov str, Park Azure,
AZ1025, Baku, Azerbaijan
t:   + 994 (12) 521 06 06

e:  elnur....@caspianic.com

www.caspianic.com

cid:image002.png@01D6E447.6F9C6620 cid:image003.png@01D6E447.6F9C6620

CIC is committed to a sustainable planet. For saving of paper we are suggesting to store this e-mail electronically if possible. Before printing, please consider your environmental responsibility.

This e-mail and any attachments are CONFIDENTIAL and may contain legally privileged information. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. Although CIC believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and CIC does not accept any responsibility for any loss or damage arising in any way from its use. Finally, you should be aware that CIC reserves the right and intends to intercept and monitor incoming and outgoing e-mail correspondence, so you should not expect any e-mail communication to be private in nature.

Tres Finocchiaro

unread,
Apr 3, 2024, 10:46:23 AMApr 3
to Elnur JAFARLI, qz-p...@googlegroups.com
Hi,

There is no direct replacement for jzebra since all major browsers have blocked NPAPI and/or ActiveX plugins.

Instead you will need to migrate your system to QZ Tray, which is a standalone Desktop Application.




--
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/753c81935a6f4ea38b2f285a78aea2d7%40caspianic.com.

Elnur JAFARLI

unread,
Apr 5, 2024, 2:14:23 AMApr 5
to Tres Finocchiaro, qz-p...@googlegroups.com

Hi,

 

I want to show you our deprecated code below:

 

<applet name="jzebra" id="jzebra" code="jzebra.PrintApplet.class" archive="`.ModImg('socarforms')`jzebra.jar" width="1px" height="1px">

      <param name="printer" value="zebra">

                </applet><br />

-------------------------------------------------------------------------------

var command = "`data.zebraCommand`";

                                                command = command!="" ? command: "^XA^LH100,50^CWT,E:TAH000.FNT^CFT,30,30^CI28^FO0,0^BQN,2,6^FH^FDMM,B0050#regnum#^FS^FO0,200^AT,30^FH^FD#regnum#^FS^XZ\n";

 

                                                var registNum = convertCharStr2UTF8( registNum1 );

                                                while (command.indexOf('#regnum#')>=0){

                                                                command = command.replace('#regnum#',registNum);

                                                }

 

                                                var applet = document.getElementById("jzebra");

 

                                                                if (applet != null)

                                                                {

                                                                                try{

                                                                                                applet.findPrinter();

                                                                                                applet.append(command);

 

                                                                                                applet.print();

                                                                                }

                                                                                catch(err){

                                                                                                                ret = false;

                                                                                                                txt="There was an error on this page.\n";

                                                                                                                txt+="Error description: " + err.message + "\n";

                                                                                                                txt+="Click OK to continue.\n";

                                                                                                                alert(txt);

                                                                                                                return ret;

                                                                                }

                                                                }

As you see, previously we were using jzebra.jar classes.

Now, the question is that can I do with qz-tray.jar something like this?

 

Kind regards,

Elnur JAFARLI
Application consultant
Application development and inteqration

"Caspian Innovation Center"LLC

27A, Afiyaddin Jalilov str, Park Azure,
AZ1025, Baku, Azerbaijan
t:   + 994 (12) 521 06 06

e:  elnur....@caspianic.com

www.caspianic.com

cid:image002.png@01D6E447.6F9C6620 cid:image003.png@01D6E447.6F9C6620

CIC is committed to a sustainable planet. For saving of paper we are suggesting to store this e-mail electronically if possible. Before printing, please consider your environmental responsibility.

This e-mail and any attachments are CONFIDENTIAL and may contain legally privileged information. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. Although CIC believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and CIC does not accept any responsibility for any loss or damage arising in any way from its use. Finally, you should be aware that CIC reserves the right and intends to intercept and monitor incoming and outgoing e-mail correspondence, so you should not expect any e-mail communication to be private in nature.

From: Tres Finocchiaro <tres.fin...@gmail.com>
Sent: Wednesday, April 3, 2024 6:46 PM
To: Elnur JAFARLI <elnur....@caspianic.com>
Cc: qz-p...@googlegroups.com
Subject: [EXTERNAL] Re: JZebra version upgrade

 

DİQQƏT: Bu e-mail şirkət xaricindən göndərilib. Təhlükəsizliyindən əmin olmadığınız e-mail ilə bağlı ce...@socar.az ünvanına müraciət etməyiniz və ya Report düyməsini istifadə etməyiniz xahiş olunur.



Hi,

 

There is no direct replacement for jzebra since all major browsers have blocked NPAPI and/or ActiveX plugins.

 

Instead you will need to migrate your system to QZ Tray, which is a standalone Desktop Application.

 

Here's a quickstart guide: https://www.youtube.com/watch?v=wKIY4gqkIFE

 

 

 

On Wed, Apr 3, 2024 at 4:15AM 'Elnur JAFARLI' via qz-print <qz-p...@googlegroups.com> wrote:

Hi Dear All,

 

We are using your software in out opentext project. But I think in-use jzebra.jar file is outdated and works only in internet explorer.

 

After a little bit exploring I recognized that new version file name is qz-tray.jar. Is it okay to replace old file with qz-tray.jar file?

Kind regards,

Elnur JAFARLI
Application consultant
Application development and inteqration

"Caspian Innovation Center"LLC

27A, Afiyaddin Jalilov str, Park Azure,
AZ1025, Baku, Azerbaijan

t:   + 994 (12) 521 06 06

e:  elnur....@caspianic.com

CIC is committed to a sustainable planet. For saving of paper we are suggesting to store this e-mail electronically if possible. Before printing, please consider your environmental responsibility.

This e-mail and any attachments are CONFIDENTIAL and may contain legally privileged information. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. Although CIC believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and CIC does not accept any responsibility for any loss or damage arising in any way from its use. Finally, you should be aware that CIC reserves the right and intends to intercept and monitor incoming and outgoing e-mail correspondence, so you should not expect any e-mail communication to be private in nature.

Tres Finocchiaro

unread,
Apr 5, 2024, 2:29:30 AMApr 5
to Elnur JAFARLI, qz-print
Hi,

My previous email has all the information needed.

Here's the raw tutorial, specifically:

Reply all
Reply to author
Forward
0 new messages