Closed psz2036 closed 3 months ago
This isn't correct.
When data is piped into a backend, the CUPS filter/backend interface REQUIRES that the upstream filters have produced any copies, doing whatever processing is necessary to ensure correct printing.
Requires filters to do copies, despite manual_copies being off? And then, why would backend even look at copies? Your code, your bug.
LPD backend mis-handles num_copies and manual_copies. Issue observed at version 2.4.2 in Debian bookworm, present still in current "master" version. Patch tested against Debian, but for current version, below (in plain-text and as attached file).
Cheers, Paul
Paul Szabo psz@maths.usyd.edu.au www.maths.usyd.edu.au/u/psz School of Mathematics and Statistics University of Sydney Australia
psz-patch.txt