User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

tool:software:cups [2019/08/03 05:14] (current)
rjt created - Moved info on printing from hardware:hl-2132
Line 1: Line 1:
 +====== CUPS ======
 +===== Setup =====
 +Process based on [[Arch Linux]].
 +  - Install [[arch>extra/x86_64/cups/|CUPS]].
 +  - Install the driver for your printer.
 +  - Start CUPS service: <code>sudo systemctl start org.cups.cupsd.service</code>
 +  - Turn on the printer, plug it into a USB, then test to see if it's recognised: <code>lsusb</code>
 +  - 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:
 +  - <code>sudo groupadd printadmin</code>
 +  - <code>sudo usermod -a -G printadmin [username]</code>
 +  - And added printadmin into <code>/etc/cups/cups-files.conf</code> to section <code># Administrator user group [...]</code>
 +  - Then start/restart CUPS service <code>sudo systemctl restart org.cups.cupsd.service</code>
 +===== See Also =====
 +  * [[archw>CUPS]]
 +  * [[|]]
 +{{tag>linux printing}}
tool/software/cups.txt · Last modified: 2019/08/03 05:14 by rjt