QZ Tray v2.1.0-RC1 / PrintHTML full page problem

1,406 views
Skip to first unread message

Baudouin LAMOURERE

unread,
Aug 9, 2017, 5:54:16 AM8/9/17
to qz-print, bob...@hotmail.com

Hello everybody!

I was trying to use the PrintHTML function from QZ Tray 2.0.4 and noticed that there was an issue with the rasterize option (all blurry)...
I then read that the 2.1 (still getting developped) was going to correct this issue (blurry print)... so I downloaded the 2.1.0-RC1 and gave it a try...

Nice suprise, the quality of the HTML print is now great!
Yihaaa... but ... when printing any HTML with this version I cannot get the result to fill a full A4 page.

I am using
- Windows 10 64b
- Firefox 54.01 (32bits)
- java  1.8.0_144 x86_64 (Oracle)

Easy test: use the sample page, and try to print HTML to Microsoft print to PDF

Options: I tried everything... without margins (I checked the driver too...), giving A4 dimensions (210mm x 297mm) to size & rendering, scaleContent on/off, always with rasterize OFF...

Clear example:

2017-08-09 11:32:44,322 [DEBUG] Message: {"call":"print","promise":{},"params":{"printer":{"name":"Microsoft Print to PDF"},"options":{"colorType":"color","copies":"1","density":"","duplex":false,"fallbackDensity":600,"interpolation":"","jobName":"","margins":{"top":"0","right":"0","bottom":"0","left":"0"},"orientation":"","paperThickness":"","printerTray":"","rasterize":false,"rotation":"0","scaleContent":false,"size":{"width":"210","height":"297"},"units":"mm","altPrinting":false,"encoding":"","endOfDoc":"","perSpool":"1"},"data":[{"type":"pixel","format":"html","flavor":"plain","data":"<html style=\"font-family: monospace; border: 1px solid #000;\">    <div style=\"float: left; margin-left: .5em;\">        <h2>* QZ Tray HTML Sample Print *</h2>        <p>            <span style=\"color: #D00;\">Version:</span> 2.1.0-RC1<br/>            <span style=\"color: #D00;\">Source:</span> https://qz.io/        </p>    </div>    <div style=\"float: right\">        <img src=\"file:///C:/Program%20Files/QZ%20Tray/demo/assets/img/image_sample.png\" />    </div></html>","options":{"pageWidth":"210","pageHeight":"297"}}]},"timestamp":1502271164306,"uid":"ktni8x"}

You can check the generated PDF file (attached)... and you will see that I can't get it to fill 100% of the page...
Am I doing something wrong here?

Many thanks in advance for your help,
and pleaaaaaaase, keep up the good work !!! ;)

Baudouin
temp2.pdf

Baudouin LAMOURERE

unread,
Aug 9, 2017, 8:24:02 AM8/9/17
to qz-print, bob...@hotmail.com
actually to make it easier:
when using the print HTML, with "Rasterize = OFF" (by default in 2.1RC1), the result never fits on the full page (on HP c4380 printer AND on Microsoft Print to pdf printer)...
*and now my printer just died on me ! aaaaarrrrrggggh :'(.... just ordered a new one! will keep testing tomorrow!*

Kyle La Barge

unread,
Aug 9, 2017, 11:58:24 PM8/9/17
to Baudouin LAMOURERE, qz-print, bob...@hotmail.com
Hi Baudouin,

so I downloaded the 2.1.0-RC1 and gave it a try..
Can I ask where you downloaded this RC? If you downloaded it from here, the installers are missing many HTML code changes.

I was able to reproduce your issue on the version I linked. I have compiled the latest changes from 2.1 and I was unable to reproduce your issues with A4 printing. I have uploaded the installers here for your convenience.

Can you please let me know if you experience issues with the latest compiled version?

Kyle LaBarge

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Baudouin LAMOURERE

unread,
Aug 10, 2017, 3:55:42 AM8/10/17
to qz-print, bob...@hotmail.com
Hi Kyle,

Thanks for your reply!!!
indeed, that's where I got the 2.1.0RC1 from...

I just tried with your version and it now prints HTML perfectly in full page !!! (the only weird thing is that now there are 2 Print HML buttons in the sample page: 1 in raw printing, and one in pixel printing... The one in pixel printing works perfectly, abut the raw printing version generates a 0kb pdf file (if I print with "Microsoft print to PDF"))...
I hope this helps ;)

Thanks again,
Baudouin

Baudouin LAMOURERE

unread,
Aug 10, 2017, 3:58:17 AM8/10/17
to qz-print, bob...@hotmail.com
I just spotted that the raw printing might not work with the Microsoft print to pdf printer... ;)

Baudouin LAMOURERE

unread,
Aug 10, 2017, 5:18:42 AM8/10/17
to qz-print, bob...@hotmail.com
Hi Kyle, I have more information (all tests are done with the sample page - pixel printing / print HTML / default options)
When I first tried to print via "Microsoft print to PDF" printer, it went fine... perfectly fullpage! Yeah!!!!
I then tried to print on my HP C4380, and for some reason it's only printing on HALF of the width of the A4 page...
I tried to figure out why (changing sizes and so on), and it seems that qz tray is not picking up the printer resolution "correctly"... when I list the printer details through the sample page, it tells me that the C4380 is set to 300x300 dpi...
So, I tried the print with the density set to 600 and then it printed full page...

Am I doing anything wrong here?
Should QZ Tray not pick up the correct default DPI from the registry?

