- Custom fork of QZ Tray 2.2.x with certificate validation bypassed - Implemented pairing key (HMAC) authentication as replacement - Modified files: PrintSocketClient.java (certificate check disabled) - New files: PairingAuth.java, PairingConfigDialog.java - Excluded build artifacts (out/, lib/javafx*) from repository - Library JARs included for dependency management
109 lines
1.4 KiB
JSON
109 lines
1.4 KiB
JSON
[
|
|
{
|
|
"use":{
|
|
"config": {
|
|
"size": {
|
|
"width": 100,
|
|
"height": 150
|
|
},
|
|
"units": "mm"
|
|
}
|
|
},
|
|
"for": {
|
|
"config": {
|
|
"size": {
|
|
"width": 4,
|
|
"height": 6
|
|
},
|
|
"units": "in"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"use": {
|
|
"printer": "PDF"
|
|
},
|
|
"for": {
|
|
"printer": "PDFwriter"
|
|
}
|
|
},
|
|
{
|
|
"use": {
|
|
"data": {
|
|
"options": {
|
|
"pageWidth": 8.5,
|
|
"pageHeight": 14
|
|
}
|
|
}
|
|
},
|
|
"for": {
|
|
"data": {
|
|
"options": {
|
|
"pageWidth": "8.5",
|
|
"pageHeight": "11"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"use": {
|
|
"query": "pdf"
|
|
},
|
|
"for": {
|
|
"query": "zzz"
|
|
}
|
|
},
|
|
{
|
|
"use": {
|
|
"config": {
|
|
"copies": 3
|
|
}
|
|
},
|
|
"for": {
|
|
"config": {
|
|
"copies": 1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"use": {
|
|
"printer": "PDFwriter"
|
|
},
|
|
"for": {
|
|
"caseSensitive": true,
|
|
"printer": "xps document writer"
|
|
}
|
|
},
|
|
{
|
|
"use": {
|
|
"data": {
|
|
"data": "https://yahoo.com"
|
|
}
|
|
},
|
|
"for": {
|
|
"data": {
|
|
"data": "https://demo.qz.io/assets/pdf_sample.pdf"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"use": {
|
|
"printer": "ZDesigner"
|
|
},
|
|
"for": {
|
|
"data": [ "^XA\n" ]
|
|
}
|
|
},
|
|
{
|
|
"use": {
|
|
"data": {
|
|
"type": "PIXEL"
|
|
}
|
|
},
|
|
"for": {
|
|
"data": {
|
|
"type": "pixel"
|
|
}
|
|
}
|
|
}
|
|
] |