When you use the lpadmin command with the -n option to specify a PPD file, you are required to provide the full path to the PPD file. If you choose to use a PPD file that is located in a different directory, you must specify the full path to that file.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
To specify a PPD file, use the lpadmin command with the following options:
# lpadmin -p foo -n /home/user/stuff/ppd-file -m \ standard_foomatic -I postscript -v /device |
Specifies the printer name
Specifies to use a PPD file
Specifies the interface script for utilizing PPD files
Specifies the port device that the printer will use
For example, to specify the xyz.ppd file that is located in the user's home directory, you would type the following command:
# lpadmin -p foo -n /home/user/stuff/xyz.ppd -m \ standard_foomatic -I postscript -v /device |