This printer can go up to 1200DPI...
by default it is set (in control panel) to print in "garbage mode" to limit the ink... (I guess that's the 300DPI)
when I try to increase the printing quality to normal (600) or best (1200) and then list the printer properties from the sample page, it always reads 300x300 ... should this not change?

Thanks in advance for your help
Baudouin

Baudouin LAMOURERE

unread,
Aug 10, 2017, 6:23:16 AM8/10/17
to qz-print, bob...@hotmail.com
Dammit... me again !!!

In order for QZ Tray to be able to pickup the "updated control panel resolution", it has to be restarted...
If I don't restart QE Tray, and that I try to update the default printer resolution to whatever (quick/medium/hi), then QZ Tray doesn't reflect any of the changes...
Once you restart it, it then works !!!

I don't know how the code works, but it would be nice to get this info "not cached"...

Thanks again for our help and sorry for the "there is a bug thing" when the problem was actually between the chair and the keyboard...

Baudouin

Kyle La Barge

unread,
Aug 10, 2017, 5:48:54 PM8/10/17
to Baudouin LAMOURERE, qz-print, bob...@hotmail.com
Hi Baudouin,

I'm glad you were able to figure it out.

This printer can go up to 1200DPI... 
by default it is set (in control panel) to print in "garbage mode" to limit the ink... (I guess that's the 300DPI)
The software does attempt to grab the DPI that is set in the driver. If "garbage mode" is actually a setting in your driver, this is something we wouldn't be able to detect. If you want to handle this in your environment, you can set the fallbackDensity to something sane (perhaps 600DPI) if the software is unable to read the density that is set.

I don't know how the code works, but it would be nice to get this info "not cached"...
Agreed, I will bring this to our developers attention. 

Kyle LaBarge

--

Baudouin LAMOURERE

unread,
Aug 11, 2017, 3:51:56 AM8/11/17
to qz-print, bob...@hotmail.com
Hi Kyle!
Thanks for your answer!

One thig is puzzling me a bit...

(when I said "garbage" I meant "draft", which lowers the density to 300dpi)

Let's say that by default a printer (with a default 600dpi) is set to draft 300DPI for all printouts in the control panel.
When printing with QZ Tray, the resolution in this case that is picked up is 300DPI (correct).
Problem: if I don't provide any width or density to QZ Tray, the printout only takes half of the width of an A4... is this normal? (when windows prints in full page at 300dpi)

My solution was to reset everything to default in the control panel, thus setting the printer DPI back to 600 (but then all my printouts in Windows will not be using 300dpi draft settings by default).

Could you please let me know if that is a "bug" or a normal behaviour (and in that case, what am I doing wrong?)


Many thanks in advance for your help,
Baudouin

Kyle La Barge

unread,
Aug 11, 2017, 8:58:09 PM8/11/17
to Baudouin LAMOURERE, qz-print, bob...@hotmail.com
Hi Baudouin,

Problem: if I don't provide any width or density to QZ Tray, the printout only takes half of the width of an A4... is this normal? (when windows prints in full page at 300dpi)
This is not normal. I cannot reproduce this using our sample.html with the HTML print function. I tested 72, 300, and 600 dpi and all printed the same size. Are you able to reproduce this with our sample page?

Can you provide us with the tray logs for 600dpi and 300dpi printing? Additionally, if you can provide us with a reproducible sample page, that would be beneficial.

Also, do you have the A4 size set in the driver (Printer properties > Preferences > Advanced)?
 
Thanks,

Kyle LaBarge

--

Baudouin LAMOURERE

unread,
Aug 13, 2017, 5:06:02 AM8/13/17
to qz-print, bob...@hotmail.com
Hi Kyle,

here are the steps I am following...

Note:
I restart QZ Tray between each test to make sure it picks up the new default DPI from the control panel
I use the default QZ Tray sample page / Pixel printing / default settings
The A4 size is definitely set correctly in the control panel driver

I have attached a photo of both joined A4 printouts.

Test 1 / printer reset to defaults / standard quality / 600 DPI OK:

debug.log:
2017-08-13 10:46:17,291 [INFO] Starting QZ Tray 2.1.0-RC1
2017-08-13 10:46:18,260 [DEBUG] Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1, /v, Flags]
2017-08-13 10:46:18,307 [DEBUG] Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\ExperimentalFeatures, /v, AllowLocalhostLoopback]
2017-08-13 10:46:18,729 [INFO] Main properties file C:\Program Files\QZ Tray\qz-tray.properties
2017-08-13 10:46:18,885 [DEBUG] Using trusted root certificate: CN=qzindustries.com, O=QZ Industries, LLC (8ef2c0b2fe3f75754245b3fb9d54c0caa1b46bb3)
2017-08-13 10:46:18,932 [INFO] Loading CRL from https://crl.qz.io
2017-08-13 10:46:19,947 [DEBUG] User agent string for URL requests: Mozilla/5.0 (Windows NT 10.0; x86_64) QZTray/2.1.0 Java/1.8
2017-08-13 10:46:20,010 [DEBUG] Checking for a running instance of QZ Tray on port 8283
2017-08-13 10:46:20,150 [DEBUG] Checking for a running instance of QZ Tray on port 8384
2017-08-13 10:46:20,166 [DEBUG] Checking for a running instance of QZ Tray on port 8485
2017-08-13 10:46:20,213 [INFO] Server started on port(s) 8182, 8181
2017-08-13 10:46:20,275 [INFO] Connection opened from /0:0:0:0:0:0:0:1:49390 on socket port 8182
2017-08-13 10:46:20,291 [DEBUG] Message: {"certificate":"-----BEGIN CERTIFICATE-----\nMIIFAzCCAuugAwIBAgICEAIwDQYJKoZIhvcNAQEFBQAwgZgxCzAJBgNVBAYTAlVT\nMQswCQYDVQQIDAJOWTEbMBkGA1UECgwSUVogSW5kdXN0cmllcywgTExDMRswGQYD\nVQQLDBJRWiBJbmR1c3RyaWVzLCBMTEMxGTAXBgNVBAMMEHF6aW5kdXN0cmllcy5j\nb20xJzAlBgkqhkiG9w0BCQEWGHN1cHBvcnRAcXppbmR1c3RyaWVzLmNvbTAeFw0x\nNTAzMTkwMjM4NDVaFw0yNTAzMTkwMjM4NDVaMHMxCzAJBgNVBAYTAkFBMRMwEQYD\nVQQIDApTb21lIFN0YXRlMQ0wCwYDVQQKDAREZW1vMQ0wCwYDVQQLDAREZW1vMRIw\nEAYDVQQDDAlsb2NhbGhvc3QxHTAbBgkqhkiG9w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613980278,"uid":"ky4ksm"}
2017-08-13 10:46:20,369 [WARN] Failed to retrieve QZ CRL, skipping CRL check
2017-08-13 10:46:20,447 [DEBUG] Received new certificate from connection through 49390
2017-08-13 10:46:20,479 [INFO] Allowed localhost to connect to QZ
2017-08-13 10:46:20,510 [DEBUG] Message: {"call":"getVersion","promise":{},"timestamp":1502613980501,"uid":"w4a3ah"}
2017-08-13 10:46:20,525 [WARN] Bad signature on request
2017-08-13 10:46:20,588 [INFO] Successfully loaded 1 CRL entries from https://crl.qz.io
2017-08-13 10:46:22,369 [DEBUG] Message: {"call":"printers.find","promise":{},"params":{"query":"c4380"},"timestamp":1502613982356,"uid":"nl40uw"}
2017-08-13 10:46:22,385 [WARN] Bad signature on request
2017-08-13 10:46:23,525 [INFO] Allowed localhost to access connected printers
2017-08-13 10:46:23,525 [DEBUG] Searching for PrintService matching c4380
2017-08-13 10:46:23,557 [DEBUG] Found 7 printers
2017-08-13 10:46:23,588 [DEBUG] Found match: HP Photosmart C4380 series
2017-08-13 10:46:28,166 [DEBUG] Message: {"call":"print","promise":{},"params":{"printer":{"name":"HP Photosmart C4380 series"},"options":{"colorType":"color","copies":"1","density":"","duplex":false,"fallbackDensity":null,"interpolation":"","jobName":"","margins":"0","orientation":"","paperThickness":"","printerTray":"","rasterize":false,"rotation":"0","scaleContent":true,"size":null,"units":"in","altPrinting":false,"encoding":"","endOfDoc":"","perSpool":"1"},"data":[{"type":"pixel","format":"html","flavor":"plain","data":"<html style=\"font-family: monospace; border: 1px solid #000;\">    <div style=\"float: left; margin-left: .5em;\">        <h2>* QZ Tray HTML Sample Print *</h2>        <p>            <span style=\"color: #D00;\">Version:</span> 2.1.0-RC1<br/>            <span style=\"color: #D00;\">Source:</span> https://qz.io/        </p>    </div>    <div style=\"float: right\">        <img src=\"file:///C:/Program%20Files/QZ%20Tray/demo/assets/img/image_sample.png\" />    </div></html>","options":{"pageWidth":"","pageHeight":""}}]},"timestamp":1502613988158,"uid":"dymgsz"}
2017-08-13 10:46:28,182 [WARN] Bad signature on request
2017-08-13 10:46:30,916 [INFO] Allowed localhost to print to HP Photosmart C4380 series
2017-08-13 10:46:31,119 [DEBUG] Allowing 2 simultaneous processors based on memory available (1193 MB)
2017-08-13 10:46:31,135 [DEBUG] Using qz.printer.action.PrintHTML to print
2017-08-13 10:46:31,150 [DEBUG] Searching for PrintService matching HP Photosmart C4380 series
2017-08-13 10:46:31,150 [DEBUG] Found 7 printers
2017-08-13 10:46:31,150 [DEBUG] Found match: HP Photosmart C4380 series
2017-08-13 10:46:31,447 [DEBUG] Found Resolution: 60000x60000 dphi
2017-08-13 10:46:31,884 [DEBUG] Started JavaFX
2017-08-13 10:46:32,608 [DEBUG] Parsed 1 html records
2017-08-13 10:46:33,366 [DEBUG] Paper area: 0,0:595,842
2017-08-13 10:46:33,376 [DEBUG] Document will be printed across 1 pages
2017-08-13 10:46:35,034 [INFO] Printing complete

java log:
C:\Users\XXXXXXXXXXXXXXXXX>java -Xms512M -jar "%PROGRAMFILES%\QZ Tray\qz-tray.jar"
[INFO] 2017-08-13 10:46:17,291 @ qz.ws.PrintSocketServer:?
        Starting QZ Tray 2.1.0-RC1
[DEBUG] 2017-08-13 10:46:18,260 @ qz.utils.ShellUtilities:?
        Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1, /v, Flags]
