Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lite1979/dc5bf434bb2a6fe94cf95a5b58293c75 to your computer and use it in GitHub Desktop.
Save lite1979/dc5bf434bb2a6fe94cf95a5b58293c75 to your computer and use it in GitHub Desktop.
[DEBUG] 2020-06-05 15:34:21,557 @ qz.ws.PrintSocketClient:?
Message: {"call":"printers.find","promise":{},"params":{"query":"xps"},"timestamp":1591385661557,"uid":"05z7b2","signAlgorithm":"SHA512","position":{"x":null,"y":null}}
[WARN] 2020-06-05 15:34:21,558 @ qz.ws.PrintSocketClient:?
Bad signature on request
[DEBUG] 2020-06-05 15:34:21,565 @ qz.common.TrayManager:?
Invalid dialog position provided: java.awt.Point[x=0,y=0], we'll center on first monitor instead
[INFO] 2020-06-05 15:34:23,387 @ qz.common.TrayManager:?
Allowed localhost to access connected printers
[DEBUG] 2020-06-05 15:34:23,388 @ qz.printer.PrintServiceMatcher:?
Searching for PrintService matching xps
[DEBUG] 2020-06-05 15:34:23,388 @ qz.printer.PrintServiceMatcher:?
Found 16 printers
[DEBUG] 2020-06-05 15:34:23,389 @ qz.printer.PrintServiceMatcher:?
Found match: Microsoft XPS Document Writer
[DEBUG] 2020-06-05 15:34:26,110 @ qz.ws.PrintSocketClient:?
Message: {"call":"print","promise":{},"params":{"printer":{"name":"Microsoft XPS Document Writer"},"options":{"bounds":null,"colorType":"color","copies":1,"density":0,"duplex":false,"fallbackDensity":null,"interpolation":"bicubic","jobName":null,"legacy":false,"margins":0,"orientation":"","paperThickness":null,"printerTray":null,"rasterize":true,"rotation":"0","scaleContent":true,"size":null,"units":"in","altPrinting":false,"encoding":null,"endOfDoc":null,"perSpool":1},"data":[{"type":"pixel","format":"html","flavor":"plain","data":"<html><body> <table style=\"font-family: monospace; width: 100%\"> <tr> <td> <h2>* QZ Tray HTML Sample Print *</h2> <span style=\"color: #D00;\">Version:</span> 2.1.0+62<br/> <span style=\"color: #D00;\">Source:</span> https://qz.io/ </td> <td align=\"right\"> <img src=\"file:///C:/Users/lite/OneDrive/Desktop/demo2.1.0+62/assets/img/image_sample.png\" /> </td> </tr> </table></body></html>","options":{"pageWidth":"","pageHeight":""}}]},"timestamp":1591385666109,"uid":"56o6k3","signAlgorithm":"SHA512","position":{"x":null,"y":null}}
[WARN] 2020-06-05 15:34:26,115 @ qz.ws.PrintSocketClient:?
Bad signature on request
[DEBUG] 2020-06-05 15:34:26,141 @ qz.common.TrayManager:?
Invalid dialog position provided: java.awt.Point[x=0,y=0], we'll center on first monitor instead
[INFO] 2020-06-05 15:34:27,345 @ qz.common.TrayManager:?
Allowed localhost to print to Microsoft XPS Document Writer
[TRACE] 2020-06-05 15:34:27,346 @ qz.utils.PrintingUtilities:?
Waiting for processor, 0/8 already in use
[DEBUG] 2020-06-05 15:34:27,347 @ qz.utils.PrintingUtilities:?
Using qz.printer.action.PrintHTML to print
[DEBUG] 2020-06-05 15:34:27,347 @ qz.printer.PrintServiceMatcher:?
Searching for PrintService matching Microsoft XPS Document Writer
[DEBUG] 2020-06-05 15:34:27,348 @ qz.printer.PrintServiceMatcher:?
Found 16 printers
[DEBUG] 2020-06-05 15:34:27,349 @ qz.printer.PrintServiceMatcher:?
Found match: Microsoft XPS Document Writer
[DEBUG] 2020-06-05 15:34:27,384 @ qz.printer.action.PrintHTML:?
Parsed 1 html records
[TRACE] 2020-06-05 15:34:27,384 @ qz.printer.action.WebApp:?
Waiting on capture..
[TRACE] 2020-06-05 15:34:27,411 @ qz.printer.action.WebApp:?
Setting starting size 576.0:0.0
[TRACE] 2020-06-05 15:34:27,412 @ qz.printer.action.WebApp:?
Done: 100.0 > -1.0
[TRACE] 2020-06-05 15:34:27,413 @ qz.printer.action.WebApp:?
New state: SUCCEEDED > READY
[TRACE] 2020-06-05 15:34:27,414 @ qz.printer.action.WebApp:?
Done: -1.0 > 0.0
[TRACE] 2020-06-05 15:34:27,415 @ qz.printer.action.WebApp:?
New state: READY > SCHEDULED
[TRACE] 2020-06-05 15:34:27,415 @ qz.printer.action.WebApp:?
New state: SCHEDULED > RUNNING
[TRACE] 2020-06-05 15:34:27,420 @ qz.printer.action.WebApp:?
Done: 0.0 > 100.0
[TRACE] 2020-06-05 15:34:27,421 @ qz.printer.action.WebApp:?
New state: RUNNING > SUCCEEDED
[TRACE] 2020-06-05 15:34:27,422 @ qz.printer.action.WebApp:?
Zooming in by x8.333333333333334 for increased quality
[TRACE] 2020-06-05 15:34:27,424 @ qz.printer.action.WebApp:?
Set HTML page height to 102.0
[DEBUG] 2020-06-05 15:34:27,431 @ qz.printer.action.WebApp:?
Attempting image capture
[ERROR] 2020-06-05 15:34:27,452 @ qz.printer.action.WebApp:?
Caught during snapshot
[ERROR] 2020-06-05 15:34:27,453 @ qz.utils.PrintingUtilities:?
Failed to print
java.awt.print.PrinterException: Unrecognized image loader: null
at qz.printer.action.PrintHTML.print(Unknown Source)
at qz.utils.PrintingUtilities.processPrintRequest(Unknown Source)
at qz.ws.PrintSocketClient.processMessage(Unknown Source)
at qz.ws.PrintSocketClient.onMessage(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver$2.run(JettyAnnotatedEventDriver.java:227)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:914)
at java.base/java.lang.Thread.run(Thread.java:834)
[TRACE] 2020-06-05 15:34:27,459 @ qz.utils.PrintingUtilities:?
Returning processor back to pool
[DEBUG] 2020-06-05 15:36:08,429 @ qz.ws.PrintSocketClient:?
Message: {"call":"print","promise":{},"params":{"printer":{"name":"Microsoft XPS Document Writer"},"options":{"bounds":null,"colorType":"color","copies":1,"density":0,"duplex":false,"fallbackDensity":null,"interpolation":"bicubic","jobName":null,"legacy":false,"margins":0,"orientation":"","paperThickness":null,"printerTray":null,"rasterize":true,"rotation":"0","scaleContent":true,"size":null,"units":"in","altPrinting":false,"encoding":null,"endOfDoc":null,"perSpool":1},"data":[{"type":"pixel","format":"html","flavor":"plain","data":"<html><body> <table style=\"font-family: monospace; width: 100%\"> <tr> <td> <h2>* QZ Tray HTML Sample Print *</h2> <span style=\"color: #D00;\">Version:</span> 2.1.0+62<br/> <span style=\"color: #D00;\">Source:</span> https://qz.io/ </td> <td align=\"right\"> <img src=\"file:///C:/Users/lite/OneDrive/Desktop/demo2.1.0+62/assets/img/image_sample.png\" /> </td> </tr> </table></body></html>","options":{"pageWidth":"","pageHeight":""}}]},"timestamp":1591385768428,"uid":"1orehb","signAlgorithm":"SHA512","position":{"x":null,"y":null}}
[WARN] 2020-06-05 15:36:08,432 @ qz.ws.PrintSocketClient:?
Bad signature on request
[DEBUG] 2020-06-05 15:36:08,446 @ qz.common.TrayManager:?
Invalid dialog position provided: java.awt.Point[x=0,y=0], we'll center on first monitor instead
[INFO] 2020-06-05 15:36:09,188 @ qz.common.TrayManager:?
Allowed localhost to print to Microsoft XPS Document Writer
[TRACE] 2020-06-05 15:36:09,189 @ qz.utils.PrintingUtilities:?
Waiting for processor, 0/8 already in use
[DEBUG] 2020-06-05 15:36:09,189 @ qz.utils.PrintingUtilities:?
Using qz.printer.action.PrintHTML to print
[DEBUG] 2020-06-05 15:36:09,190 @ qz.printer.PrintServiceMatcher:?
Searching for PrintService matching Microsoft XPS Document Writer
[DEBUG] 2020-06-05 15:36:09,190 @ qz.printer.PrintServiceMatcher:?
Found 16 printers
[DEBUG] 2020-06-05 15:36:09,191 @ qz.printer.PrintServiceMatcher:?
Found match: Microsoft XPS Document Writer
[DEBUG] 2020-06-05 15:36:09,226 @ qz.printer.action.PrintHTML:?
Parsed 1 html records
[TRACE] 2020-06-05 15:36:09,226 @ qz.printer.action.WebApp:?
Waiting on capture..
[TRACE] 2020-06-05 15:36:09,253 @ qz.printer.action.WebApp:?
Setting starting size 576.0:0.0
[TRACE] 2020-06-05 15:36:09,254 @ qz.printer.action.WebApp:?
Done: 100.0 > -1.0
[TRACE] 2020-06-05 15:36:09,255 @ qz.printer.action.WebApp:?
New state: SUCCEEDED > READY
[TRACE] 2020-06-05 15:36:09,256 @ qz.printer.action.WebApp:?
Done: -1.0 > 0.0
[TRACE] 2020-06-05 15:36:09,257 @ qz.printer.action.WebApp:?
New state: READY > SCHEDULED
[TRACE] 2020-06-05 15:36:09,258 @ qz.printer.action.WebApp:?
New state: SCHEDULED > RUNNING
[TRACE] 2020-06-05 15:36:09,264 @ qz.printer.action.WebApp:?
Done: 0.0 > 100.0
[TRACE] 2020-06-05 15:36:09,265 @ qz.printer.action.WebApp:?
New state: RUNNING > SUCCEEDED
[TRACE] 2020-06-05 15:36:09,265 @ qz.printer.action.WebApp:?
Zooming in by x8.333333333333334 for increased quality
[TRACE] 2020-06-05 15:36:09,267 @ qz.printer.action.WebApp:?
Set HTML page height to 102.0
[DEBUG] 2020-06-05 15:36:09,276 @ qz.printer.action.WebApp:?
Attempting image capture
[ERROR] 2020-06-05 15:36:09,289 @ qz.printer.action.WebApp:?
Caught during snapshot
[ERROR] 2020-06-05 15:36:09,290 @ qz.utils.PrintingUtilities:?
Failed to print
java.awt.print.PrinterException: Unrecognized image loader: null
at qz.printer.action.PrintHTML.print(Unknown Source)
at qz.utils.PrintingUtilities.processPrintRequest(Unknown Source)
at qz.ws.PrintSocketClient.processMessage(Unknown Source)
at qz.ws.PrintSocketClient.onMessage(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver$2.run(JettyAnnotatedEventDriver.java:227)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:914)
at java.base/java.lang.Thread.run(Thread.java:834)
[TRACE] 2020-06-05 15:36:09,296 @ qz.utils.PrintingUtilities:?
Returning processor back to pool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment