System Administration Guide: Advanced Administration

New -n Option to the lpadmin Command

The lpadmin command has a new -n option. This option enables you to specify the PPD file that you want to use to create a new print queue or modify an existing print queue.

For example, if you wanted to add the queue, foobar, to a Lexmark printer, you would type the following command:


# lpadmin -p foobar -v device -I postscript -m standard_foomatic \
-n /usr/lib/lp/model/ppd/Lexmark/Lexmark-Optra_E312-Postscript.ppd.gz

When using the -n option to the lpadmin command, specify the full path and file name to the PPD file, as shown in the previous example.

For more information, see the lpadmin(1M) man page.