[cups-devel] CUPS job ticket confusionStephan

stephanwib at googlemail.com
Mon Mar 6 02:04:47 PST 2017


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 at googlemail.com>:
> 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


More information about the cups-devel mailing list