Printer interface programs
By default, the print service uses the standard interface script, /etc/lp/model/standard. Use this interface script to handle most of your printing needs.
To change the interface script after you add the printer, you can specify an interface program using the -i option with the lpadmin command. See the lpadmin command for more information.
The following example adds a new printer called laser on printer port /dev/tty01. It uses a customized interface program, located in the directory /usr/doceng/laser_intface. It can handle three file types: i10, i300, and impress, and it can be used only by the users doceng and docpub. (The following command example is split into multiple lines for readability.)
lpadmin -p laser -v /dev/tty01 \
-i /usr/doceng/laser_intface \
-I "i10,i300,impress" \
-u "allow:doceng,docpub"