Public bug reported:
Ubuntu 16.04LTS
OS Version: 16.04.5
CUPS Version: 2.1.3
Ghostscript Version: 9.18
ppd updating unexpectedly after printing job finished
We(RICOH printer driver developer) got a bug report from the users of our
printer:
We changed the UI setting(DefaultRICyan, DefaultRIMagenta, DefaultRIYellow,
DefaultRIBlack) of the RICOH driver.
And confirmed the PPD setting(DefaultRICyan, DefaultRIMagenta, DefaultRIYellow,
DefaultRIBlack) in etc/cups/ppds/.ppd was changed correctly before printing.
When the printing job completed, We expected the PPD file is same with the one
before printing.
But after printing job completed, a part of setting in
etc/cups/ppds/.ppd(DefaultRICyan, DefaultRIMagenta, DefaultRIYellow,
DefaultRIBlack) was changed unexpectedly.
It seems be changed to the value in /usr/share/ppd/ricoh/.ppd.
According to the "CUPS Error Log" and the open source of CUPS, it seems that
CUPS Updated the PPD Setting after the printing job.
We doubt that CUPS didn't find a part of the keyword we changed in the PPD file.
Error Log
==
D [19/Jul/2019:19:05:52 +0800] cupsdSetBusyState: newbusy="Printing jobs and
dirty files", busy="Active clients, printing jobs, and dirty files"
D [19/Jul/2019:19:05:52 +0800] [Job 2] PID 2714
(/usr/lib/cups/filter/gstoraster) exited with no errors.
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET_NEXT: 25
(.1.3.6.1.2.1.43.8.2.1.13)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning .1.3.6.1.2.1.43.8.2.1.13.1.1
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET_NEXT: 29
(.1.3.6.1.2.1.43.8.2.1.13.1.1)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning .1.3.6.1.2.1.43.8.2.1.14.1.1 1
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET_NEXT: 25
(.1.3.6.1.2.1.43.8.2.1.13)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning .1.3.6.1.2.1.43.8.2.1.13.1.1
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET_NEXT: 29
(.1.3.6.1.2.1.43.8.2.1.13.1.1)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning .1.3.6.1.2.1.43.8.2.1.14.1.1 1
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET_NEXT: 34
(.1.3.6.1.4.1.367.3.2.1.2.11.3.1.2)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning
.1.3.6.1.4.1.367.3.2.1.2.11.3.1.2.1
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET_NEXT: 36
(.1.3.6.1.4.1.367.3.2.1.2.11.3.1.2.1)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning
.1.3.6.1.4.1.367.3.2.1.2.11.3.1.2.2
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET_NEXT: 36
(.1.3.6.1.4.1.367.3.2.1.2.11.3.1.2.2)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning
.1.3.6.1.4.1.367.3.2.1.2.13.3.0
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET: 38
(.1.3.6.1.4.1.367.3.2.1.2.18.2.1.7.1.1)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning
.1.3.6.1.4.1.367.3.2.1.2.18.2.1.7.1.1 6
D [19/Jul/2019:19:05:52 +0800] [Job 2] PPD: DefaultRIBlack=5※ppd loading
unexpectedly
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET: 38
(.1.3.6.1.4.1.367.3.2.1.2.18.2.1.7.1.2)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning
.1.3.6.1.4.1.367.3.2.1.2.18.2.1.7.1.2 6
D [19/Jul/2019:19:05:52 +0800] [Job 2] PPD: DefaultRICyan=5※ppd loading
unexpectedly
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET: 38
(.1.3.6.1.4.1.367.3.2.1.2.18.2.1.7.1.3)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning
.1.3.6.1.4.1.367.3.2.1.2.18.2.1.7.1.3 6
D [19/Jul/2019:19:05:52 +0800] [Job 2] PPD: DefaultRIMagenta=5 ※ppd loading
unexpectedly
D [19/Jul/2019:19:05:52 +0800] [Job 2] CUPS_SC_CMD_SNMP_GET: 38
(.1.3.6.1.4.1.367.3.2.1.2.18.2.1.7.1.4)
D [19/Jul/2019:19:05:52 +0800] [Job 2] Returning
.1.3.6.1.4.1.367.3.2.1.2.18.2.1.7.1.4 6
D [19/Jul/2019:19:05:52 +0800] [Job 2] PPD: DefaultRIYellow=5 ※ppd loading
unexpectedly
D [19/Jul/2019:19:05:52 +0800] [Job 2] Waiting for status monitor to stop
D [19/Jul/2019:19:05:53 +0800] [Job 2] Status monitor stopped
D [19/Jul/2019:19:05:53 +0800] [Job 2] Job finished
...
I [19/Jul/2019:19:05:53 +0800] Expiring subscriptions...
D [19/Jul/2019:19:05:53 +0800] cupsdMarkDirty(---J-)
D [19/Jul/2019:19:05:53 +0800] cupsdSetBusyState: newbusy="Printing jobs and
dirty files", busy="Printing jobs and dirty files"
D [19/Jul/2019:19:05:53 +0800] cupsdSetBusyState: newbusy="Printing jobs and
dirty files", busy="Printing jobs and dirty files"
D [19/Jul/2019:19:05:53 +0800] cupsdMarkDirty(S)
D [19/Jul/2019:19:05:53 +0800] cupsdSetBusyState: newbusy="Printing jobs and
dirty files", busy="Printing jobs and dirty files"
D [19/Jul/2019:19:05:53 +0800] cupsdMarkDirty(---J-)
D [19/Jul/2019:19:05:53 +0800] cupsdSetBusyState: newbusy="Printing jobs and
dirty files", busy="Printing jobs and dirty files"
D [19/Jul/2019:19:05:53 +0800] cupsdMarkDirty(---J-)
D [19/Jul/2019:19:05:53 +0800] cupsdSetBusyState: newbusy="Printing jobs and
dirty files", busy="Printing jobs and dirty files"
I [19/Jul/2019:19:05:53 +0800] Updating keywords in PPD file for