Log in as superuser, lp, or assume an equivalent role on the print server.
Copy the standard printer interface program.
# cp /var/spool/lp/model/standard custom-interface |
(Optional) If you already have a custom printer interface program, go to Step 5
Change the copy of the standard printer interface program to meet your needs.
Refer to the description of the program in The Standard Printer Interface Program to determine what you need to change.
Set up the custom printer interface program for a specific printer.
# lpadmin -p printer-name -i custom-interface |
Specifies the printer that will use the custom printer interface program.
Is the name of the custom printer interface program.
The custom printer interface program is registered with the LP print service, and will be used by that printer when users submit print requests.
Verify that the custom printer interface program has been added in the /etc/lp/printers/printer-name/configuration file.
This example shows how to set up a custom printer interface program named custom for the printer luna.
# lpadmin -p luna -i custom |
This example shows how to copy a custom printer interface program from the printer venus to the printer asteroid.
# lpadmin -p asteroid -e venus |