How to install a printer on Linux system? Preparation: Make sure the printer is connected, download the driver; Install the driver: Use system-specific commands or common methods to install the driver; Add a printer: Use the command line or graphical interface to add a printer, and optionally share it; Configure the printer: Set printer properties And test printing; Bonus Tip: Use a universal driver or check your network printer connection.
How to install a printer in a Linux system
Installing a printer in a Linux system usually involves the following steps:
1. Preparation
2. Install the driver
RPM-based systems (CentOS, RedHat):
rpm -ivh
command to install the driver package. DEB-based systems (Ubuntu, Debian):
dpkg -i
command to install the driver package. General method:
3. Add printer
Command line:
lpadmin -p <printer name>
command to add a printer, where <printer name>
is the printer name of your choice. lpoptions -p <printer name> -o printer-is-shared=true
command to share the printer. Graphic interface:
#4. Configure the printer
5. Additional Tips
lpstat -p <printer name>
command. The above is the detailed content of How to install a printer in linux system. For more information, please follow other related articles on the PHP Chinese website!