Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lpr(1)

pr(1)

printcap(5)

lpd(8)

MAKEDEV(8)

pac(8)

la75of(8)

Name

la75of − LA75 dot matrix printer filter

Syntax

/usr/lib/lpdfilters/la75of [−c] [−nlogin] [−hhost] [−wwidth] [−lnum] [−iindent]  [accounting file]

Description

The la75of filters text data destined for LA75 compact dot matrix printers. It handles the device dependencies of the printer and performs accounting functions. As each job completes, the filter writes the accounting records to the file specified by the af field in /etc/printcap. The la75of can handle plain ASCII files as well as files that have been preprocessed by nroff. The filter correctly handles nroff control sequences for underlining, superscripting and subscripting.

You can specify the la75of filter in both the of and the if fields of the /etc/printcap file. For further information, see printcap(.). When you specify both fields, the of filter prints the banner page only; when of stops, the if filter gains access to the printer and maintains accounting information. 

If you specify the of field only, the filter prints the banner page then stops and restarts to maintain accounting information. 

If you specify the if field only, the banner page is sent directly to the printer. This is not a problem for most impact printers. 

For a more detailed discussion on filters see the “Line Printer Spooler Manual” in The Supplementary Documents. 

Options

The arguments passed to the filter depend on its use.  The of filter is called with the following arguments:

la75of −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:

la75of −c −nlogin −hhost −wwidth −lnum −iindent  accounting file
The −c flag is optional and is supplied only when control characters are to be printed. That is, when the −l option of lpr() is used to print the file. The −w and −l arguments are the same as for the of filter but might have different values if the −w and/or −z options of lpr() were used to print the file.  The −n and −h arguments specify the login name and host name of the job owner.  These arguments are used to record accounting information.  The −i option specifies the amount of indentation to be used.  The last argument is the name of the accounting file specified from the af field in the /etc/printcap database. 

Diagnostics

The lf field (default /dev/null) in the /etc/printcap database specifies the 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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026