[DEBUG] 2017-08-13 10:46:18,307 @ qz.utils.ShellUtilities:?
        Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\ExperimentalFeatures, /v, AllowLocalhostLoopback]
[INFO] 2017-08-13 10:46:18,729 @ qz.deploy.DeployUtilities:?
        Main properties file C:\Program Files\QZ Tray\qz-tray.properties
[DEBUG] 2017-08-13 10:46:18,885 @ qz.auth.Certificate:?
        Using trusted root certificate: CN=qzindustries.com, O=QZ Industries, LLC (8ef2c0b2fe3f75754245b3fb9d54c0caa1b46bb3)
[INFO] 2017-08-13 10:46:18,932 @ qz.auth.CRL:?
        Loading CRL from https://crl.qz.io
[DEBUG] 2017-08-13 10:46:19,947 @ qz.utils.ConnectionUtilities:?
        User agent string for URL requests: Mozilla/5.0 (Windows NT 10.0; x86_64) QZTray/2.1.0 Java/1.8
[DEBUG] 2017-08-13 10:46:20,010 @ qz.ws.SingleInstanceChecker:?
        Checking for a running instance of QZ Tray on port 8283
[DEBUG] 2017-08-13 10:46:20,150 @ qz.ws.SingleInstanceChecker:?
        Checking for a running instance of QZ Tray on port 8384
