GNOME Bugzilla – Bug 728344
Collate setting in Print Dialog does not override PPD setting for Collate
Last modified: 2016-01-07 09:12:00 UTC
When Collate is set ON by Administrator for a print queue, unsetting Collate flag in print dialog does not affect Collate option setting passed to CUPS. Steps to reproduce: 1) Install a print queue: lpadmin -p collatetest -v socket://127.0.0.1:9100 -P Samsung_CLX-9252_9352_Series.ppd -o Collate=True -E 2) Run in terminal: nc -l 9100 > out.ps 3) Open a large text file with gedit, for example, /etc/services 4) Select File->Print... action 5) Select collatetest printer 6) Set Range: Pages: 1,2 7) Set Copies to 2 8) Uncheck Collate flag 9) Press Print 10) Check out.ps file. It will contain %%BeginFeature: *Collate True <</Collate true>> setpagedevice %%EndFeature entry, despite the Collate has been turned off
It turned out that the bug was actually on cups-filter[0]. Nevertheless, collation is determined by having "Collation True" in the job requirements. Other than that, collation is disabled. Instead of relying on this behavior (which could be backend-dependent), we could always propagate the Collate option. [0] https://bugzilla.redhat.com/show_bug.cgi?id=1295817#c0
Created attachment 318322 [details] [review] printing: always propagate Collate value
Review of attachment 318322 [details] [review]: The patch looks good to me. Push it to master please. Thanks
pushed to master as 98080e0289e311998fdc9f2ee61d2a3922e55c81