EPF

Section: User Commands (1)
Index Return to Main Contents
 

NAME

epf - filter to handle nroff output for Epson LQ-1500 compatible printers  

SYNOPSIS

epf [ no options ]  

DESCRIPTION

Epf converts the nroff(1) driver table representations of the special characters (Greek letters, math symbols, etc.) into Epson LQ-1500 printer control strings. Nroff(1) output should be processed by col(1) and, according to the overstrike capabilities of the printer, possibly also by nobs(1), before processing by epf.

Epf recognizes printer control strings of the type recognized by col(1), viz., those for half-line forward and reverse, and full-line reverse motions (ESC-9, -8, and -7, respectively), and those for the special characters (SO-<single printable character>-SI).

Epf implements the printer control and graphics needed for tbl(1) and neqn(1).  

SAMPLE USAGE

For Epson Pica mode: cat file | pic | tbl | neqn | nroff -Tepson | col -fx | nobs | epf > /dev/epson

For Epson Elite mode (12 characters per inch), as above, except use the nroff(1) option, -Tepson-12.

The nobs(1) filter is not needed if the printer can overstrike a character with itself, but even if not needed, it may cut down on clatter.  

FILES

Printer driver tables:
/usr/lib/term/tabepson, /usr/lib/term/tabepson-12  

AUTHOR

John Nellen, Delft Univ. of Technology
..!{decvax,philabs}!mcvax!dutesta!john

J.A. Rupley, University of Arizona
..{uunet | ucbvax | cmcl2 | hao!ncar!noao}!arizona!rupley!local
rupley!local@megaron.arizona.edu  

SEE ALSO

col(1), nobs(1), nroff(1), neqn(1), tbl(1), pic(1).  

BUGS

The printer and printer port must be properly configured for interpreting and passing the Epson printer control strings. This can be done within the printer interface, perhaps more appropriately than by code in epf and the nroff(1) driver table.

Epson LQ printers with tractor feed cannot usefully execute full- or half-line reverse motions. Thus col(1) processing is essential, to convert reverse to forward motions. There is no thought of finer grain than one-character horizontal and half-line vertical.

The widths of the user-defined characters are slightly greater than the 10-character-per-inch width of the Epson Pica font. The difference is small enough to allow mixing of graphics and Pica. However, mixing of user-defined characters with 12-character-per-inch Epson Elite can give noticeable loss of registration.

The graphics are good, but like most things probably can be made better.

Epf of course must be written to be compatible with the coding of the driver tables. Epf and the driver tables constitute a unit. There are various versions of nroff(1). The driver tables are written for the "old" nroff.

Compilation of the driver tables requires the Townsend package.

Nroff(1) overstrikes the SO,SI delimiters of a special character representation, moving the overstruck special character improperly to the left. Fix by filtering the raw nroff output to remove SO-<bksp> and SI-<bbksp> sequences.

Col(1) does not pass a file-ending SO,SI sequence, specifically, a printer reset command. Fix by filtering the raw nroff output or ensuring reset of the printer in the printer interface.

Printer implementations are messy enought to ensure perpetual bugginess.


 

Index

NAME
SYNOPSIS
DESCRIPTION
SAMPLE USAGE
FILES
AUTHOR
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 21:50:48 GMT, February 02, 2023