Issue/Question
- How do I install a printer on a Linux System?
- What do I do if my printer doesn't have a support page for Linux?
- Where can I find a Linux driver for my printer?
Environment
- Oregon State University
- College of Science
- Linux Users
- Ubuntu
- Linux
- CUPS
- Printers
Explanation
Printing on Linux devices can work differently than a Windows or Mac device. Often, some printers will not have drivers on their support pages and will skip over Linux. This guide will help with adding printers to a Linux PC, depending on the use case.
If a vendor provides an automated tool for grabbing/adding drivers and installing/adding printers, this would be the best option to install a new printer.
Resolution
Vendor has automated install tool
- Check vendor site for drivers, note if there are automated tools or scripts.
- If there are any scripts, download and install the script and/or tool.
- Follow steps for each printer vendor:
-
HP
- Grab hplip from the HP Developers portal.
- Follow their installer walkthrough steps for adding an HP printer.
- At this time, HP is the only vendor that provides a tool for automating the install process. Other vendor printers such as Ricoh and Canon will need to be done manually using the 2 below options.
Drivers located on vendor website
- Search for the model of the printer and check the support page for drivers.
- If there is a section for Linux or UNIX, check that there are PCL 6 or other applicable drivers for the printer.
- If instead the vendor gives an install script, grab and use that script.
- Add the printer driver to the system. Then go to Settings > Printers and add a printer.
- If the vendor website gave a PPD file, place this within /usr/share/cups/model (same as manual install)
- If the vendor website has a script or other executable for adding printer drivers, follow the documentation for installing.
- Follow the options for a Network printer, make sure the port is set to Jet Direct, there is an option that will have this pre-set for you.
- Add the printer and test.
Drivers not listed (Manual method)
- If the vendor page does not contain drivers then check the Open Printing website for drivers.
- Select the Manufacturer and model and click "Show this printer". Alternatively, select the Manufacturer and click "Show All" to list all printers for that manufacturer.
- Download the recommended PPD file, this is used as a driver.
- Launch a terminal window from Applications > Accessories > Terminal or by keyboard shortcut or context menu "Open terminal here" option.
- Copy the driver from the download location containing the PPD file to /usr/share/cups/model/
- Enter the command "/etc/init.d/cups restart" (without quotes)
- Close terminal and try adding the printer via Settings > Printers as if you have the drivers from the vendor website.
Assistance
For assistance, contact the Service Desk.