This article will show you how to install a printer on Debian and complete the tutorial already proposed on the Debian wiki page, clearing up any issues that have not been addressed.
How to install printer on Linux?
Open a terminal (as root) and run the following command:
aptitude install skanlite cups cups-client cups-filters system-config-printer
Some explanations: -cups is the printing system usually used on Unix. -You can use apt-get instead of aptitude if you prefer. If you are running KDE, you should also install:
aptitude install skanlite system-config-printer
- The skanlite package can be replaced with another scanning tool such as xsane (skanlite is scanning tool for KDE). - The system-config-printer package is also specific to KDE (it enriches the features of the Control Panel and displays an applet near the clock).
If you are using an HP printer, install the following:
aptitude install hplip printer-driver-hpijs
Add a user to the lpadmin group
Assuming that your username is "foo", run as root:
adduser foo lpadmin
We will now launch the printing system (cups). Note that cups will start automatically thereafter.
As root, run the following command:
service cups start
Possible errors: (specific to systemd)
Job for cups.socket failed. See 'systemctl status cups.socket' and 'journalctl -xn' for details.
cups stop service cups service start
Failed to start cups.service: Unit cups-browsed.service is masked
Unmask the service via the command:
service unmask cups.service
Check that the cups web interface is working
Open your favorite web browser (Firefox, Chromium, etc ...) and go to:
From the cups web interface you may automatically find the printer (Administration> Find a new printer). NB: some printer model are not listed, but the cups web interface remains useful (e.g to purge the print queue).
Installing the printer (KDE)
Epson Stylus SX105:
Type the following command
In the "Printer Setup" window that appears click Add > Printer. Enter your password when required. Once your printer is configured, try to print the test page to see if the latter is working properly. A test page the way you can print to check that all is well. To display an applet for the Print Manager next to the clock:
Configuring the scanner
Simply launch your favorite scanning tool (skanlite, xsane, etc ...) and select your device.
- Debian install printer
- Debian printer
- Add printer debian
- Debian change language: to English, command > Guide
- Add a printer in Windows 8.1, 10 > Guide
- The RPC server is unavailable: Windows 10, Windows 7 > Guide
- Unable to connect the printer , Access Denied [solved] > Forum - Windows
- Add printer to computer > Forum - Printers/Scanners
- How to compile assembly code: in Linux, Windows, with NASM
- Search in Vim editor: Linux, for words
- Ubuntu remove password: for sudo, for user, for root
- How to disable avahi-daemon: Linux, Ubuntu
- Change password Linux: script, terminal, Samba
- Linux read file line by line: for loop
- Vim autocomplete: C++, command
- Linux display file in reverse order
- How to install htop Linux: Ubtunu, Mint
- Restart network interface: Linux, Ubuntu
- How to create commands in Linux?
- Customize Wine on Linux: download, install, locate theme
- How to resize partition Linux: Gparted, command line
- How to remove the content of a directory: Linux
- How to recover lost admin password in CUPS?
- What is Daemon Log: in Linux
- How to split a file in Linux: split, merge
- How to convert DOS to UNIX: Linux, command
- Adding space in mount point: to FSTAB
- Delete lines in Linux: SED, commands
- Restoring Linux: from backup, using Tar
- How to uninstall package: in Linux