I just upgraded to 18.04LTS, I print over a network printer using CUPS.
Since my upgrade, when printing N copies of a PDF (through Okular or Evince), I get N^2 copies printed. However, when I use a direct call to CUPS: lp -d my-printer -n 5 example.pdf
I get the right number of copies (5 in this example).
I guess the applications are simply calling N times N copies.
Moreover, the printing options (stapling, etc.) are absent from the Options panel, and I need to tune them through the general Setting panel of Ubuntu.
What is the communication channel between applications and CUPS? How can I configure my printing "pipeline" so that it directly calls something like the lp
cmmand?
Thanks for your help!
Note: this is not the same situation as https://unix.stackexchange.com/questions/265538/cups-prints-n%C2%B2-as-many-copies-as-i-want since in their case, the lp command was giving also the wrong number of copies.