[Printing-architecture] Number of copies in pure PDF workflow

Till Kamppeter till.kamppeter at gmail.com
Fri Oct 17 16:40:13 UTC 2014


Thank you very much.

Pushed the attached additional patch to the BZR repo (rev. 7300).

   Till

On 10/17/2014 06:22 PM, Alex Korobkin wrote:
> 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 <mailto: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 --------------
A non-text attachment was scrubbed...
Name: pjlcollate-v2.patch
Type: text/x-patch
Size: 848 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/printing-architecture/attachments/20141017/817c9da2/attachment.bin>


More information about the Printing-architecture mailing list