Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > L


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


lpfilter: divpage, fontdl, lprpp, plotdvr, printstat, reverse — filters invoked by lp interface scripts


/usr/lbin/divpage [-p | -l] [-h | -q] [-n FontID] filename

/usr/lbin/fontdl [-n FontID] [-l] [-p] filename

/usr/lbin/lprpp [-i] [-o] [-e] [-l nn] [-n] [-p]

/usr/lbin/plotdvr -lrequest_id -uusername [-e] [-f] [-i] filename

/usr/sbin/printstat -lrequest_id -uusername filename

/usr/sbin/reverse [-l page_length]


The structure of these filters is currently under review. They may become obsolete or be restructured in a future release.


Various filters are used by the lp subsystem to obtain specialized behavior for specific types of devices or data. This entry describes currently supported filters.

A number of these filters use a specified username and filename to determine the location of the user who originated the print message.

The filename is used to determine the hostname of the system where the request originated, and must have the form [dirname]/d?Annnhostname or [dirname]/dAnnnnhostname, where dirname is not a path name, but only the name of the basename's parent directory. filename meets this requirement when it is set to $6 in the interface script for the printer.


Provides capabilities for printing multiple pages per sheet and selection of built-in fonts.



Set mode to portrait (default).


Set mode to landscape.


Print half pages (default).


Print quarter pages.


Use font number FontID. Default is 0. Causes the string ^[(FontIDX to be sent to the printer. (The character ^[ represents the ESC character.)


fontdl downloads the font contained in filename to a printer connected to standard output.



Specifies the ID number by which the font will be referenced. Default is 0.


Specify landscape mode. Default is portrait.


Specifies proportional spacing. Default is fixed.


This is a filter that converts backspace overstrike to line overprint with horizontal print positioning to enhance bold print. This functionality is required on printers such as the LaserJet, which cannot produce bold print by overstriking.



Converts <ANYCHAR> to <ANYCHAR><BACKSPACE>_ to italicize ANYCHAR. Also properly italicizes overstruck (bold) characters. Does not work correctly for "hashed-overstrike" such as:



Prints only the odd numbered pages. Used with -e for double-sided printing.


Print only the even numbered pages. Used with -o for double sided printing.


Specifies the page length, in lines. Default is 60 unless -n or -p is selected, in which case it is 66.


Specifies nroff mode for printing output of the nroff command. Prints 66 lines per page with the first line appearing on logical line 4 of the printer.


Specifies pr mode for printing output from the pr command. Prints 66 lines per page with the first line appearing on logical line 3 of the printer.


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



Specifies the printer request ID and is used in various messages regarding the plot request.


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


Specifies the use of escape sequences, rather than HP-GL commands, to determine plotter status.


Plot without stopping for paper changes. The "PG" commands are not stripped from the data stream and the user is not notified of them. This option is used on plotters capable of automatic page feed.


Prevents initialization of the plotter.


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 notified 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-status command ^[?^Q? to determine status. (The characters ^[ and ^Q represent the ESC or ^[ and DC1 or ^Q characters, respectively.) Not all serial printers respond to this command. Only the following configurations support this command:

LaserJetNot supported
LaserJetIIDRequires HP26013A module
LaserJetIIPNot supported
LaserJetIIIRequires HP26013A module
LaserJet2000Not supported



Print request ID used in various communications with the user.


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


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



Specifies the page length, in lines. Default is 66.


Error and diagnostic messages appear on the printed output, on the user's terminal, or are mailed to the user, depending on circumstances.


There is little consistency in the interface to these filters.


lp(1), lpadmin(1M).

HP-UX System Administrator's Guide.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.