Closed QuadeHale closed 11 months ago
hi,
nice to hear! can you provide me with an example control file?
I can't without revealing internal data...
Here is a snippet from testipp
though:
job-name (nameWithoutLanguage): default-testpage.pdf
copies (integer): 1
finishings (enum): none
InputSlot (nameWithoutLanguage): Tray2
job-hold-until (nameWithoutLanguage): no-hold
job-priority (integer): 50
job-sheets (1setOf nameWithoutLanguage): none,none
number-up (integer): 1
job-uuid (uri): urn:uuid:248e2379-59f9-3793-7ae3-c017725d6ea0
job-originating-host-name (nameWithoutLanguage): localhost
You can see InputSlot and Tray2 in there. There are also other, per-printer options such as duplex printing that don't show up either. If you broke out anything you couldn't identify in to a customPrinterOptions
object with a key: value array, that'd work.
Thanks - I'll try to organize an appropriate control file. Shouldn't be difficult - maybe I'll have tomorrow or at the weekend some spare time for that :-)
I added the InputTray attribute. Is that the desired output?
{
"OperationsAttributesTag": {
"AttributesCharset": "utf-8",
"AttributesNaturalLanguage": "\u0005en-us\u0002"
},
"JobAttributesTag": {
"PrinterUri": "ipp://localhost/printers/MFC-7820N",
"JobOriginatingUserName": "reinhard",
"JobName": "Die Anmeldung zum Online-Check-in ist abgeschlossen _ B&B HOTELS",
"Copies": 1,
"DocumentFormat": "application/pdf",
"JobPriority": 50,
"JobUuid": "urn:uuid:202bced3-1202-3f96-5eed-530dd15d2666",
"JobOriginatingHostName": "localhost",
"TimeAtCreation": 1699698471,
"TimeAtProcessing": 1699698472,
"TimeAtCompleted": 1699698498,
"JobId": 54,
"JobState": "68 unknown",
"JobStateReasons": null,
"JobMediaSheetsCompleted": 1869443180,
"JobPrinterUri": "ipp://tuxedo3/printers/MFC-7820N",
"JobKOctets": 103,
"JobHoldUntil": "no-hold",
"JobSheets": "none,none",
"JobPrinterStateMessage": "Use \"pdftops-renderer\" option (see cups-filters README file) to use Ghostscript or MuPDF for the PDF -> PostScript conversion.",
"JobPrinterStateReasons": "job-canceled-by-user",
"InputTray": "Tray1"
}
}
should be fixed
Hello - This project has proved very valuable for me and I appreciate it. If it's possible to include custom options in the JSON as well, that'd be great - stuff like
InputSlot=Tray3
isn't showing up when it's specified on the command line, but it exists in the control file.