Re: Tip: default printer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/11/23 19:48, ToddAndMargo via users wrote:
Hi All,

This is my keeper file on the default printer.

Hope this helps someone else.

-T

Exactly what purpose does the "server default" printer serve?
Is it even possible to send the CUPS server a print job with
no printer specified?    AAAAHHHH!!!!!!
On my system I didn't have any printers defined, so to test things I added my network printer which is an Epson ET3700. Before I started, ~/.cups/lpoptions didn't exist and /etc/cups/lpoptions was empty. To add my printer I went into the cups interface, as I always do, in firefox and under Administration I selected "Add Printer". That displayed all the print devices cups could see, which included "Epson ET3700 Series" and "Epson ET3700 Series Driverless" under "Network Printers". I selected "Epson ET3700 Series Driverless, and then in the Model selection on the next screen, I selected the "Driverless Driver" rather than the "IPP Everywhere Driver", then clicked on "Add Printer". After defining the printer I checked ~/.cups/lpoptions and it still did not exist, and /etc/cups/lpoptions was still empty. Lpstat -p showed my printer only and lpstat -d said there was no system default. Going into KDE's system settings Printer interface shows the printer I added in Cups with "Default Printer" not checked, and when I click on "Configure" and look at the printer properties it shows me the settings I set in cups as the default properties. If I start Libreoffice Writer and look at file->Printer Properties it shows two entries for my printer, one with "Double Sided Printing" active, which I set in the default options in Cups, and one entry with "Double Sided Printing" turned off, and unfortunately both printer entries have the same name. The double entry that Libreoffice Writer shows is similar to the issue I get under Windows. Under windows when I install the Epson printer driver and install my printer, the printer installation creates two printer definitions, an Epson ET3700 "Local" and an Epson ET3700 Network, where the "Local" entry has "Double Sided" printing active and the "Network" entry has "Double Sided" printing turned off and Administrator Disabled so that it can't be changed. Even though the printer is set up this way the "Local" definition still outputs to the network printer anyway.

regards,
Steve




CUPS: manually correct the default printer

Reference(s):
   https://en.opensuse.org/SDB:Print_Settings_with_CUPS
   https://github.com/OpenPrinting/cups/issues/818

CUPS Web UI (https://127.0.0.1:631) fails to update /etc/cups/lpoptions
to a new default printer.   Note that this is on purpose,  The Web UI's
default printer is the server's default.  Not the local (client)
computer's default.


The local computer's defaults are found in:
   user:
       ~/.cups/lpoptions

   global (if not user default):
       /etc/cups/lpoptions


Fix action:

First, list installed printers:
    $ lpstat -p
    printer Cups-PDF is idle.  ...
    printer HLL2300D ...
    printer HLL2300D_ManualTray ...

To set the system defualt:
    # vi /etc/cups/lpoptions
    Default Printer_Name_from_lpstat_above
    # systemctl restart cups

To set the user's default:
    $ lpoptions -d Printer_Name_from_lpstat_above

To double check:
    $ lpstat -d
    system default destination: Cups-PDF

Note: this is the local user default, not the system default.
reported under:
    lpstat gives incorrect wording for the default printer
    https://github.com/OpenPrinting/cups/issues/819

Example files involved:
    System:
        # cat /etc/cups/lpoptions
        Default HLL2300D

    User:
        $ cat ~/.cups/lpoptions
        Default Cups-PDF
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

Attachment: OpenPGP_0x594338B1DE179AB2.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux