<image001.jpg>Dear Tres,
I need to print the barcode by using .prn file, printer is “Argox OS-2140 PPLA” it is connected to USB port, server side OS is LINUX and client side OS is windows. I have tried number of code to print barcode, but didn’t get any success, then I get Zebra open source code, when I read the specification it raises my hope. And when i tried this code, it showed me success message but nothing printed out.
Please suggest me what need to try for barcode printing in this scenario.
Regards,
Gurpreet Panesar
function printFile() {
var applet = document.jZebra;
if (applet != null) {
// Using jZebra's "appendFile()" function, a file containg your raw EPL/ZPL
// can be sent directly to the printer
// Example:
// applet.appendFile("http://yoursite/zpllabel.txt"); // ...etc
applet.appendFile(window.location.href + "/../zpl.txt");
applet.print();
}
monitorPrinting();
}
Dear Tres,
Sample of prn file is attached, we are using PHP as a server side language. We are using one time generated prn file and read it through PHP and only update the text that need to print rest by keeping the other specification same(means we update the prn file through php).
The prn file contains size, text and font of printer etc.
Please suggest..
Regards,
Gurpreet Panesar
From: Tres Finocchiaro [mailto:tres.fin...@gmail.com]
Sent: Friday, September 30, 2011 6:09 PM
To: Gurpreet Panesar
Cc: jzebra...@googlegroups.com
Subject: Re: Argox printer problem
Grupreet,
Can you explain in detail how you are using jzebra to print a prn file? It would also help if we have a sample of the prn file.
For example, does the prn file contain barcode only, or all print commands? Are you generating the prn file, or is it supplied by a 3rd party?
I think we can help. I'm certain jzebra can help. Please direct any answers to jzebra...@googlegroups.com.
-Tres
On Sep 30, 2011, at 5:26 AM, "Gurpreet Panesar" <gurpreet...@coxandkings.com> wrote:
<image001.jpg>
Dear Tres,
I need to print the barcode by using .prn file, printer is 鈥淎rgox OS-2140 PPLA鈥? it is connected to USB port, server side OS is LINUX and client side OS is windows. I have tried number of code to print barcode, but didn鈥檛 get any success, then I get Zebra open source code, when I read the specification it raises my hope. And when i tried this code, it showed me success message but nothing printed out.
Please suggest me what need to try for barcode printing in this scenario.
Regards,
Gurpreet Panesar
Dear Tres,
I am using the same code, It is showing me “Print Successfully” message, but nothing printed out.
Please suggest.
Dear Tres,
We have tried to print simple text instead of content of prn file, it showed me the “successful printing” but nothing is printed out from the printer,
We are using “Argox OS-2140” printer. It might be possible, this printer has different instruction set for printing than Zebra.
Dear Tres,
Programming guide for this printer is attached.
Please have a look and share your view.
Regards,
Gurpreet Panesar
From: Tres Finocchiaro [mailto:tres.fin...@gmail.com]
Sent: Wednesday, October 12, 2011 6:05 PM
To: Gurpreet Panesar; jzebra...@googlegroups.com
Subject: Re: Argox printer problem
Gurpreet,
Some quick research on the internet shows your printer uses PPLZ as a printer language. I have not heard if this before.
Unfortunately I cannot find a programmers guide for this language.
1. Can you link a PPLZ guide to the mailing list so that we can further help you?
2. Who provided you with the PRN file that is supposed to work? Do they support your model printer.
-Tres
On Oct 12, 2011, at 3:17 AM, "Gurpreet Panesar" <gurpreet...@coxandkings.com> wrote:
Dear Tres,
We have tried to print simple text instead of content of prn file, it showed me the 鈥渟uccessful printing鈥?but nothing is printed out from the printer,
We are using 鈥淎rgox OS-2140鈥?printer. It might be possible, this printer has different instruction set for printing than Zebra.
Please suggest.
Regards,
Gurpreet Panesar
From: Tres Finocchiaro [mailto:tres.fin...@gmail.com]
Sent: Monday, October 10, 2011 6:57 PM
To: Gurpreet Panesar
Cc: jZebra users
Subject: Re: Argox printer problem
Gupreet,
The most common cause is invalid or missing characters in the PRN file.
I noticed the sample that you attached in the original email is missing a newline character or carriage return after the last command. Is this intentional?
Did you create this file, or is it supplied by a third party? I would recommend doing applet.append("\n"); or equivelant before printing.
-Tres
2011/10/10 Gurpreet Panesar <gurpreet...@coxandkings.com>
Dear Tres,
I am using the same code, It is showing me 鈥?/span>Print Successfully鈥?/span> message, but nothing printed out.
-Tres
2011/10/7 Gurpreet Panesar <gurpreet...@coxandkings.com>
<image001.jpg>
Dear Tres,
I need to print the barcode by using .prn file, printer is 閳ユ穾rgox OS-2140 PPLA閳?/span>? it is connected to USB port, server side OS is LINUX and client side OS is windows. I have tried number of code to print barcode, but didn閳ユ獩 get any success, then I get Zebra open source code, when I read the specification it raises my hope. And when i tried this code, it showed me success message but nothing printed out.
Please suggest me what need to try for barcode printing in this scenario.
Regards,
Gurpreet Panesar
<Programming_Guide_V2.pdf>
document.jZebra.setEncoding("cp1252");
Or
document.jZebra.setEncoding("cp866");-Tres
Dear Tres,
I have few more programming guides. Please check the attached document.
Actually this file is working with windows environment, but it is not working in LINUX environment.
Dear Tres,
We have tried to print simple text instead of content of prn file, it showed me the 閳ユ笩uccessful printing閳?/span>?but nothing is printed out from the printer,
We are using 閳ユ穾rgox OS-2140閳?/span>?printer. It might be possible, this printer has different instruction set for printing than Zebra.
Please suggest.
Regards,
Gurpreet Panesar
From: Tres Finocchiaro [mailto:tres.fin...@gmail.com]
Sent: Monday, October 10, 2011 6:57 PM
To: Gurpreet Panesar
Cc: jZebra users
Subject: Re: Argox printer problem
Gupreet,
The most common cause is invalid or missing characters in the PRN file.
I noticed the sample that you attached in the original email is missing a newline character or carriage return after the last command. Is this intentional?
Did you create this file, or is it supplied by a third party? I would recommend doing applet.append("\n"); or equivelant before printing.
-Tres
2011/10/10 Gurpreet Panesar <gurpreet...@coxandkings.com>
Dear Tres,
I am using the same code, It is showing me 閳?/span>?/span>Print Successfully閳?/span>?/span> message, but nothing printed out.
-Tres
2011/10/7 Gurpreet Panesar <gurpreet...@coxandkings.com>
<image001.jpg>
Dear Tres,
I need to print the barcode by using .prn file, printer is 闁炽儲绌?/span>rgox OS-2140 PPLA闁?/span>?/span>? it is connected to USB port, server side OS is LINUX and client side OS is windows. I have tried number of code to print barcode, but didn闁炽儲鐛?/span> get any success, then I get Zebra open source code, when I read the specification it raises my hope. And when i tried this code, it showed me success message but nothing printed out.
Please suggest me what need to try for barcode printing in this scenario.
Regards,
Gurpreet Panesar
<Programming_Guide_V2.pdf>
<PT-80_Programming_winCE5.0_V1.pdf>
<PT-60_Basic_Programmin_manual_WinCE5_EN_V12_100107.pdf>