-
-
Notifications
You must be signed in to change notification settings - Fork 2
Arch Linux Printer Configuration
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to setting up and configuring printers on Arch Linux, including CUPS, USB printers, network printers, and troubleshooting.
Install CUPS:
# Install CUPS
sudo pacman -S cups cups-pdf ghostscript gsfonts
# For Gutenprint drivers
sudo pacman -S gutenprint
# Enable service
sudo systemctl enable cups
sudo systemctl start cupsAccess CUPS:
- Open browser
- Navigate to: http://localhost:631
- Login (if prompted)
Add to lp group:
# Add user to lp group
sudo usermod -aG lp username
# Log out and back inSteps:
- Connect USB printer
-
Check if detected:
# List USB devices lsusb # Check CUPS lpinfo -v
Via CUPS web interface:
- Open: http://localhost:631
- Administration > Add Printer
- Select USB printer
- Choose driver
- Set name and options
Via command line:
# List available printers
lpinfo -v
# Add printer
lpadmin -p PrinterName -E -v usb://printer/uri -m driverTypes:
- IPP/IPPS: Internet Printing Protocol
- LPD/LPR: Line Printer Daemon
- SMB/CIFS: Windows network printer
- AppSocket/JetDirect: HP network printers
Via CUPS:
- Open: http://localhost:631
- Administration > Add Printer
- Select network protocol
- Enter printer address
- Choose driver
Example addresses:
ipp://192.168.1.100:631/ipp/print
lpd://192.168.1.100
smb://server/printer
socket://192.168.1.100:9100
Set default:
# Set default
lpoptions -d PrinterName
# Or via CUPS web interfaceConfigure options:
# List options
lpoptions -p PrinterName -l
# Set options
lpoptions -p PrinterName -o option=valueTest printing:
# Print test page
lp -d PrinterName /usr/share/cups/data/testprint
# Or via CUPSCheck connection:
# Check USB
lsusb | grep -i printer
# Check CUPS
lpinfo -v
# Check logs
journalctl -u cupsClear queue:
# List jobs
lpq
# Cancel job
cancel job-id
# Cancel all
cancel -aInstall drivers:
# Install Gutenprint
sudo pacman -S gutenprint
# Install HP drivers
sudo pacman -S hplip
# Install Samsung drivers
yay -S samsung-unified-linux-driverThis guide covered:
- CUPS installation - Print server setup
- USB printers - Local printer setup
- Network printers - Network printer setup
- Configuration - Printer options
- Troubleshooting - Common issues
Key Takeaways:
- CUPS manages printing
- Access via http://localhost:631
- Add user to lp group
- Install appropriate drivers
- Check logs for issues
- Arch Linux Hardware Configuration - More hardware
- Arch Linux System Configuration - System setup
- ArchWiki CUPS: https://wiki.archlinux.org/title/CUPS
This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.