[IPP] printing job with different finishings

[IPP] printing job with different finishings

Tobias Wendorff tobias.wendorff at tu-dortmund.de
Thu May 9 14:38:39 UTC 2024


Hi Michael,

thanks for the reply.

On 09.05.2024, at 15:48, Michael Sweet wrote:
> So *if* your printer supports the page overrides specification (PWG 5100.6), you can specify that kind of job ticket.  Look for the "overrides-supported" attribute in the printer attributes (get-printer-attributes.test can be used for this).

Sadly, it doesn't list "finishings":
overrides-supported (1setOf keyword) = 
pages,document-numbers,media,media-color,media-size,media-size-name,media-source,media-type,sides

But surprisingly, the "Validate-Job" passed!
"validate.job":
     Validate-Job:
         attributes-charset (charset) = utf-8
         attributes-natural-language (naturalLanguage) = en
         printer-uri (uri) = ipp://192.168.110.21/ipp/print
         requesting-user-name (nameWithoutLanguage) = michael_sweet
         document-format (mimeMediaType) = application/pdf
         sides (keyword) = two-sided-long-edge
         finishings (enum) = staple
         print-color-mode (keyword) = monochrome
         overrides (collection) = {document-numbers=1-1 pages=1-2 
sides=one-sided finishings=none print-color-mode=color}
     validate 
  [PASS]
         RECEIVED: 105 bytes in response
         status-code = successful-ok-ignored-or-substituted-attributes 
(successful-ok-ignored-or-substituted-attributes)
         attributes-charset (charset) = utf-8
         attributes-natural-language (naturalLanguage) = en
         urf-resolution-preferred (integer) = 600

We have a public holiday today, I will try this out in the office on 
Monday at the latest! Thank you very much.

>> Even after numerous misprints, I couldn't manage to create such a complex job. As a result, the cover letter and questionnaire are printed separately and then assigned manually. This is error-prone work when 300 questionnaires have to be sent out.
> 
> One thing you can do is submit separate jobs from the same ipptool file - at least then the output will end up on the output tray in the right order.

True, I've already thought about that. I would then have to send two 
"Print-Job" in one file. Can I assume that consecutive IDs will always 
be printed consecutively if they have the same priority? What probably 
won't work is the offset in the output, i.e. cover letter 1 + 
questionnaire 1 "left", cover letter 2 + questionnaire 2 "right", cover 
letter 3 + questionnaire 3 "left", etc.?

It's a pity that you can't assign a finishing per document for 
"Create-Job" and "Send-Document". Finishing obviously always refers to 
the complete job.

Incidentally, during my experiments I noticed that "Validate-Job" cannot 
be used in combination with "Create-Job" and "Send-Document". I now 
always send a "Cancel-Job" after it so that the printer does not print a 
page. Unfortunately, the job counter then counts up :-)

But maybe we don't have to worry about that anymore \o/

Best regards,
Tobias


More information about the ipp mailing list