Log in as superuser, lp, or assume an equivalent role on the print server.
Stop accepting print requests on the printer on which you are unmounting the current form.
# reject printer-name |
printer-name is the name of the printer on which you are unmounting a form.
New print requests (which might not require the form) are not allowed to enter the printer's queue.
# lpadmin -p printer-name -M -f none |
In this command, the variable printer-name is the same variable that is used in Step 2.
The current form is deleted from the print server's /etc/lp/printers/printer-name/configuration file.
Load the new form paper for the next print request.
Mount the form.
# lpadmin -p printer-name -M -f form-name[-a -o filebreak] |
Specifies the printer on which you are mounting a form.
Specifies the name of the form to be mounted.
Optionally enables you to print a copy of the alignment pattern defined for the form, if this definition exists.
Printer on which you are mounting a form.
Name of the form to be mounted.
The specified form is added in the print server's /etc/lp/printers/printer-name/configuration file.
Start accepting print requests on the printer.
# accept printer-name |
The printer is ready to print the form you just mounted.
Verify that the form has been mounted.
# lpstat -p printer-name -l |
Otherwise, submit a print request that requires the new form and check the printer for output.
The following example shows the process of unmounting the currently mounted form on the printer luna.
# reject luna destination "luna" will no longer accept requests # lpadmin -p luna -M f none # accept luna destination "luna" now accepting requests |
The following example shows the process of mounting the medical form on the printer luna.
# reject luna destination "luna" will no longer accept requests # lpadmin -p luna -M f medical -a -o filebreak # accept luna destination "luna" now accepting requests |