Add Additional Print Drivers
PPD files are placed here:
/usr/share/ppd/
Example for installing Brother and HP drivers included in the Ubuntu repository:
Code: Select all
sudo apt -y install brother-cups-wrapper-common
sudo apt -y install brother-cups-wrapper-extra
sudo apt -y install brother-cups-wrapper-laser
sudo apt -y install brother-cups-wrapper-laser1
sudo apt -y install hplip
You can also download specific PPD files from this site:
https://www.openprinting.org/download/PPD/
Examples for specific / individual Kyocera printers:
Code: Select all
mkdir /tmp/Kyocera
cd /tmp/Kyocera
wget https://www.openprinting.org/download/oldPPDs/Kyocera/current/English/Kyocera_FS-1000_English.ppd
wget https://www.openprinting.org/download/oldPPDs/Kyocera/current/English/Kyocera_FS-5900C_English.ppd
wget https://www.openprinting.org/download/oldPPDs/Kyocera/current/English/Kyocera_FS-7000_English.ppd
wget https://www.openprinting.org/download/oldPPDs/Kyocera/current/English/Kyocera_Mita_KM-4030_English.ppd
sudo mkdir /usr/share/ppd/Kyocera
sudo mv /tmp/Kyocera/* /usr/share/ppd/Kyocera/.
cd /tmp
rm -rf /tmp/Kyocera
Example for Kyocera package of many printers:
Code: Select all
cd /tmp
wget https://www.openprinting.org/download/printdriver/debian/dists/lsb3.2/main/binary-amd64/openprinting-ppds-postscript-kyocera_20160218-1lsb3.2_all.deb --output-document /tmp/print.deb
mkdir /tmp/print
dpkg-deb -xv print.deb /tmp/print
cd /tmp/print/opt/OpenPrinting-Kyocera/ppds/Kyocera
gunzip *.gz
sudo mkdir /usr/share/ppd/Kyocera
sudo mv /tmp/print/opt/OpenPrinting-Kyocera/ppds/Kyocera/*.ppd /usr/share/ppd/Kyocera/.
cd /tmp
rm /tmp/print.deb
rm -rf /tmp/print
Example for Ricoh package of many printers:
Code: Select all
cd /tmp
wget https://www.openprinting.org/download/printdriver/debian/dists/lsb3.2/main/binary-amd64/openprinting-ppds-postscript-ricoh_20161206-1lsb3.2_all.deb --output-document /tmp/print.deb
mkdir /tmp/print
dpkg-deb -xv print.deb /tmp/print
cd /tmp/print/opt/OpenPrinting-Ricoh/ppds/Ricoh
gunzip *.gz
sudo mkdir /usr/share/ppd/Ricoh
sudo mv /tmp/print/opt/OpenPrinting-Ricoh/ppds/Ricoh/*.ppd /usr/share/ppd/Ricoh/.
cd /tmp
rm /tmp/print.deb
rm -rf /tmp/print
Example for Xerox package of many printers:
Code: Select all
cd /tmp
wget https://www.openprinting.org/download/printdriver/debian/dists/lsb3.2/main-nonfree/binary-amd64/openprinting-ppds-postscript-xerox_20130226-1lsb3.2_all.deb --output-document /tmp/print.deb
mkdir /tmp/print
dpkg-deb -xv print.deb /tmp/print
cd /tmp/print/opt/OpenPrinting-Xerox/ppds/Xerox
gunzip *.gz
sudo mkdir /usr/share/ppd/Xerox
sudo mv /tmp/print/opt/OpenPrinting-Xerox/ppds/Xerox/*.ppd /usr/share/ppd/Xerox/.
cd /tmp
rm /tmp/print.deb
rm -rf /tmp/print
Example for Lexmark package of many printers:
Code: Select all
cd /tmp
wget https://www.openprinting.org/download/printdriver/debian/dists/lsb3.2/main/binary-amd64/openprinting-ppds-postscript-lexmark_20160218-1lsb3.2_all.deb --output-document /tmp/print.deb
mkdir /tmp/print
dpkg-deb -xv print.deb /tmp/print
cd /tmp/print/opt/OpenPrinting-Lexmark/ppds/Lexmark
gunzip *.gz
sudo mkdir /usr/share/ppd/Lexmark
sudo mv /tmp/print/opt/OpenPrinting-Lexmark/ppds/Lexmark/*.ppd /usr/share/ppd/Lexmark/.
cd /tmp
rm /tmp/print.deb
rm -rf /tmp/print
Example for Epson package of many printers:
Code: Select all
cd /tmp
wget https://www.openprinting.org/download/printdriver/debian/dists/lsb3.2/main/binary-amd64/openprinting-ppds-postscript-epson_20130226-1lsb3.2_all.deb --output-document /tmp/print.deb
mkdir /tmp/print
dpkg-deb -xv print.deb /tmp/print
cd /tmp/print/opt/OpenPrinting-Epson/ppds/Epson
gunzip *.gz
sudo mkdir /usr/share/ppd/Epson
sudo mv /tmp/print/opt/OpenPrinting-Epson/ppds/Epson/*.ppd /usr/share/ppd/Epson/.
cd /tmp
rm /tmp/print.deb
rm -rf /tmp/print
Example for Samsung package of many printers:
Code: Select all
cd /tmp
wget https://www.openprinting.org/download/printdriver/debian/dists/lsb3.2/main/binary-amd64/openprinting-ppds-postscript-samsung_20160401-1lsb3.2_all.deb --output-document /tmp/print.deb
mkdir /tmp/print
dpkg-deb -xv print.deb /tmp/print
cd /tmp/print/opt/OpenPrinting-Samsung/ppds/Samsung
gunzip *.gz
sudo mkdir /usr/share/ppd/Samsung
sudo mv /tmp/print/opt/OpenPrinting-Samsung/ppds/Samsung/*.ppd /usr/share/ppd/Samsung/.
cd /tmp
rm /tmp/print.deb
rm -rf /tmp/print
Make sure all PPD files have the correct ownership and permissions configured:
Code: Select all
sudo chown --recursive root:root /usr/share/ppd/*
sudo find /usr/share/ppd/ -type d -print0 | sudo xargs -0 chmod 0755
sudo find /usr/share/ppd/ -type f -print0 | sudo xargs -0 chmod 0644
After PPD files are in place, you will need to restart the CUPS service for it to see the new files: