l

lp®lter(1)

 

lp®lter(1)

-o

Prints only the odd numbered pages. Used with

-efor double-sided printing.

-e

Print only the even numbered pages. Used with

-ofor double sided printing.

-l nn

Speci®es the page length, in lines. Default is 60 unless -nor -pis selected, in which

 

case it is 66.

 

-n

Speci®es nroff mode for printing output of the nroff command. Prints 66 lines per

 

page with the ®rst line appearing on logical line 4 of the printer.

-p

Speci®es pr mode for printing output from the pr command. Prints 66 lines per page

 

with the ®rst line appearing on logical line 3 of the printer.

plotdvr

HP-GL plotter ®lter. This ®lter scans the data for "PG" commands (paper feed). When this data is encoun- tered, the ®lter strips it from the data stream and informs the requesting user of the need to change paper in the plotter.

Options:

 

-lrequest_id

Speci®es the printer request ID and is used in various messages regarding the plot

 

request.

-uusername

The requesting user's login name, used to communicate with the user regarding the

 

request.

-e

Speci®es the use of escape sequences, rather than HP-GL commands, to determine

 

plotter status.

-f

Plot without stopping for paper changes. The "PG" commands are not stripped from

 

the data stream and the user is not noti®ed of them. This option is used on plotters

 

capable of automatic page feed.

-i

Prevents initialization of the plotter.

printstat

Interrogates an RS232 printer as to its status, and does not return until the printer is ready. If the printer is off-line, out of paper, or disconnected, the submitter of the print request is noti®ed of this condition periodically until it is corrected. When the printer is ready to print, the command exits.

Standard input and standard output must both be connected to the serial printer device.

This program uses the send-statuscommand EC?D1? to determine status. Not all serial printers respond to this command. Only the following con®gurations support this command:

Printer

Comments

LaserJet

Not supported

LaserJetII

Supported

LaserJetIID

Requires HP 26013A module

LaserJetIIP

Not supported

LaserJetIII

Requires HP 26013A module

LaserJet2000

Not supported

Options:

-lrequest-idPrint request ID used in various communications with the user.

-uusername The requesting user's login name, used to communicate with the user regarding the request.

reverse

Prints the data appearing on the standard input in reverse page order to the standard output. This command can handle up to 2000 pages.

Options:

-lpage_length

Speci®es the page length, in lines. Default is 66.

Section 1474

− 2 −

HP-UX Release 11i: December 2000