CUPS doesnt work anymore with my HP Printer
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
ProcVersionSign
Uname: Linux 6.2.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
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_
MachineType: ASUS System Product Name
Papersize: a4
PpdFiles: HP_Color_
ProcKernelCmdLine: BOOT_IMAGE=
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.
dmi.board.name: ROG STRIX B550-E GAMING
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: ASUS
Changed in cups (Ubuntu): | |
status: | New → In Progress |
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/OpenPrintin g/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/OpenPrintin g/libppd/ commit/ 1934a6c341
These fixes will be included in the next uploads of libppd and cups-browsed.