This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-05-15 15:09:38,962 [INFO] Try to find SSL properties file... | |
2020-05-15 15:09:39,202 [INFO] Found /Applications/QZ Tray.app/qz-tray.properties | |
2020-05-15 15:09:39,204 [DEBUG] Executing: [whoami] | |
2020-05-15 15:09:39,241 [INFO] Wrote Cert: "/var/folders/yl/qp14ff7n6zx890rjg9t78s100000gn/T/root-ca-8276558679513846169.crt" | |
2020-05-15 15:09:39,241 [DEBUG] Executing: [security, verify-cert, -c, /var/folders/yl/qp14ff7n6zx890rjg9t78s100000gn/T/root-ca-8276558679513846169.crt] | |
2020-05-15 15:09:39,250 [DEBUG] Parsed hostNames: localhost, localhost.qz.io | |
2020-05-15 15:09:39,250 [INFO] Email address [email protected] found, assuming CertProvider is INTERNAL | |
2020-05-15 15:09:39,251 [INFO] Starting QZ Tray 2.1.0 | |
2020-05-15 15:09:39,280 [WARN] Could not load file: /Users/lite/Library/Application Support/qz/prefs.properties, reason: /Users/lite/Library/Application Support/qz/prefs.properties (No such file or directory) | |
2020-05-15 15:09:40,883 [DEBUG] Using trusted root certificate: CN=qzindustries.com, O=QZ Industries, LLC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Found 15 printers | |
[DEBUG] 2020-04-29 21:11:34,971 @ qz.printer.PrintServiceMatcher:? | |
Found match: Microsoft XPS Document Writer | |
[DEBUG] 2020-04-29 21:11:38,451 @ qz.ws.PrintSocketClient:? | |
Message: {"call":"print","promise":{},"params":{"printer":{"name":"Microsoft XPS Document Writer"},"options":{"colorType":"color","copies":"1","density":"","duplex":false,"fallbackDensity":null,"interpolation":"","jobName":"","legacy":false,"margins":"0","orientation":"","paperThickness":"","printerTray":"","rasterize":true,"rotation":"0","scaleContent":true,"size":null,"units":"in","altPrinting":false,"encoding":"","endOfDoc":"","perSpool":"1"},"data":[{"type":"html","format":"plain","data":"<html> <table style=\"font-family: monospace; border: 1px;\"> <tr style=\"height: 6cm;\"> <td valign=\"top\"><h2>* QZ Print Plugin HTML Printing *</h2><span style=\"color: #F00;\">Version:</span> 2.0.11<br/><span style=\"color: #F00;\">Visit:</span> https://qz.io/</td> <td |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Found 15 printers | |
[DEBUG] 2020-04-29 19:53:58,958 @ qz.printer.PrintServiceMatcher:? | |
Found match: Microsoft XPS Document Writer | |
[DEBUG] 2020-04-29 19:54:01,808 @ qz.ws.PrintSocketClient:? | |
Message: {"call":"print","promise":{},"params":{"printer":{"name":"Microsoft XPS Document Writer"},"options":{"colorType":"color","copies":"1","density":"","duplex":false,"fallbackDensity":null,"interpolation":"","jobName":"","legacy":false,"margins":"0","orientation":"","paperThickness":"","printerTray":"","rasterize":true,"rotation":"0","scaleContent":true,"size":null,"units":"in","altPrinting":false,"encoding":"","endOfDoc":"","perSpool":"1"},"data":[{"type":"html","format":"plain","data":"<html> <table style=\"font-family: monospace; border: 1px;\"> <tr style=\"height: 6cm;\"> <td valign=\"top\"><h2>* QZ Print Plugin HTML Printing *</h2><span style=\"color: #F00;\">Version:</span> 2.0.12-RC1<br/><span style=\"color: #F00;\">Visit:</span> https://qz.io/</td> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ThermalTest { | |
public static void main(String[] args) throws Exception { | |
//print directly | |
new VectorPrintable(); | |
//print via pdfbox | |
new PdfboxPrintable(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function printESCP() { | |
var config = qz.configs.create("Epson-TM-BA-Thermal"); | |
var data = [{ | |
type: 'html', | |
format: 'plain', // or 'plain' if the data is raw HTML | |
data: ' <html><header><title>This is the title</title></header><body>Hello world</body></html>' | |
}]; | |
qz.print(config, data) | |
.then(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My function: | |
var data = 'http://192.168.1.8/demo/assets/serialURLtest.txt'; | |
function sendSerialData(){ | |
var properties = { | |
baudRate: 9600, | |
dataBits: 7, // <--- Changed from 8 | |
stopBits: 1, | |
parity: 'EVEN', // <--- Changed from NONE | |
flowControl: 'NONE' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My function: | |
var data = 'W\n'; | |
function sendSerialData(){ | |
var properties = { | |
baudRate: 9600, | |
dataBits: 7, // <--- Changed from 8 | |
stopBits: 1, | |
parity: 'EVEN', // <--- Changed from NONE | |
flowControl: 'NONE' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Authentication setup /// | |
qz.security.setCertificatePromise(function(resolve, reject) { | |
//Preferred method - from server | |
$.ajax("../Scripts/qz/assets/signing/digital-certificate.txt?2018").then(resolve, reject); | |
}); | |
qz.security.setSignaturePromise(function(toSign) { | |
return function(resolve, reject) { | |
//Preferred method - from server | |
$.ajax({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PK q¸¥L1voA t l label.xmlSDW ¤ ¥¸cd`ia``0`€ fd3YEDQùþù³d®–7öE¼dÆ/ÇÄÁÀ–aøÏ(ÏÀÈQ+¦$ bL1 ¡ f«@Äñ˜ UT | |
†pîZ†pîZ†pîZíVMs£8ý+*öc;Î&“ | |
™²Øb‹8®˜ÔNŽBÈ 5H”{~ý´$À8³‡á¾¾µôúãõSÃÃ×cY ïTÖLpÏ™M¦¢œˆ”ñÌsÞâàêÎùúøP©ûT¦¤\! ðú¾Rž“+UÝ»nMrZâz’H¡r*'Œï…[)ÑÜO§·n‘Ý3î´ØZ | |
:n ^ÑãÈèÑ¡S‰?Æ¡5¢C³g#s7Ÿ` ìŽôЂú | |
°Â ®G:éP=‹8Ûéðd<žXü@n7Ê(§+!=g{e ÈO¬ÑÍd>™Î®Ñ?Œ§â£vŒ‘ži¤-îrJA æÍ”2I‰2®£øÎÙÜ×fŸã’žÏv{®¨D%MöÿKUî9ó»» | |
“S–åaq=×ËËŒñˆîµir}6Å¢òœ»ÉŸgËkžZ ¥D©Þj£jÀ6ßJH%13n”ˆ(Ït{\膕‚’KQÒ'VW>yŽ’ | |
lT’qµ…ýF9ïÔá“©ÌTj,žóG`~1ä0MÍÏAà‡Aæ@ç^Èë"æ`N09dR4<¡ÓÔºÔA fó›/·½ec¸^Y- øéj¡]»é¤QãIš5–ë‚L5%{I©YÏ긙¸èØóyêÙîúuûe²¸èØlaYNdSç;;q6oQÔZÂÔTÐÔTn±‚”¡›—aj‘–´Ž¡3·›¦L¨4dé<?³«mÛ_"@É"ùÔZ?>èéd†ÚÀl2[±©wDHŠêÙL£õËö}ëo@}<+ls1'¹ö¿l#?ˆ¡9«Z’L¢å¨k2ûàÉMŸè{¿ü-1¦A—®«,=“Kæ)M‘¥Ó | |
2Žaâ´¢ä`-áî(úLeFc¸ªz¨DË•Eá.þ¼ªh'•‹Î+ã‡Üê¦îNi‹Ý„ÔÜ˷ͯT ¸ | |
af¶†BdÚÒ¥d¸è;A˜Â#ýeÿè$ ©!9–;]¦‰)’/yà’ ¡ë…ÎÁD؃{ÿ¨Ýï!«þÊ…«F%$meP+ÉT4ÖaÍ~€y¾°ó+ÛÙåÝÄLKíwý©QÚö«ôL§Ýÿ.ÝzáJŠÚnþ='¿ùOÁëòø$ Ã@bÚúq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```js | |
/** | |
* Boca Lemur FGL 26 | |
* | |
* PDFBOX auto-rotates and then aligns to opposite edge of | |
* document as Adobe which cuts off content. | |
* | |
* Concert Ticket should be combined with P1 to correct edge | |
* Then QZ needs 180 rotate to counter | |
* |