Skip to content

CUPS put incorrect Reason to printers.conf #1460

@ValdikSS

Description

@ValdikSS

Describe the bug

I'm not really sure how did this happen, but I ended up with broken printer due to incorrect IPP job-printer-state-reasons keyword, caused by the following data in printers.conf:

Reason DEBUG:
Reason Ghostscript
Reason using
Reason Any-Part-of-Pixel
Reason method
Reason to
Reason fill
Reason paths.

Prior to this, I did the following to replace the PPD file and clear its data:

systemctl stop cups; rm /var/cache/cups/*; cp /tmp/ppd.ppd /etc/cups/ppd/Canon_LASER_SHOT_LBP-1120.ppd; systemctl start cups

However I did not clean the jobs from /var/spool/cups/, and the c00009 job file also contains this text.

System Information:

  • OS and its version: Debian 12
  • CUPS version: 2.4.2-3+deb12u9 with additional patches

Canon_LASER_SHOT_LBP-1120.ipptool.txt
printers.conf.txt
c00009.zip

Metadata

Metadata

Assignees

Labels

wontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions