Created
April 1, 2022 16:43
-
-
Save rudolfschmidt/232558d8d2e02cd3df407e74a8dea895 to your computer and use it in GitHub Desktop.
Install Printer on Arch Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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