User Tools

Site Tools


cups

CUPS

Line drawing of an anthropomorphised computer, with closed eyes and a smile, looking at a printer. CUPS may seem a little clunky, but you can probably run any old printer you want on Linux, and that rules.

Setup

Process based on Arch Linux.

  1. Install CUPS.
  2. Install the driver for your printer.
  3. Start CUPS service:
    sudo systemctl start cups.service

    or enable instead of start to have it always start, etc.

  4. Turn on the printer, plug it into a USB, then test to see if it's recognised:
    lsusb
  5. Go to the CUPS web interface at http://localhost:631/
  6. Select 'Administration'.
  7. Select 'Add Printer' under 'Printers', then enter your root user password
    If you'd prefer to use the local user see: add your user to the printer admin group or Detail: Groups below.
  8. Your printer should be shown in 'Local Printers', select its radio button and select 'continue'.
  9. Make sure everything's to your liking on the next screen, then select 'continue'.
  10. Again, just make sure things look good then select 'Add Printer'.
  11. On the select options screen you might want to not hit 'Set default options' till You've checked every page. You might want to lower the DPI and turn on 'toner saver mode', for example.
  12. Open a PDF or something and it should be working!

※ Set your default paper size in /etc/papersize. This also applies to other programs, for example Scribus

Detail: Groups

I made a new group called printadmin and added myself to it with:

  1. sudo groupadd printadmin
  2. sudo usermod -a -G printadmin [username]
  3. And added printadmin into
    /etc/cups/cups-files.conf

    to section

    # Administrator user group [...]
  4. Then start/restart CUPS service
    sudo systemctl restart cups.service

Network Printing

See Also

cups.txt · Last modified: 2024/08/29 04:08 by rjt