-
-
Notifications
You must be signed in to change notification settings - Fork 1
CachyOS Printer Configuration
Complete beginner-friendly guide to setting up and configuring printers on CachyOS, including CUPS, network printers, and troubleshooting.
- Understanding Linux Printing
- CUPS Installation
- Adding Printers
- Network Printers
- Printer Configuration
- Troubleshooting
CUPS (Common Unix Printing System) is the printing system on Linux.
What it does:
- Manages printers: Handles printer communication
- Print queues: Manages print jobs
- Driver support: Provides printer drivers
- Network printing: Supports network printers
Supported printers:
- USB printers: Direct USB connection
- Network printers: Ethernet/Wi-Fi printers
- IPP printers: Internet Printing Protocol
- Samba printers: Windows network printers
Install CUPS:
sudo pacman -S cups cups-pdfWhat this does:
-
cups: Main printing system -
cups-pdf: PDF printing support
Start CUPS:
sudo systemctl enable --now cups.serviceWhat this does:
- Enables CUPS at boot
- Starts CUPS immediately
- Makes printing available
Access CUPS:
- Open browser
- Go to:
http://localhost:631 - Or:
http://127.0.0.1:631
What you can do:
- Add printers
- Manage print jobs
- Configure printers
- View printer status
Connect printer:
- Plug USB cable into computer
- Plug into printer
- Turn on printer
CUPS should detect automatically
Add via CUPS web interface:
- Go to
http://localhost:631 - Click "Administration"
- Click "Add Printer"
- Select USB printer
- Choose driver
- Complete setup
Or via command line:
lpinfo -vWhat this does:
- Lists available printers
- Shows detected printers
- Helps identify printer
Add network printer:
- Go to CUPS web interface
- Click "Add Printer"
- Select "Internet Printing Protocol (IPP)"
- Enter printer IP address
- Complete setup
Find printer IP:
- Check printer display
- Check router admin page
- Use network scanner
IPP (Internet Printing Protocol) is modern network printing.
Add IPP printer:
ipp://printer-ip:631/ipp/print
What this does:
- Connects to IPP printer
- Uses IP address
- Port 631 (default)
Samba allows access to Windows network printers.
Install Samba:
sudo pacman -S sambaAdd Samba printer:
smb://server/printer-name
What this does:
- Connects to Windows printer
- Requires Samba credentials
- Network printer access
Access printer settings:
- Go to CUPS web interface
- Click "Printers"
- Click printer name
- Click "Set Default Options"
Common settings:
- Paper size: A4, Letter, etc.
- Print quality: Draft, Normal, Best
- Color mode: Color, Grayscale
- Duplex: Single-sided, Double-sided
Set default printer:
lpoptions -d printer-nameWhat this does:
- Sets default printer
- All print jobs use this printer
- Can change anytime
Or via CUPS:
- Click printer
- Click "Set As Server Default"
Check USB connection:
lsusbWhat this does:
- Lists USB devices
- Shows if printer is detected
- Helps identify connection
Check printer status:
lpstat -p -dWhat this does:
- Lists printers
- Shows printer status
- Shows default printer
View print queue:
lpqWhat this does:
- Shows print queue
- Lists pending jobs
- Shows job status
Cancel print job:
cancel job-idWhat this does:
- Cancels specific job
- Removes from queue
- Frees printer
Cancel all jobs:
cancel -aWhat this does:
- Cancels all jobs
- Clears print queue
- Resets printer
Install printer drivers:
sudo pacman -S cups-filters ghostscript gsfontsWhat this does:
- Installs printer drivers
- Provides printer support
- May fix driver issues
Check available drivers:
lpinfo -m | grep printer-modelWhat this does:
- Lists available drivers
- Searches for printer model
- Helps find correct driver
- CachyOS Post-Installation Guide - System setup
- Arch Linux Wiki - CUPS: https://wiki.archlinux.org/title/CUPS
- CUPS Documentation: https://www.cups.org/
This guide covered:
- Understanding Linux printing - CUPS printing system
- CUPS installation - Installing and starting CUPS
- Adding printers - USB and network printers
- Network printers - IPP and Samba printers
- Printer configuration - Settings and defaults
- Troubleshooting - Common printer issues
Key Takeaways:
- CUPS is the printing system on Linux
- Access CUPS via web interface (localhost:631)
- USB printers usually auto-detect
- Network printers need IP address
- Use
lpstatandlpqto check status - Install drivers if printer not working
- Cancel stuck jobs with
cancelcommand
This guide is based on the CachyOS Wiki and Arch Linux Wiki and expanded with detailed explanations for beginners. For the most up-to-date printer information, always refer to the official documentation.