Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rudolfschmidt/232558d8d2e02cd3df407e74a8dea895 to your computer and use it in GitHub Desktop.
Save rudolfschmidt/232558d8d2e02cd3df407e74a8dea895 to your computer and use it in GitHub Desktop.
Install Printer on Arch Linux
# check if printer is accessable
sudo lpinfo -v
# install and start printer server
sudo pacman -S cups
sudo systemctl enable --now cups.service
# install and check printer driver loaded
sudo pacman -S splix
lpinfo -m | grep Samsung
# open web config panel and add printer
http://localhost:631/admin
# Set as default
lpoptions -d Samsung_SCX-4200_Series
# Set A4 Page
lpoptions -p Samsung_SCX-4200_Series -o PageSize=A4
# Enable printing
sudo cupsenable Samsung_SCX-4200_Series
sudo cupsaccept Samsung_SCX-4200_Series
# Restart!!
sudo systemctl restart cups
# List other options
lpoptions -p Samsung_SCX-4200_Series -l
# Test printer
lpr test.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment