[cups] Why is my default printer wrong?

Johannes Meixner jsmeix at suse.de
Tue Oct 31 01:07:48 PDT 2023


Hello,

On 2023-10-31 08:26, Todd And Margo Chester wrote:
>> Hi All,
>> 
>> Fedora 38
>> cups-2.4.7-1.fc38.x86_64
>> 
>> Why do all my programs default to "Cups-PDF" and not
>> "HLL2300D".  All Wine and native Linux programs.
>> And changing it in my programs does not stick.
>> 
>> Many thanks,
>> -T
>> 
>> /etc/cups/printers.conf
>> 
>> <Printer Cups-PDF>
>> ...
>> </Printer>
>> 
>> <DefaultPrinter HLL2300D>
>> ,,,
>> </DefaultPrinter>
> 
> Figured it out.  CUPS forgets to update /etc/cups/lpoptions
> Changing B4350 to HLL2300D fixed the issue
> 
> vi /etc/cups/lpoptions
> Default HLL2300D
> 
> 
> I reported the bug over on Fedora's bugzilla:
> 
> CUPS fails to update the efault printer in /etc/cups/lpoptions (edit)
> https://bugzilla.redhat.com/show_bug.cgi?id=2247186

I don't know how current CUPS 2.4 behaves
but a longer time ago I made
https://en.opensuse.org/SDB:Print_Settings_with_CUPS
which describes my findings at that time
in particular that
"There is no such thing as "THE" default print queue."

Kind Regards
Johannes Meixner
-- 
SUSE Software Solutions Germany GmbH
Frankenstr. 146 - 90461 Nuernberg - Germany
GF: Ivo Totev, Andrew McDonald, Werner Knoblich
(HRB 36809, AG Nuernberg)


More information about the cups mailing list