CUPS doesnt work anymore with my HP Printer

Bug #2014976 reported by Rainer Weninger
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups-browsed (Ubuntu)
Fix Released
High
Unassigned
libppd (Ubuntu)
Fix Released
High
Unassigned

Bug Description

With 22.10, the autogenerated PPD has much more info inside then with 23.10. My printer needs about 5 Minutes now to start printing and prints only black and white, no colour.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: cups 2.4.2-1ubuntu4
ProcVersionSignature: Ubuntu 6.2.0-18.18-generic 6.2.6
Uname: Linux 6.2.0-18-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Sun Apr 2 00:57:13 2023
InstallationDate: Installed on 2022-10-13 (170 days ago)
InstallationMedia: Kubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Lpstat: device for HP_Color_LaserJet_MFP_M280nw_83DB46: implicitclass://HP_Color_LaserJet_MFP_M280nw_83DB46/
MachineType: ASUS System Product Name
Papersize: a4
PpdFiles: HP_Color_LaserJet_MFP_M280nw_83DB46: HP ColorLaserJet MFP M278-M281, driverless, 2.0b4
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-18-generic root=UUID=bbfb5c10-aebe-4f03-ba37-aa48af5e7bf8 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: Upgraded to lunar on 2023-03-31 (1 days ago)
dmi.bios.date: 12/03/2020
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1401
dmi.board.asset.tag: Default string
dmi.board.name: ROG STRIX B550-E GAMING
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1401:bd12/03/2020:br5.17:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnROGSTRIXB550-EGAMING:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: ASUS

Revision history for this message
Rainer Weninger (rweninger) wrote :
Changed in cups (Ubuntu):
status: New → In Progress
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I was able to reproduce the bug with the IPP printer emulation utility ippeveprinter (package cups-ipp-utils).

It is actually 2 bugs: One is that cups-browsed (which automatically creates a CUPS queue for your printer) sends PDF and not Apple Raster to your printer, and your printer is slow on processing the complex PDF format. I have done a fix on the upstream code now that if the destination printer supports both Apple Raster and PDF, the former gets preferred. This way the computer and not the printer renders and rasterizes the PDF input, and the computer has usually a much higher performance for doing this work.

Upstream fix in cups-browsed:

https://github.com/OpenPrinting/cups-browsed/commit/3eb66da

The monochrome output is due to a bug in the PPD file generator for driverless IPP printers. If the printer reports "auto" as default for the color output mode, it selects gray instead of RGB as default. This I have fixed in libppd now:

https://github.com/OpenPrinting/libppd/commit/1934a6c341

These fixes will be included in the next uploads of libppd and cups-browsed.

Changed in cups (Ubuntu):
importance: Undecided → High
affects: cups (Ubuntu) → cups-browsed (Ubuntu)
Changed in libppd (Ubuntu):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libppd - 2:2.0~rc1-0ubuntu1

---------------
libppd (2:2.0~rc1-0ubuntu1) lunar; urgency=medium

  * New upstream release 2.0rc1.
    - PPD generator sets default color mode when printer attrs say "auto"
      now (LP: #2014976).
    - ppdLoadAttributes() finds the default page size also by size dimensions
      now (LP: #2013131).
  * Removed patches as these fixes are included upstream.
  * Updated libppd2.symbols.

 -- Till Kamppeter <email address hidden> Wed, 12 Apr 2023 00:12:27 +0200

Changed in libppd (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Rainer Weninger (rweninger) wrote :

I applied the fix, but still have the issue that printing takes ages.

Also I still cant print in colour.

Interesting is, when I delete the job in the print queue, the printer starts printing ASAP.

Revision history for this message
Rainer Weninger (rweninger) wrote :

Also I tried with Ubuntu 22.10, there everything works perfect. I got 2x Ubuntu 22.10 where it works and 2x Ubuntu 23.04 where it doesnt.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups-browsed - 2.0~rc1-0ubuntu1

---------------
cups-browsed (2.0~rc1-0ubuntu1) lunar; urgency=medium

  * New upstream release 2.0rc1.
    - Prefer Apple Raster against PDF when destination printer supports
      both (LP: #2014976).
    - Fixed crasher in implicitclass backend.
  * Removed 0003-implicitclass-backend-init-header-pointer.patch,
    included upstream.
  * Updated AppArmor profile, as with libcupsfilters 2.0rc1 cups-browsed
    executes ippfind and echo, so allow the execution under the same
    restrictions as they are already applied to cups-browsed itself.

 -- Till Kamppeter <email address hidden> Wed, 12 Apr 2023 13:11:57 +0200

Changed in cups-browsed (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.