Default page size A4 not selected properly and duplex print failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
With HP OfficeJet 7740 Pro A3/A4 duplex printer the A4 page size is not selected properly and results in an incorrectly sized test page: "Media limits: 0.42 x 0.42 to 27.52 x 35.14 cm". In the printer set-up summary the media is described as "unknown" when A4 is selected as the default. If either A5 or A3 are selected, the media is described correctly in the summary - "iso_a5_148x210mm" or "iso_a3_297x420mm" - and the test pages print perfectly, with correct media limits shown.
When attempting to print A4 duplex the print fails due to a printer "jam", though printing the same document in duplex works properly using both the HP-Smart app on an Android phone and CUPS version 2.2.7-150000.3.51.2 on an OpenSuSE Leap 15.5 system. Therefore I think the "jam" is the printer thinking the paper should be larger than it is, expecting 35.66cm (35.14 + 0.42) when the A4 paper is of course only 29.7cm long.
On the OpenSuSE system the media is described correctly in the printer summary for the default A4 size paper.
I've looked at and compared PPD files in /etc/cups/ppd/ and cannot see anything amiss with the sizes mentioned for A4. I think the problem must lie in it assuming a size of 35.66cm when A4 is selected, i.e. it defaulting to "unknown" media, whatever that is.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: cups 2.4.2-3ubuntu2.5
ProcVersionSign
Uname: Linux 6.2.0-35-generic x86_64
ApportVersion: 2.26.1-0ubuntu2.1
Architecture: amd64
CasperMD5CheckR
CupsErrorLog:
W [24/Oct/
W [24/Oct/
W [24/Oct/
CurrentDesktop: KDE
Date: Tue Oct 24 12:07:03 2023
InstallationDate: Installed on 2023-02-27 (238 days ago)
InstallationMedia: Kubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
KernLog:
Lpstat:
device for HP7740: socket:
device for HP_OfficeJet_
device for OfficeJet_
MachineType: Intel(R) Client Systems NUC12WSHi5
Papersize: A4
PpdFiles:
Error: command ['fgrep', '-H', '*NickName', '/etc/cups/
grep: /etc/cups/
grep: /etc/cups/
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
UpgradeStatus: Upgraded to lunar on 2023-05-22 (154 days ago)
dmi.bios.date: 07/18/2022
dmi.bios.release: 5.26
dmi.bios.vendor: Intel Corp.
dmi.bios.version: WSADL357.
dmi.board.name: NUC12WSBi5
dmi.board.vendor: Intel Corporation
dmi.board.version: M46425-302
dmi.chassis.type: 35
dmi.chassis.vendor: Intel Corporation
dmi.chassis.
dmi.modalias: dmi:bvnIntelCor
dmi.product.family: WS
dmi.product.name: NUC12WSHi5
dmi.product.sku: NUC12WSHi5000
dmi.product.
dmi.sys.vendor: Intel(R) Client Systems
I have the same issue on arch so most likely a cups issue. I reported a issue over there in case you want to add to it there: https:/ /github. com/OpenPrintin g/cups/ issues/ 811