nini9140 / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

Print to USB Port #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello:

 My name id Dionel. I'm using your solution to print directly to printer from POS App. It works very good with Parallel Port's Printers, but it does not work for Printers connected via USB. I have an HP 1020 LaserJet, and I have a client with an Epson Stylus Color and in both it does not work. The icon of Printer in Windows (XP) appear in systray like is printing, but it does not print anything. 

 I use: 1-Windows XP, 2-Google Chrome, 3-Java v6 update 31 and 4- jZebra Applet v1.3.5

 In the attachments are the print screens with the moment of printing (simulation).

PS: By the way I download the v1.3.5 and in the launch.html page is written 
v1.3.4 (It is not updated).

Original issue reported on code.google.com by dionel1...@gmail.com on 23 Mar 2012 at 2:34

Attachments:

GoogleCodeExporter commented 9 years ago
Are you trying to print Raw data to a LaserJet?  If so, that won't work.

You can send HTML formatted text to it though, using printHTML()

http://code.google.com/p/jzebra/wiki/TutorialWebApplet#HTML_Printing

-Tres

Original comment by tres.fin...@gmail.com on 24 Mar 2012 at 1:07

GoogleCodeExporter commented 9 years ago
OK, I will check it.

Thank you.

Original comment by dionel1...@gmail.com on 26 Mar 2012 at 2:20

GoogleCodeExporter commented 9 years ago
Ok. Now I could print to a LaserJet printer, but after checking the code I 
discovered that the name of the printer to print is tied to "zebra". I 
installed a printer named "zebrajet" and tried to use it as well to print and 
could not print. Finally I had to change the name "zebrajet" to "zebra" to 
print.
I have a situation: A customer that I have prints the receipts in 4-inch 
printers, but prints Notary Notes in 8 inches Jet Printers in the same machine. 
Then it would be nice to define more than one printer, at least 2 at the same 
time: One for Raw Printing and other for PDF, Jet Printing, etc...
I changed the original code of launch.html page for testing purpose of using 
"zebrajet" name and it does not work.

Original comment by dionel1...@gmail.com on 3 Apr 2012 at 1:47

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry for multiple replies, accidentally posted under my wife's login.

Thanks for the detailed bug report.

What you most recently describe sounds like a duplicate of Issue 49.  There 
seems to be something wrong with switching printers especially in regards to 
LaserJet printing.  This should be easily reproducible from my end.

The original bug you submitted (this bug) I think can be closed.

If Issue 49 bug for selcting printers needs to be expedited, please email me 
tres.finocchiaro@gmail.com and we can make arrangements.

-Tres

Original comment by tres.fin...@gmail.com on 3 Apr 2012 at 5:24

GoogleCodeExporter commented 9 years ago
Thank you for your answer.

I was reading "Issue 49" and it is more or less the same: Print to different 
printers, but not at the same time, the printing processes are at different 
moment. Then you can close this and I will keep reading the other thread.

Thank you so much.

Original comment by dionel1...@gmail.com on 3 Apr 2012 at 8:03

GoogleCodeExporter commented 9 years ago
Closing and marking as invalid.  Some USB printers need a second raw driver 
installation to the original port to function properly.

The switching printers bug was fixed in version 1.4.1, Issue 49.

Please reopen this bug report if it was closed in error.

Original comment by tres.fin...@gmail.com on 2 Jul 2012 at 2:39