|
|
Once you've 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 lpforms 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.
To display the status of a form:
lpstat -f form-name -l
To receive a shorter version of the output, omit the -l.
The long form of output 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] contentTo protect potentially sensitive content, the alignment pattern is not shown if the lpstat command is used. See ``Creating a printer form'' for descriptions of these characteristics.