lp®lter(1)

lp®lter(1)

NAME

lp®lter, divpage, fontdl, lprpp, plotdvr, printstat, reverse - ®lters invoked by lp interface scripts

SYNOPSIS

/usr/lbin/divpage [-p -l][-h -q][-nFontID] ®lename

/usr/lbin/fontdl [-nFontID] [-l][-p]®lename

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

/usr/lbin/plotdvr -l request_id -u username [-e][-f][-i]®lename

/usr/sbin/printstat -lrequest_id -uusername ®lename

/usr/sbin/reverse [-l page_length ]

Remarks

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

DESCRIPTION

Various ®lters are used by the lp subsystem to obtain specialized behavior for speci®c types of devices or data. This entry describes currently supported ®lters.

A number of these ®lters use a speci®ed username and ®lename to determine the location of the user who originated the print message.

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

divpage

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

Options:

 

-p

Set mode to portrait (default).

-l

Set mode to landscape.

-h

Print half pages (default).

-q

Print quarter pages.

-nFontID

Use font number FontID. Default is 0. Causes the string EC(FontIDX to be sent to the

 

printer.

fontdl

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

Options:

 

-nFontID

Speci®es the ID number by which the font will be referenced. Default is 0.

-l

Specify landscape mode. Default is portrait.

-p

Speci®es proportional spacing. Default is ®xed.

lprpp

This is a ®lter 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.

Options:

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

<ANYCHAR><BACKSPACE><DIFFERENTCHAR><BACKSPACE>_

HP-UX Release 11i: December 2000

− 1 −

Section 1473

l