Public bug reported: 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 ProcVersionSignature: Ubuntu 6.2.0-35.35-generic 6.2.16 Uname: Linux 6.2.0-35-generic x86_64 ApportVersion: 2.26.1-0ubuntu2.1 Architecture: amd64 CasperMD5CheckResult: pass CupsErrorLog: W [24/Oct/2023:11:30:09 +0100] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103 W [24/Oct/2023:11:30:16 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_OfficeJet_Pro_7740_series_B7D1A6-Gray..\' already exists W [24/Oct/2023:11:30:16 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_OfficeJet_Pro_7740_series_B7D1A6-DeviceN..\' already exists 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://hp7740c:9100 device for HP_OfficeJet_Pro_7740_series_B7D1A6: implicitclass://HP_OfficeJet_Pro_7740_series_B7D1A6/ device for OfficeJet_Pro_7740-HPLIP: hp:/net/OfficeJet_Pro_7740_series?ip=192.168.10.22 MachineType: Intel(R) Client Systems NUC12WSHi5 Papersize: A4 PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/OfficeJet_Pro_7740-HPLIP.ppd', '/etc/cups/ppd/HP7740.ppd', '/etc/cups/ppd/HP_OfficeJet_Pro_7740_series_B7D1A6.ppd'] failed with exit code 2: grep: /etc/cups/ppd/OfficeJet_Pro_7740-HPLIP.ppd: Permission denied grep: /etc/cups/ppd/HP7740.ppd: Permission denied grep: /etc/cups/ppd/HP_OfficeJet_Pro_7740_series_B7D1A6.ppd: Permission denied ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.2.0-35-generic root=/dev/mapper/vgkubuntu-root ro quiet splash vt.handoff=7 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.0085.2022.0718.1739 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.version: 2.0 dmi.modalias: dmi:bvnIntelCorp.:bvrWSADL357.0085.2022.0718.1739:bd07/18/2022:br5.26:svnIntel(R)ClientSystems:pnNUC12WSHi5:pvrM46655-302:rvnIntelCorporation:rnNUC12WSBi5:rvrM46425-302:cvnIntelCorporation:ct35:cvr2.0:skuNUC12WSHi5000: dmi.product.family: WS dmi.product.name: NUC12WSHi5 dmi.product.sku: NUC12WSHi5000 dmi.product.version: M46655-302 dmi.sys.vendor: Intel(R) Client Systems ** Affects: cups (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug lunar ** Attachment added: "HP7740.ppd" https://bugs.launchpad.net/bugs/2040270/+attachment/5712829/+files/HP7740.ppd -- 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/2040270 Title: Default page size A4 not selected properly and duplex print failing Status in cups package in Ubuntu: New 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 ProcVersionSignature: Ubuntu 6.2.0-35.35-generic 6.2.16 Uname: Linux 6.2.0-35-generic x86_64 ApportVersion: 2.26.1-0ubuntu2.1 Architecture: amd64 CasperMD5CheckResult: pass CupsErrorLog: W [24/Oct/2023:11:30:09 +0100] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103 W [24/Oct/2023:11:30:16 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_OfficeJet_Pro_7740_series_B7D1A6-Gray..\' already exists W [24/Oct/2023:11:30:16 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_OfficeJet_Pro_7740_series_B7D1A6-DeviceN..\' already exists 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://hp7740c:9100 device for HP_OfficeJet_Pro_7740_series_B7D1A6: implicitclass://HP_OfficeJet_Pro_7740_series_B7D1A6/ device for OfficeJet_Pro_7740-HPLIP: hp:/net/OfficeJet_Pro_7740_series?ip=192.168.10.22 MachineType: Intel(R) Client Systems NUC12WSHi5 Papersize: A4 PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/OfficeJet_Pro_7740-HPLIP.ppd', '/etc/cups/ppd/HP7740.ppd', '/etc/cups/ppd/HP_OfficeJet_Pro_7740_series_B7D1A6.ppd'] failed with exit code 2: grep: /etc/cups/ppd/OfficeJet_Pro_7740-HPLIP.ppd: Permission denied grep: /etc/cups/ppd/HP7740.ppd: Permission denied grep: /etc/cups/ppd/HP_OfficeJet_Pro_7740_series_B7D1A6.ppd: Permission denied ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.2.0-35-generic root=/dev/mapper/vgkubuntu-root ro quiet splash vt.handoff=7 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.0085.2022.0718.1739 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.version: 2.0 dmi.modalias: dmi:bvnIntelCorp.:bvrWSADL357.0085.2022.0718.1739:bd07/18/2022:br5.26:svnIntel(R)ClientSystems:pnNUC12WSHi5:pvrM46655-302:rvnIntelCorporation:rnNUC12WSBi5:rvrM46425-302:cvnIntelCorporation:ct35:cvr2.0:skuNUC12WSHi5000: dmi.product.family: WS dmi.product.name: NUC12WSHi5 dmi.product.sku: NUC12WSHi5000 dmi.product.version: M46655-302 dmi.sys.vendor: Intel(R) Client Systems To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/2040270/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp