tkalactomo / jzebra

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

Prinitng PDF file to thermal / laser printers #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I tried using the jzebra applet (1.4.1) to print a 4" x 6" PDF label file to a 
thermal printer (Zebra LP2844) and got strange results:

Only a quarter of the label prints (rest of the label is blank), and also the 
label seems to be pushed over to the right by about 1/2 an inch. If I open up 
the same label in PDF reader and print it to the same printer, it prints 
absolutely fine - the complete label prints and there is no margin issue.

I tried printing same label to a laser printer (page size: 8.5x11, portrait, no 
scaling and no centering or rotation) and it prints fine on the LH top, except 
that there is small margin (about 0.2" on all sides of the page) and this 
portion of the label does not print.

I was using your sample application to print the label using Chrome on Windows 
XP

What steps will reproduce the problem?
1. The step above using your sample app and a 4x6" PDF label
2. Using the Print PDF button after changing the printer name and label file 
name
.
What is the expected output? What do you see instead?
On thermal Zebra LP2844, would expect the whole label to print - the same as 
when I opened the label in PDF Reader and sent it to the printer

What version of the product are you using? On what operating system?
jzebra 1.4.1 on Windows XP using Chrome

I though based on the documentation that both the scenarios described above 
were handled by jzebra. Can you tell me what the issue may be and what I need 
to do to address it.

Original issue reported on code.google.com by aloken...@gmail.com on 14 Jun 2012 at 4:39

GoogleCodeExporter commented 9 years ago
I'm pretty sure this is a duplicate of Issue 42, although I had confirmation 
that it was fixed by rvtecrvtec in version 1.3.4.

I doubt you are doing anything wrong.  The way Java handles print margins isn't 
the greatest, and only seems to be effective on Windows.

Can you just confirm this same issue exists on 1.3.4 so that I know it's not a 
bug introduced with a recent update?

-Tres

Original comment by tres.fin...@gmail.com on 14 Jun 2012 at 5:01

GoogleCodeExporter commented 9 years ago
@alokenath:  Version 1.4.5 adds support for defining a page size for image 
printing.  This support needs to be extended to PDF printing.  If you need this 
feature soon, please email me tres.finocchiaro@gmail.com and we can make an 
arrangement to expedite this.

-Tres

Original comment by tres.fin...@gmail.com on 22 Aug 2012 at 6:14

GoogleCodeExporter commented 9 years ago

Original comment by tres.fin...@gmail.com on 22 Aug 2012 at 6:14

GoogleCodeExporter commented 9 years ago
Yes, this would help greatly, assuming it solves the issue of printing PDFs to 
both zebra and laser printers.

Will this address the original printing issue I mentioned to both zebra and 
laser printers.

Aloke

Original comment by aloken...@gmail.com on 23 Aug 2012 at 6:39

GoogleCodeExporter commented 9 years ago
@alokenath: Are you currently printing PDFs to Zebra printers?  Most use raw 
printing for this.

-Tres

Original comment by tres.fin...@gmail.com on 23 Aug 2012 at 7:38

GoogleCodeExporter commented 9 years ago
Yes, we unfortunately need this for one of the external services we use that 
only supports PDF printing. Hence we are forced to send PDFs to Zebra printers. 
We use raw printing in all other cases, and this works great!

Aloke

Original comment by aloken...@gmail.com on 23 Aug 2012 at 7:46

GoogleCodeExporter commented 9 years ago
Issue 218 has been merged into this issue.

Original comment by tres.fin...@gmail.com on 26 Aug 2014 at 12:33

GoogleCodeExporter commented 9 years ago
Hi we are building a web that should automatically print PDFs and have run into 
similar issue here i think. See attached screenshot where left part of the pdf 
is not printed (or replaced by empty margin).
Any thoughts?

Original comment by wei...@gmail.com on 25 Jan 2015 at 7:00

Attachments: