====== CUPS ======
{{ :media:image:logo:cups.jpg?200|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]].
- Install [[arch>extra/x86_64/cups/|CUPS]].
- Install the driver for your printer.
- Start CUPS service: sudo systemctl start cups.service
or ''enable'' instead of ''start'' to have it always start, [[archw>systemd#Basic_systemctl_usage|etc]].
- Turn on the printer, plug it into a USB, then test to see if it's recognised: lsusb
- Go to the CUPS web interface at http://localhost:631/
- Select 'Administration'.
- Select 'Add Printer' under 'Printers', then enter your root user password\\ If you'd prefer to use the local user see: [[archw>CUPS#Configuration|add your user to the printer admin group]] or [[#Detail: Groups]] below.
- Your printer should be shown in 'Local Printers', select its radio button and select 'continue'.
- Make sure everything's to your liking on the next screen, then select 'continue'.
- Again, just make sure things look good then select 'Add Printer'.
- 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.
- Open a PDF or something and it should be working!
nbjp 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:
- sudo groupadd printadmin
- sudo usermod -a -G printadmin [username]
- And added printadmin into /etc/cups/cups-files.conf
to section # Administrator user group [...]
- Then start/restart CUPS service sudo systemctl restart cups.service
==== Network Printing ====
https://wiki.archlinux.org/title/CUPS#Network
===== See Also =====
* [[archw>CUPS]]
* [[https://www.cups.org/|www.cups.org]]
* [[github>OpenPrinting/system-config-printer]] [[arch>extra/x86_64/system-config-printer/|system-config-printer]] - GUI tool for printer setup, bit more normal than CUPS
* {{tagpage>printer}}
{{tag>guide linux printing software}}