[DEBUG] 2017-08-13 10:46:20,166 @ qz.ws.SingleInstanceChecker:?
        Checking for a running instance of QZ Tray on port 8485
[INFO] 2017-08-13 10:46:20,213 @ qz.ws.PrintSocketServer:?
        Server started on port(s) 8182, 8181
[INFO] 2017-08-13 10:46:20,275 @ qz.ws.PrintSocketClient:?
        Connection opened from /0:0:0:0:0:0:0:1:49390 on socket port 8182
[DEBUG] 2017-08-13 10:46:20,291 @ qz.ws.PrintSocketClient:?
        Message: {"certificate":"-----BEGIN CERTIFICATE-----\nMIIFAzCCAuugAwIBAgICEAIwDQYJKoZIhvcNAQEFBQAwgZgxCzAJBgNVBAYTAlVT\nMQswCQYDVQQIDAJOWTEbMBkGA1UECgwSUVogSW5kdXN0cmllcywgTExDMRswGQYD\nVQQLDBJRWiBJbmR1c3RyaWVzLCBMTEMxGTAXBgNVBAMMEHF6aW5kdXN0cmllcy5j\nb20xJzAlBgkqhkiG9w0BCQEWGHN1cHBvcnRAcXppbmR1c3RyaWVzLmNvbTAeFw0x\nNTAzMTkwMjM4NDVaFw0yNTAzMTkwMjM4NDVaMHMxCzAJBgNVBAYTAkFBMRMwEQYD\nVQQIDApTb21lIFN0YXRlMQ0wCwYDVQQKDAREZW1vMQ0wCwYDVQQLDAREZW1vMRIw\nEAYDVQQDDAlsb2NhbGhvc3QxHTAbBgkqhkiG9w0BCQEW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id":"ky4ksm"}
[WARN] 2017-08-13 10:46:20,369 @ qz.auth.Certificate:?
        Failed to retrieve QZ CRL, skipping CRL check
[DEBUG] 2017-08-13 10:46:20,447 @ qz.ws.PrintSocketClient:?
        Received new certificate from connection through 49390
[INFO] 2017-08-13 10:46:20,479 @ qz.common.TrayManager:?
        Allowed localhost to connect to QZ
[DEBUG] 2017-08-13 10:46:20,510 @ qz.ws.PrintSocketClient:?
        Message: {"call":"getVersion","promise":{},"timestamp":1502613980501,"uid":"w4a3ah"}
[WARN] 2017-08-13 10:46:20,525 @ qz.ws.PrintSocketClient:?
        Bad signature on request
[INFO] 2017-08-13 10:46:20,588 @ qz.auth.CRL:?
        Successfully loaded 1 CRL entries from https://crl.qz.io
[DEBUG] 2017-08-13 10:46:22,369 @ qz.ws.PrintSocketClient:?
        Message: {"call":"printers.find","promise":{},"params":{"query":"c4380"},"timestamp":1502613982356,"uid":"nl40uw"}
[WARN] 2017-08-13 10:46:22,385 @ qz.ws.PrintSocketClient:?
        Bad signature on request
[INFO] 2017-08-13 10:46:23,525 @ qz.common.TrayManager:?
        Allowed localhost to access connected printers
[DEBUG] 2017-08-13 10:46:23,525 @ qz.printer.PrintServiceMatcher:?
        Searching for PrintService matching c4380
[DEBUG] 2017-08-13 10:46:23,557 @ qz.printer.PrintServiceMatcher:?
        Found 7 printers
[DEBUG] 2017-08-13 10:46:23,588 @ qz.printer.PrintServiceMatcher:?
        Found match: HP Photosmart C4380 series
[DEBUG] 2017-08-13 10:46:28,166 @ qz.ws.PrintSocketClient:?
        Message: {"call":"print","promise":{},"params":{"printer":{"name":"HP Photosmart C4380 series"},"options":{"colorType":"color","copies":"1","density":"","duplex":false,"fallbackDensity":null,"interpolation":"","jobName":"","margins":"0","orientation":"","paperThickness":"","printerTray":"","rasterize":false,"rotation":"0","scaleContent":true,"size":null,"units":"in","altPrinting":false,"encoding":"","endOfDoc":"","perSpool":"1"},"data":[{"type":"pixel","format":"html","flavor":"plain","data":"<html style=\"font-family: monospace; border: 1px solid #000;\">    <div style=\"float: left; margin-left: .5em;\">        <h2>* QZ Tray HTML Sample Print *</h2>        <p>            <span style=\"color: #D00;\">Version:</span> 2.1.0-RC1<br/>            <span style=\"color: #D00;\">Source:</span> https://qz.io/        </p>    </div>    <div style=\"float: right\">        <img src=\"file:///C:/Program%20Files/QZ%20Tray/demo/assets/img/image_sample.png\" />    </div></html>","options":{"pageWidth":"","pageHeight":""}}]},"timestamp":1502613988158,"uid":"dymgsz"}
[WARN] 2017-08-13 10:46:28,182 @ qz.ws.PrintSocketClient:?
        Bad signature on request
[INFO] 2017-08-13 10:46:30,916 @ qz.common.TrayManager:?
        Allowed localhost to print to HP Photosmart C4380 series
[DEBUG] 2017-08-13 10:46:31,119 @ qz.utils.PrintingUtilities:?
        Allowing 2 simultaneous processors based on memory available (1193 MB)
[TRACE] 2017-08-13 10:46:31,119 @ qz.utils.PrintingUtilities:?
        Waiting for processor, 0/2 already in use
[DEBUG] 2017-08-13 10:46:31,135 @ qz.utils.PrintingUtilities:?
        Using qz.printer.action.PrintHTML to print
[DEBUG] 2017-08-13 10:46:31,150 @ qz.printer.PrintServiceMatcher:?
        Searching for PrintService matching HP Photosmart C4380 series
[DEBUG] 2017-08-13 10:46:31,150 @ qz.printer.PrintServiceMatcher:?
        Found 7 printers
[DEBUG] 2017-08-13 10:46:31,150 @ qz.printer.PrintServiceMatcher:?
        Found match: HP Photosmart C4380 series
[DEBUG] 2017-08-13 10:46:31,447 @ qz.utils.PrintingUtilities:?
        Found Resolution: 60000x60000 dphi
[TRACE] 2017-08-13 10:46:31,604 @ qz.printer.action.WebApp:?
        Waiting for JavaFX..
[DEBUG] 2017-08-13 10:46:31,884 @ qz.printer.action.WebApp:?
        Started JavaFX
[DEBUG] 2017-08-13 10:46:32,608 @ qz.printer.action.PrintHTML:?
        Parsed 1 html records
[TRACE] 2017-08-13 10:46:32,937 @ qz.printer.action.PrintHTML:?
         Collation = COLLATED
 Copies = 1
 Sides = ONE_SIDED
 JobName = QZ Tray HTML Print
 Page ranges = null
 Print color = COLOR
 Print quality = NORMAL
 Print resolution = Feed res=600dpi. Cross Feed res=600dpi.
 Paper source = Paper source : Automatic
 Page layout = Paper=Paper: A4 size=210.0x297.0 MM Orient=PORTRAIT leftMargin=0.0 rightMargin=0.0 topMargin=0.0 bottomMargin=0.0
[TRACE] 2017-08-13 10:46:32,966 @ qz.printer.action.WebApp:?
        Waiting on print..
[TRACE] 2017-08-13 10:46:32,967 @ qz.printer.action.WebApp:?
        Setting starting size 793.5874015748032:0.0
[TRACE] 2017-08-13 10:46:32,999 @ qz.printer.action.WebApp:?
        Done: -1.0 > 0.0
[TRACE] 2017-08-13 10:46:33,000 @ qz.printer.action.WebApp:?
        New state: READY > SCHEDULED
[TRACE] 2017-08-13 10:46:33,006 @ qz.printer.action.WebApp:?
        New state: SCHEDULED > RUNNING
[TRACE] 2017-08-13 10:46:33,044 @ qz.printer.action.WebApp:?
        Done: 0.0 > 22.62260840504637
[TRACE] 2017-08-13 10:46:33,166 @ qz.printer.action.WebApp:?
        Done: 22.62260840504637 > 100.0
[TRACE] 2017-08-13 10:46:33,175 @ qz.printer.action.WebApp:?
        New state: RUNNING > SUCCEEDED
[TRACE] 2017-08-13 10:46:33,208 @ qz.printer.action.WebApp:?
        Setting HTML page height to 283.0
[DEBUG] 2017-08-13 10:46:33,366 @ qz.printer.action.WebApp:?
        Paper area: 0,0:595,842
[DEBUG] 2017-08-13 10:46:33,376 @ qz.printer.action.WebApp:?
        Document will be printed across 1 pages
[TRACE] 2017-08-13 10:46:33,995 @ qz.printer.action.WebApp:?
        Waiting on print..
[INFO] 2017-08-13 10:46:35,034 @ qz.utils.PrintingUtilities:?
        Printing complete
[TRACE] 2017-08-13 10:46:35,054 @ qz.utils.PrintingUtilities:?
        Returning processor back to pool
        
        
Test 2 / printer set to low quality / 300 DPI HALF PAGE PROBLEM:

debug.log:
2017-08-13 10:52:40,214 [INFO] Starting QZ Tray 2.1.0-RC1
2017-08-13 10:52:40,994 [DEBUG] Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1, /v, Flags]
2017-08-13 10:52:41,034 [DEBUG] Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\ExperimentalFeatures, /v, AllowLocalhostLoopback]
2017-08-13 10:52:41,467 [INFO] Main properties file C:\Program Files\QZ Tray\qz-tray.properties
2017-08-13 10:52:41,603 [DEBUG] Using trusted root certificate: CN=qzindustries.com, O=QZ Industries, LLC (8ef2c0b2fe3f75754245b3fb9d54c0caa1b46bb3)
2017-08-13 10:52:41,605 [INFO] Loading CRL from https://crl.qz.io
2017-08-13 10:52:42,801 [DEBUG] User agent string for URL requests: Mozilla/5.0 (Windows NT 10.0; x86_64) QZTray/2.1.0 Java/1.8
2017-08-13 10:52:42,869 [DEBUG] Checking for a running instance of QZ Tray on port 8283
2017-08-13 10:52:42,981 [DEBUG] Checking for a running instance of QZ Tray on port 8384
2017-08-13 10:52:42,996 [DEBUG] Checking for a running instance of QZ Tray on port 8485
2017-08-13 10:52:43,138 [INFO] Server started on port(s) 8182, 8181
2017-08-13 10:52:43,271 [INFO] Successfully loaded 1 CRL entries from https://crl.qz.io
2017-08-13 10:52:51,547 [INFO] Connection opened from /0:0:0:0:0:0:0:1:49452 on socket port 8182
2017-08-13 10:52:51,578 [DEBUG] Message: {"certificate":"-----BEGIN CERTIFICATE-----\nMIIFAzCCAuugAwIBAgICEAIwDQYJKoZIhvcNAQEFBQAwgZgxCzAJBgNVBAYTAlVT\nMQswCQYDVQQIDAJOWTEbMBkGA1UECgwSUVogSW5kdXN0cmllcywgTExDMRswGQYD\nVQQLDBJRWiBJbmR1c3RyaWVzLCBMTEMxGTAXBgNVBAMMEHF6aW5kdXN0cmllcy5j\nb20xJzAlBgkqhkiG9w0BCQEW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A5pTYJ++7s/xX9gzSWCa+eXGcjguBtYYXaAjjAqFGRAvu\npz1yrDWcA6H94HeErJKUXBakS0Jm/V33JDuVXY+aZ8EQi2kV82aZbNdXll/R6iGw\n2ur4rDErnHsiphBgZB71C5FD4cdfSONTsYxmPmyUb5T+KLUouxZ9B0Wh28ucc1Lp\nrbO7BnjW\n-----END CERTIFICATE-----\n","promise":{},"timestamp":1502614371550,"uid":"dknr9m"}
2017-08-13 10:52:51,610 [DEBUG] Received new certificate from connection through 49452
2017-08-13 10:52:51,610 [INFO] Allowed localhost to connect to QZ
2017-08-13 10:52:51,641 [DEBUG] Message: {"call":"getVersion","promise":{},"timestamp":1502614371633,"uid":"dltbne"}
2017-08-13 10:52:51,641 [WARN] Bad signature on request
2017-08-13 10:52:54,000 [DEBUG] Message: {"call":"printers.find","promise":{},"params":{"query":"c4380"},"timestamp":1502614373971,"uid":"3oyrdl"}
2017-08-13 10:52:54,016 [WARN] Bad signature on request
2017-08-13 10:52:55,094 [INFO] Allowed localhost to access connected printers
2017-08-13 10:52:55,110 [DEBUG] Searching for PrintService matching c4380
2017-08-13 10:52:55,141 [DEBUG] Found 7 printers
2017-08-13 10:52:55,156 [DEBUG] Found match: HP Photosmart C4380 series
2017-08-13 10:53:04,125 [DEBUG] Message: {"call":"print","promise":{},"params":{"printer":{"name":"HP Photosmart C4380 series"},"options":{"colorType":"color","copies":"1","density":"","duplex":false,"fallbackDensity":null,"interpolation":"","jobName":"","margins":"0","orientation":"","paperThickness":"","printerTray":"","rasterize":false,"rotation":"0","scaleContent":true,"size":null,"units":"in","altPrinting":false,"encoding":"","endOfDoc":"","perSpool":"1"},"data":[{"type":"pixel","format":"html","flavor":"plain","data":"<html style=\"font-family: monospace; border: 1px solid #000;\">    <div style=\"float: left; margin-left: .5em;\">        <h2>* QZ Tray HTML Sample Print *</h2>        <p>            <span style=\"color: #D00;\">Version:</span> 2.1.0-RC1<br/>            <span style=\"color: #D00;\">Source:</span> https://qz.io/        </p>    </div>    <div style=\"float: right\">        <img src=\"file:///C:/Program%20Files/QZ%20Tray/demo/assets/img/image_sample.png\" />    </div></html>","options":{"pageWidth":"","pageHeight":""}}]},"timestamp":1502614384103,"uid":"cofa6z"}
2017-08-13 10:53:04,125 [WARN] Bad signature on request
2017-08-13 10:53:05,391 [INFO] Allowed localhost to print to HP Photosmart C4380 series
2017-08-13 10:53:05,563 [DEBUG] Allowing 2 simultaneous processors based on memory available (1193 MB)
2017-08-13 10:53:05,578 [DEBUG] Using qz.printer.action.PrintHTML to print
2017-08-13 10:53:05,594 [DEBUG] Searching for PrintService matching HP Photosmart C4380 series
2017-08-13 10:53:05,594 [DEBUG] Found 7 printers
2017-08-13 10:53:05,594 [DEBUG] Found match: HP Photosmart C4380 series
2017-08-13 10:53:05,891 [DEBUG] Found Resolution: 30000x30000 dphi
2017-08-13 10:53:06,418 [DEBUG] Started JavaFX
2017-08-13 10:53:07,163 [DEBUG] Parsed 1 html records
2017-08-13 10:53:07,935 [DEBUG] Paper area: 0,0:595,842
2017-08-13 10:53:07,938 [DEBUG] Document will be printed across 1 pages
2017-08-13 10:53:09,546 [INFO] Printing complete

java log:
C:\Users\XXXXXXXXXXXXXXXXX>java -Xms512M -jar "%PROGRAMFILES%\QZ Tray\qz-tray.jar"
[INFO] 2017-08-13 10:52:40,214 @ qz.ws.PrintSocketServer:?
        Starting QZ Tray 2.1.0-RC1
[DEBUG] 2017-08-13 10:52:40,994 @ qz.utils.ShellUtilities:?
        Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1, /v, Flags]
[DEBUG] 2017-08-13 10:52:41,034 @ qz.utils.ShellUtilities:?
        Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\ExperimentalFeatures, /v, AllowLocalhostLoopback]
[INFO] 2017-08-13 10:52:41,467 @ qz.deploy.DeployUtilities:?
        Main properties file C:\Program Files\QZ Tray\qz-tray.properties
[DEBUG] 2017-08-13 10:52:41,603 @ qz.auth.Certificate:?
        Using trusted root certificate: CN=qzindustries.com, O=QZ Industries, LLC (8ef2c0b2fe3f75754245b3fb9d54c0caa1b46bb3)
[INFO] 2017-08-13 10:52:41,605 @ qz.auth.CRL:?
        Loading CRL from https://crl.qz.io
[DEBUG] 2017-08-13 10:52:42,801 @ qz.utils.ConnectionUtilities:?
        User agent string for URL requests: Mozilla/5.0 (Windows NT 10.0; x86_64) QZTray/2.1.0 Java/1.8
