jldubz / jzebra

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

PDF documents not fully printed #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. useDefaultPrinter()
2. appendPDF(pdffile)
3. monitorAppending2()

What is the expected output? What do you see instead?
Full pdf document printed in a Samsung Laser printer

What version of the product are you using? On what operating system?
qz-print-free 1.7.0

Please provide any additional information below.
I'm having problems with the latest versions. Using jZebra-1.4.7 no problem. 
The issue is that using the latest qz-print-free version, when I send the pdf 
file to print with appendPDF and printPS, the document is not fully printed, 
just the half of it aproximatelly. The same code for both jZebra_1.4.7 and 
qz-print-free_1.7.0 has a different result.

Any idea??
Thanks in advance

Original issue reported on code.google.com by jorge.s...@sancotec.com on 1 Nov 2013 at 12:32

GoogleCodeExporter commented 9 years ago
Version 1.7.0 had some minor changes to the way PDFs print, but I just tried a 
24 page PDF with graphics and different fonts and it prints fine.

Can you email me a copy of the PDF that's causing grief so I can reproduce this?

tres.finocchiaro@gmail.com

-Tres

Original comment by tres.fin...@gmail.com on 1 Nov 2013 at 3:50

GoogleCodeExporter commented 9 years ago
Hi Tres,

attached you can find the PDF I use for testing. All my PDF's are generated
dinamically with TCPDF.
Thanks in advance!!!
Best regards,

Jorge

-- 
________________________________________________________________________________
_______________________________________________________________

NOTA: La informaci�n contenida tanto en este email, como en los documentos
adjuntos, es informaci�n confidencial y privada para uso exclusivo de la
persona o personas a las que va dirigido. No est� permitido el acceso a
este mensaje a cualquier otra persona distinta a los indicados. Si no es
uno de los destinatarios o ha recibido este mensaje por error, cualquier
duplicaci�n, reproducci�n, distribuci�n, as� como cualquier uso de la
informaci�n contenida o cualquiera otra acci�n tomada en relaci�n con el
mismo, est� prohibida y puede ser ilegal.
DISCLAIMER: This message contains confidential information. Its contents
are protected by law. It is intended solely for the use of the individual
or entity to whom they are addressed. If you are not the named addressee
you should not use, disseminate, or print the contents of this e-mail. If
you have received this email in error please notify immediately to the
sender, and erase the message and attached files.

Original comment by jorge.s...@sancotec.com on 1 Nov 2013 at 3:54

GoogleCodeExporter commented 9 years ago
@Jorge:

I've run the applet against your sample pdf (thank you) and confirmed the bug 
you have reported.

I'm fairly confident I know what is causing this... This is what I see in the 
debug log:
> INFO: Using image at "natural" resolution  595.0px 595.0px scaled to 8in x 
8in (assumes 72dpi)

Do you know if TCPDF has an option to set up the page dimensions?  For some 
reason the applet is having a hard time determining the dimensions.

-Tres

Original comment by tres.fin...@gmail.com on 1 Nov 2013 at 6:16

GoogleCodeExporter commented 9 years ago
I was able to confirm this issue exists with 1.7.0 but not with 1.5.6.  I will 
review the code changes and attempt to fix this with release 1.7.3.

-Tres

Original comment by tres.fin...@gmail.com on 1 Nov 2013 at 9:05

GoogleCodeExporter commented 9 years ago
Found and fixed in 1.7.3.

-Tres

Original comment by tres.fin...@gmail.com on 2 Nov 2013 at 2:56