Specifications
6-42
Guide to Printers and Printing
For example, to direct the print service to send electronic mail alerts every five minutes
whenever the printer queue contains two or more requests for the check form and it is not
already mounted, enter:
lpforms –f check –A mail –Q 2 –W 5
To arrange for alerting to the need to mount a font cartridge, enter:
lpadmin –S font_cartridge_name –A alert_method –Q number –W
minutes
For example, to direct the print service to write alerts to your terminal every two minutes
whenever the printer queue contains three or more requests for the dingbat font cartridge
and it is not already mounted, enter:
lpadmin –S dingbat –A write –Q 3 –W 2
To arrange for alerting whenever the queue contains requests for any form or font cartridge,
enter one of the following:
lpforms –f any –A mail –W 5
lpadmin –S any –A mail –W 5
To stop receiving alert messages to mount a form or font cartridge, enter one of the
following:
lpforms –f form_name –A quiet
lpadmin –S font_cartridge_name –A quiet
To remove alerting when a form or font cartridge needs to be mounted, enter one of the
following:
lpforms –f form_name –A none
lpadmin –S font_cartridge_name –A none
If you do not define an alert method for a form or font cartridge, you do not receive an alert
for it. If you define a method, but do not define the number of minutes between alerts (with
the –W option), you receive one alert for each occasion.
Setting Printer Port Characteristics
Printer port characteristics are attributes defined with the –o ”stty=’ stty–option–list ’”
option of the lpadmin command. Printers connected directly to computers and those
connected over some networks require that the printer port characteristics be set by the
interface program. These characteristics define the low level communications with the
printer. Included are the baud rate; use of XON/XOFF flow control; 7, 8, or other bits per
byte; type of parity; and output postprocessing. The standard interface program uses the
stty command to initialize the printer port, minimally setting the baud rate and a few other
default characteristics.
Default Port Characteristics
The default characteristics applied by the standard interface program are listed in the
following table:
Default Description
9600 9600 baud rate
cs8 8–bit bytes
–cstopb 1 stop bit per byte
–parenb No parity generation
ixon Enable XON/XOFF flow control
–ixany Allow only XON to restart output