[DEBUG] 2017-08-13 10:52:42,869 @ qz.ws.SingleInstanceChecker:?
        Checking for a running instance of QZ Tray on port 8283
[DEBUG] 2017-08-13 10:52:42,981 @ qz.ws.SingleInstanceChecker:?
        Checking for a running instance of QZ Tray on port 8384
[DEBUG] 2017-08-13 10:52:42,996 @ qz.ws.SingleInstanceChecker:?
        Checking for a running instance of QZ Tray on port 8485
[INFO] 2017-08-13 10:52:43,138 @ qz.ws.PrintSocketServer:?
        Server started on port(s) 8182, 8181
[INFO] 2017-08-13 10:52:43,271 @ qz.auth.CRL:?
        Successfully loaded 1 CRL entries from https://crl.qz.io
[INFO] 2017-08-13 10:52:51,547 @ qz.ws.PrintSocketClient:?
        Connection opened from /0:0:0:0:0:0:0:1:49452 on socket port 8182
[DEBUG] 2017-08-13 10:52:51,578 @ qz.ws.PrintSocketClient:?
        Message: {"certificate":"-----BEGIN CERTIFICATE-----\nMIIFAzCCAuugAwIBAgICEAIwDQYJKoZIhvcNAQEFBQAwgZgxCzAJBgNVBAYTAlVT\nMQswCQYDVQQIDAJOWTEbMBkGA1UECgwSUVogSW5kdXN0cmllcywgTExDMRswGQYD\nVQQLDBJRWiBJbmR1c3RyaWVzLCBMTEMxGTAXBgNVBAMMEHF6aW5kdXN0cmllcy5j\nb20xJzAlBgkqhkiG9w0BCQEWGHN1cHBvcnRAcXppbmR1c3RyaWVzLmNvbTAe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jAqFGRAvu\npz1yrDWcA6H94HeErJKUXBakS0Jm/V33JDuVXY+aZ8EQi2kV82aZbNdXll/R6iGw\n2ur4rDErnHsiphBgZB71C5FD4cdfSONTsYxmPmyUb5T+KLUouxZ9B0Wh28ucc1Lp\nrbO7BnjW\n-----END CERTIFICATE-----\n","promise":{},"timestamp":1502614371550,"uid":"dknr9m"}
[DEBUG] 2017-08-13 10:52:51,610 @ qz.ws.PrintSocketClient:?
        Received new certificate from connection through 49452
[INFO] 2017-08-13 10:52:51,610 @ qz.common.TrayManager:?
        Allowed localhost to connect to QZ
[DEBUG] 2017-08-13 10:52:51,641 @ qz.ws.PrintSocketClient:?
        Message: {"call":"getVersion","promise":{},"timestamp":1502614371633,"uid":"dltbne"}
[WARN] 2017-08-13 10:52:51,641 @ qz.ws.PrintSocketClient:?
        Bad signature on request
[DEBUG] 2017-08-13 10:52:54,000 @ qz.ws.PrintSocketClient:?
        Message: {"call":"printers.find","promise":{},"params":{"query":"c4380"},"timestamp":1502614373971,"uid":"3oyrdl"}
[WARN] 2017-08-13 10:52:54,016 @ qz.ws.PrintSocketClient:?
        Bad signature on request
[INFO] 2017-08-13 10:52:55,094 @ qz.common.TrayManager:?
        Allowed localhost to access connected printers
[DEBUG] 2017-08-13 10:52:55,110 @ qz.printer.PrintServiceMatcher:?
        Searching for PrintService matching c4380
[DEBUG] 2017-08-13 10:52:55,141 @ qz.printer.PrintServiceMatcher:?
        Found 7 printers
[DEBUG] 2017-08-13 10:52:55,156 @ qz.printer.PrintServiceMatcher:?
        Found match: HP Photosmart C4380 series
[DEBUG] 2017-08-13 10:53:04,125 @ qz.ws.PrintSocketClient:?
        Message: {"call":"print","promise":{},"params":{"printer":{"name":"HP Photosmart C4380 series"},"options":{"colorType":"color","copies":"1","density":"","duplex":false,"fallbackDensity":null,"interpolation":"","jobName":"","margins":"0","orientation":"","paperThickness":"","printerTray":"","rasterize":false,"rotation":"0","scaleContent":true,"size":null,"units":"in","altPrinting":false,"encoding":"","endOfDoc":"","perSpool":"1"},"data":[{"type":"pixel","format":"html","flavor":"plain","data":"<html style=\"font-family: monospace; border: 1px solid #000;\">    <div style=\"float: left; margin-left: .5em;\">        <h2>* QZ Tray HTML Sample Print *</h2>        <p>            <span style=\"color: #D00;\">Version:</span> 2.1.0-RC1<br/>            <span style=\"color: #D00;\">Source:</span> https://qz.io/        </p>    </div>    <div style=\"float: right\">        <img src=\"file:///C:/Program%20Files/QZ%20Tray/demo/assets/img/image_sample.png\" />    </div></html>","options":{"pageWidth":"","pageHeight":""}}]},"timestamp":1502614384103,"uid":"cofa6z"}
[WARN] 2017-08-13 10:53:04,125 @ qz.ws.PrintSocketClient:?
        Bad signature on request
[INFO] 2017-08-13 10:53:05,391 @ qz.common.TrayManager:?
        Allowed localhost to print to HP Photosmart C4380 series
[DEBUG] 2017-08-13 10:53:05,563 @ qz.utils.PrintingUtilities:?
        Allowing 2 simultaneous processors based on memory available (1193 MB)
[TRACE] 2017-08-13 10:53:05,563 @ qz.utils.PrintingUtilities:?
        Waiting for processor, 0/2 already in use
