[cups] cups 2 printersetup for one (hardware) printer

Simon Becherer simon at becherer.de
Mon Mar 4 08:25:41 PST 2024


Hi list,


i have asked this question end of last year also on
an opensuse mailing list but get no answer to solve my
problem.

i am on cups 2.4.2 at opensuse tumbleweed not completely up to
date.

but i think this is more or less a general question:


since years i use 2 (or more) printer setups in cups
to use one printer.
-> for different "standard" settings
lets say its a color printer, but to save
money often i like to print black and white.

so i define a printer with the .ppd file and same
printer adress twice, one with color settings one with
settings black and white.

now i have not to click and search all the printer
settings to set up this 2 main settings.
instead if i like to print color, i use the "color printer,
or the foto-setting-printer or the black-and-white printer.

since years i have used this with
different printers "hp" and "qms"
was working.

since about a year i own a "sharp mx3060"
i do not know if cups has changed anything or
if its the printer.
but it did not work any more.

i have 2 stored ppd's inside etc/cups/ppd/...
"sharp_mx-306N-sw" (black and white)
"sharp_mx-306N" (colorsettings)

but after i print something in one or the other,
it changed settings for both.
not inside the ppd file (it has always the same timestamp
and is not changed since setup the printer), but somwhere else.

the etc/cups/printers.conf
show the "2" printers

</Printer>
<Printer SHARP_MX-3060N>
PrinterId 6
UUID urn:uuid:959c4210-b868-3eea-7a36-b457b2df28a9
AuthInfoRequired none
Info SHARP MX-3060NPCL_PS
Location oben
MakeModel Sharp MX-3060N PS, 1.2
DeviceURI ipp://192.168.0.11/ipp
State Idle
StateTime 1700126750
ConfigTime 1656701711
Type 8401116
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-colors \#00FFFF,#FF00FF,#FFFF00,#000000
Attribute marker-levels 50,91,27,96,0,53,53,53,87,77,77,77,66,-1
Attribute marker-low-levels 1,1,1,1
Attribute marker-high-levels 100,100,100,100
Attribute marker-names cyan,magenta,yellow,black
Attribute marker-types toner,toner,toner,toner
Attribute marker-change-time 1700126750
</Printer>

<DefaultPrinter SHARP_MX-3060N-sw>
PrinterId 7
UUID urn:uuid:2ab5b068-ec17-3277-58a9-b8c1a50cbfa9
AuthInfoRequired none
Info SHARP MX-3060NPCL_PS
Location oben
MakeModel Sharp MX-3060N PS, 1.2
DeviceURI ipp://192.168.0.11/ipp
State Idle
StateTime 1700201877
ConfigTime 1656710353
Type 8401116
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Attribute marker-colors \#00FFFF,#FF00FF,#FFFF00,#000000
Attribute marker-levels 50,91,27,96,0,53,53,53,87,77,77,77,66,-1
Attribute marker-low-levels 1,1,1,1
Attribute marker-high-levels 100,100,100,100
Attribute marker-names cyan,magenta,yellow,black
Attribute marker-types toner,toner,toner,toner
Attribute marker-change-time 1700201877
</DefaultPrinter>


1) question:
    why did this 2 printerques interfer each other?

2)
   where is cups storing actual printer settings,
   (color or bw, duplex or singele page......)
   (somewhere in the home directroy?)
    i have searched the system, but not find anything.

would be happy to get this setup running (again).

thanks in advance,

simoN


-- 
www.becherer.de



More information about the cups mailing list