Good morning
We are experiencing on Ubuntu 18.04 with CUPS 2.2.7 this strange problem.
We use Ubuntu 18.04 clients to print to raw queues on a Ubuntu 18.04 server.
We do this for print accounting and control in our application.
We do many many tests, on Ubuntu 18.04, Kubuntu 18.04, Ubuntu 19.04, and
to finish, on Debian 9 (with CUPS 2.2.1)
For our testing, we create a printer called MYREMOTEPRINTER .
This is the name of the raw queue on server and, to keep it simple, the name of
the printer for the clients.
Each time we print a document (from Firefox, evince, and many others
applications), asking 2 ou more copies, we get 2^2, or 3^3 and so on copies.
Same behaviour if we print from command line ("lp -d MYREMOTEPRINTER -n 2
MyDocument.PDF").
A document of 3 pages, 2 copies, will generate 3 * 2^2 pages = 12 pages instead
of 6.
And if you want to print just a unique page, 10 copies, you will get 100 pages !
This problem did not exist on Ubuntu 14.04 with CUPS 1.7.2
The same problem has been opened (and closed, without any explanations) on
GitHub here :
https://github.com/apple/cups/issues/5015
(were I posted too this comment)
We discovered also that if we declare the remote printer as :
lpd://REMOTESERVER/MYREMOTEPRINTER
instead of
ipp://REMOTESERVER/printers/MYREMOTEPRINTER
(and declare cups-ldp in inetd.conf, of course) problem is not present.
This doesn't seem just an Ubuntu bug (Debian has same problem), but if
it is a CUPS problem, I don't understand why it has been closed by its
developer.
Do you think this bug could be solved in current Ubuntu 18.04 LTS ?
Best regards
Marco
** Bug watch added: github.com/apple/cups/issues #5015
https://github.com/apple/cups/issues/5015
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1785644
Title:
Squared number (N^2) of copies printed
Status in cups package in Ubuntu:
Confirmed
Bug description:
I wanted to print 4 copies of a 3-pages document (12 pages total) and
instead 16 copies (48 pages) were printed.
Using latest Ubuntu with all updates, Gnome Shell on Xorg, I opened a
PDF file in Evince 3.28.2-1, clicked "Print", clicked "+" button
several times to increase the number of copies to 4, and sent it
printing on Xerox_AltaLink_C8030. That network printer was previously
auto-detected with default drivers.
access_log only has one line at that time:
localhost - - [06/Aug/2018:16:28:14 +0200] "POST
/printers/Xerox_AltaLink_C8030 HTTP/1.1" 200 64269 Print-Job successful-ok
error_log doesn’t have anything related.
I am attaching the print job captured per
https://wiki.ubuntu.com/DebuggingPrintingProblems#Capturing_print_job_data
On the cups page with completed jobs
http://localhost:631/printers/Xerox_AltaLink_C8030?which_jobs=completed
the amount of pages is shown as "48".
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cups 2.2.7-1ubuntu2.1
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Aug 6 16:12:58 2018
InstallationDate: Installed on 2018-05-02 (96 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Lpstat:
device for Lexmark_M3150_10_: ipp://ET0021B7C1D744.local:631/ipp/print
device for WorkCentre-7120: socket://10.2.20.114
device for Xerox_AltaLink_C8030: ipp://XRX9C934E98F100.local:631/ipp/print
device for Xerox_VersaLink_C505_8c_ab_2c_4_:
ipps://XC8cab2c.local:631/ipp/print
device for Xerox_VersaLink_C505_8c_ab_50_7_:
ipps://XC8cab50.local:631/ipp/print
MachineType: Dell Inc. OptiPlex 7020
Papersize: a4
PpdFiles:
Error: command ['fgrep', '-H', '*NickName',
'/etc/cups/ppd/Xerox_VersaLink_C505_8c_ab_50_7_.ppd',
'/etc/cups/ppd/Xerox_AltaLink_C8030.ppd',
'/etc/cups/ppd/Xerox_VersaLink_C505_8c_ab_2c_4_.ppd',
'/etc/cups/ppd/WorkCentre-7120.ppd', '/etc/cups/ppd/Lexmark_M3150_10_.ppd']
failed with exit code 2: grep:
/etc/cups/ppd/Xerox_VersaLink_C505_8c_ab_50_7_.ppd: Permission denied
Xerox_AltaLink_C8030: AltaLink C8030
grep: /etc/cups/ppd/Xerox_VersaLink_C505_8c_ab_2c_4_.ppd: Permission denied
grep: /etc/cups/ppd/WorkCentre-7120.ppd: Permission denied
grep: /etc/cups/ppd/Lexmark_M3150_10_.ppd: Permission denied
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=
LANG=de_DE.UTF-8
SHELL=/usr/bin/fish
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-29-generic
root=UUID=3fd92192-fa04-40ea-ac71-f1dff8e153f7 ro quiet splash vt.handoff=1
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/25/2014
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A00
dmi.board.name: 02YYK5
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: