Re: [cups-devel] CUPS job ticket confusion
Stephan <stephanwib-gM/[email protected]> Mon, 6 Mar 2017 11:04:47 +0100
| Newsgroups | gmane.comp.printing.cups.devel |
|---|---|
| Message-ID | <CABZpUSUC-ak9C8B8r7PqXgTOxsHsJQhdBQ24prJvrteh5i5h_w@mail.gmail.com> |
I found out that I need to use ipptool with the print-job test to get this working, as lpr seems to send Create-Job+Send-Document. However, I am still very unsure as for the possible parameters. Sticking to my example, I can only select the paper source using the PPD syntax (%cupsJobTicket: inputslot=tray1), not with the IPP syntax (%cupsJobTicket: media-source=tray-1). However, other options provided in IPP syntax work, e.g. (%cupsJobTicket: sides=two-sided-long-edge, %cupsJobTicket: print-color-mode=monochrome). Is there an overview on the options which can clarify this? 2017-03-06 10:22 GMT+01:00 Stephan <stephanwib-gM/[email protected]>: > Hi! > > I am confused by how cups job tickets work as there is not that > detailed information available. My understanding is that it is > possible to insert %cupsJobTicket statements into PS and PDF files, > e.g.: > > %PDF-1.5 > %cupsJobTicket: sides=two-sided-long-edge > > I tried with various files and options but none of them were applied. > Are there specific prerequisites? Which format of options is to be > used, PPD (e.g. InputSlot=Tray1) or IPP (e.g. media-source=tray-1) or > both? > > > Thanks and regards, > > Stephan