lj250of(4)
NAME
lj250of − LJ250 Companion Color Printer Filter
SYNTAX
/usr/lib/lpdfilters/lj250of [−c] [−nlogin] [−hhost] [−wwidth] [−lnum] [−iindent] [accounting file]
DESCRIPTION
The lj250of filter is used to filter text data destined for the LJ250 Companion Color printer. The filter handles the device dependencies of the printers and performs accounting functions. Accounting records are written to the file specified by the af field in /etc/printcap at the time of completion for each job.
The filter can handle plain ASCII, nroff files, and sixel files. If the printer is in HP HCL mode, the xf(4) filter should be invoked using the lpr -x option. The lj250of filter translates nroff control sequences for underlining, superscripting, and subscripting into the correct LJ250 control sequences.
The lj250of filter can be the specified filter in both the of and the if fields in the /etc/printcap file. For further information, see printcap(.). When both fields are specified the of filter is used only to print the banner page. It is then stopped to allow the if filter access to the printer. The if filter maintains accounting information.
If the of field is the only one specified, the filter is used to print the banner page. It is then stopped and restarted. This allows the of filter to be used to maintain accounting information.
If the if field is the only one specified, the banner page is sent directly to the printer. If the printer has been left in an undetermined state the banner page may not print correctly.
The best results are obtained when the filter is specified in both the of and if fields. For a more detailed discussion on filters, see the Line Printer Spooler Manual in the Supplementary Documents.
OPTIONS
The lj250of filter ignores the arguments passed to it by the line printer daemon, lpd(8). The of filter is called with the following arguments:
lj250of −wwidth −llength
The width and length values come from the pw and pl fields in the /etc/printcap database.
The if (or restarted of) filter is passed the following arguments:
lj250of −c −nlogin −hhost −wwidth −lnum −iindent accounting file
DIAGNOSTICS
The lf field (default /dev/null) in the /etc/printcap database specifies error logging file name.
FILES
/etc/printcap Printer Capabilities Database
/dev/lp?
SEE ALSO
lpr(1), pr(1), printcap(5), lpd(8), MAKEDEV(8), pac(8)
Line Printer Spooler Manual
Special Files