[Printing-architecture] Number of copies in pure PDF workflow
Alex Korobkin
korobkin+op at gmail.com
Fri Oct 17 16:22:56 UTC 2014
Works beautifully, thank you. And thanks for digging up the exact rules of
QTY and COPIES application.
2014-10-16 16:59 GMT-04:00 Tobias Hoffmann <lprint-list at thax.hardliners.org>
:
> On 16/10/14 18:52, Alex Korobkin wrote:
>
>> Turns out, there should be one additional line for collate to work with
>> multiple copies and multiple pages:
>> PJL SET QTY=X
>>
>> Could you please modify your patch to generate two lines at once: PJL SET
>> COPIES=X and PJL SET QTY=X?
>>
> The attached patch does that. It's based on BZR rev. 7299, which already
> includes the SET COPIES modifications (Till also posted the corresponding
> .patch, earlier).
>
> I did some research, though... and it seem that (only) "SET COPIES" should
> be used for non-collated and only(!) "SET QTY" should be used for collated
> duplicates.
> Please do try whether just SET QTY is enough:
> if (param.deviceCollate) {
> snprintf(ppd->jcl_ps, size, "@PJL SET QTY=%d\n%s",
> param.deviceCopies, attr->value);
> } else {
> [...]
>
> Tobias
>
>
>
>
--
-Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/printing-architecture/attachments/20141017/3e906131/attachment.html>
More information about the Printing-architecture
mailing list