[DEBUG] 2017-08-13 10:53:05,578 @ qz.utils.PrintingUtilities:?
        Using qz.printer.action.PrintHTML to print
[DEBUG] 2017-08-13 10:53:05,594 @ qz.printer.PrintServiceMatcher:?
        Searching for PrintService matching HP Photosmart C4380 series
[DEBUG] 2017-08-13 10:53:05,594 @ qz.printer.PrintServiceMatcher:?
        Found 7 printers
[DEBUG] 2017-08-13 10:53:05,594 @ qz.printer.PrintServiceMatcher:?
        Found match: HP Photosmart C4380 series
[DEBUG] 2017-08-13 10:53:05,891 @ qz.utils.PrintingUtilities:?
        Found Resolution: 30000x30000 dphi
[TRACE] 2017-08-13 10:53:06,156 @ qz.printer.action.WebApp:?
        Waiting for JavaFX..
[DEBUG] 2017-08-13 10:53:06,418 @ qz.printer.action.WebApp:?
        Started JavaFX
[DEBUG] 2017-08-13 10:53:07,163 @ qz.printer.action.PrintHTML:?
        Parsed 1 html records
[TRACE] 2017-08-13 10:53:07,513 @ qz.printer.action.PrintHTML:?
         Collation = COLLATED
 Copies = 1
 Sides = ONE_SIDED
 JobName = QZ Tray HTML Print
 Page ranges = null
 Print color = COLOR
 Print quality = NORMAL
 Print resolution = Feed res=300dpi. Cross Feed res=300dpi.
 Paper source = Paper source : Automatic
 Page layout = Paper=Paper: A4 size=210.0x297.0 MM Orient=PORTRAIT leftMargin=0.0 rightMargin=0.0 topMargin=0.0 bottomMargin=0.0
[TRACE] 2017-08-13 10:53:07,537 @ qz.printer.action.WebApp:?
        Waiting on print..
[TRACE] 2017-08-13 10:53:07,538 @ qz.printer.action.WebApp:?
        Setting starting size 793.5874015748032:0.0
[TRACE] 2017-08-13 10:53:07,574 @ qz.printer.action.WebApp:?
        Done: -1.0 > 0.0
[TRACE] 2017-08-13 10:53:07,574 @ qz.printer.action.WebApp:?
        New state: READY > SCHEDULED
[TRACE] 2017-08-13 10:53:07,582 @ qz.printer.action.WebApp:?
        New state: SCHEDULED > RUNNING
[TRACE] 2017-08-13 10:53:07,619 @ qz.printer.action.WebApp:?
        Done: 0.0 > 22.62260840504637
[TRACE] 2017-08-13 10:53:07,739 @ qz.printer.action.WebApp:?
        Done: 22.62260840504637 > 100.0
[TRACE] 2017-08-13 10:53:07,748 @ qz.printer.action.WebApp:?
        New state: RUNNING > SUCCEEDED
[TRACE] 2017-08-13 10:53:07,781 @ qz.printer.action.WebApp:?
        Setting HTML page height to 283.0
[DEBUG] 2017-08-13 10:53:07,935 @ qz.printer.action.WebApp:?
        Paper area: 0,0:595,842
[DEBUG] 2017-08-13 10:53:07,938 @ qz.printer.action.WebApp:?
        Document will be printed across 1 pages
[TRACE] 2017-08-13 10:53:08,538 @ qz.printer.action.WebApp:?
        Waiting on print..
[INFO] 2017-08-13 10:53:09,546 @ qz.utils.PrintingUtilities:?
        Printing complete
[TRACE] 2017-08-13 10:53:09,559 @ qz.utils.PrintingUtilities:?
        Returning processor back to pool




Many thanks in advance for the help you can provide ;)
(this said, it seems to me that QZ tray should resize the A4 HTML printout according to the default DPI set in the control panel...)

If you need more tests done...
Baudouin
QZPRINT.jpg

Kyle La Barge

unread,
Aug 13, 2017, 8:17:26 PM8/13/17
to Baudouin LAMOURERE, qz-print, bob...@hotmail.com
Thanks for sending those over.

It looks some of the HTML print is being cut off as well at 600 DPI. There should be a border around the HTML and around the logo.

Inline image 1

I'm having a hard time reproducing this behavior. Tomorrow I will have access to various physical hardware and will continue testing.

Can you tell me if the sizing is any different when you:
  • Set rasterize to true
  • Set the page size in the config to A4
If either of the above scenarios fix the issue, there may be a bug.










Kyle LaBarge
Technical Support
QZ Industries, LLC
email|Twitter|GitHub


--

Tres Finocchiaro

unread,
Aug 13, 2017, 10:55:13 PM8/13/17
to Kyle La Barge, Baudouin LAMOURERE, qz-print, Baudouin LAMOURERE
QZ is definitely picking up the 300dpi from the driver properly as can be observed in the logs.... 

Baudouin,

Assuming this outright breaks always using 300dpi on a physical printer, can we work from the bug tracker on this one?  I think it would be more effective.

Just the steps to reproduce would be sufficient and then we'll escalate directly as a code problem.


-Tres

Baudouin LAMOURERE

unread,
Aug 14, 2017, 3:13:00 AM8/14/17
to Tres Finocchiaro, Kyle La Barge, Baudouin LAMOURERE, qz-print
Hi Tres & Kyle,
 
as requested, I moved the topic to Github... Clignement d'œil
 
Thanks for your help,
Baudouin

Tres Finocchiaro

unread,
Aug 14, 2017, 10:28:00 AM8/14/17
to Baudouin LAMOURERE, Kyle La Barge, Baudouin LAMOURERE, qz-print
Thanks.  We will continue to track the problem there, thanks!

Reply all
Reply to author
Forward
0 new messages