Specifications

6-18
Guide to Printers and Printing
Unmounting a Form
The lpadmin command allows you to specify that a form or font on a specified printer is to
be unmounted.
To unmount a form, use the following command:
/usr/sbin/lpadmin –p printer–name –M –f none
Examining a Form
After you have defined a form to the print service, you can examine it with one of two
commands, depending on the type of information you want to check. The lpforms
command displays the attributes of the form. (The display produced by the lpforms
command can be used as input. You may want to save it in a file for future reference.) The
lpstat command displays the current status of the form.
Note: A form definition that is captured in a file can be used later to redefine the form if
you inadvertently remove the form from the print service.
To display the status of a form, run the following:
lpstat –f form–name –l
To receive a shorter version of the output, omit the –l.
The long form of output, an example of which follows, is similar to the output of lpforms –l:
Page length: scaled–number
Page width: scaled–number
Number of pages: integer
Line pitch: scaled–number
Character pitch: scaled–number
Character set choice: character–set [,mandatory]
Ribbon color: ribbon–color
Comment:
comment
Alignment pattern: [ content–type ]
content
To protect potentially sensitive content, the alignment pattern is not shown if the lpstat
command is used. See Creating a Printer Form on page 6-15 for descriptions of these
characteristics.