epsonfx(1) DG/UX 5.4R3.00 epsonfx(1)
NAME
epsonfx - interface filter for an epsonfx printer
SYNOPSIS
/usr/lib/lp/bin/epsonfx [-a int] [-b ] [-c color] [-d ]
[-h list] [-j jmode] [-l int] [-p ] [-q qmode] [-r int]
[-s ] [-t int] [-v list] [-C ] [-S int] [-T term]
where:
color Color to print in.
list Comma separated list of integral numbers.
jmode left, right, full, or center.
int An integral number.
qmode draft, normal, or nlq.
term A terminal type (printer type).
DESCRIPTION
The epsonfx filter can be used to select advanced options on an
epsonfx compatible printer. This filter takes command line options,
converts these options into epsonfx escape sequences, and sends these
sequences to the standard output. The standard input is also read
and passed directly through to the standard output.
Options are:
-a int Timeout after int seconds if the printer is offline or in
some error state. A value of 0 (zero) will turn off the
timeout mechanism.
-b Print in bold type.
-c color Print in color color. Color names should be specified in
lower case characters. The colors available, if any, are
printer dependent.
-d Print using double height characters. Line pitch (lpi)
should be adjusted accordingly.
-h list Set horizontal tab stops at the columns specified in the
comma-separated list of numbers with NO spaces. The list
must be in ascending order. If list is only one number n,
then tab stops are set every n-th column. The default
setting is usually every 8th column and there is a limit to
the number of tab stops allowed.
-j jmode Set justification to jmode. Justification can be set to
left, right, full, or center. Only the first character of
jmode is significant. The default is left justification.
This feature is not available on all printers, or may be
available in NLQ mode only. When using full justification,
use carriage returns at the end of paragraphs instead of
each line.
-l int Set left margin at column int. The default setting is
Licensed material--property of copyright holder(s) 1
epsonfx(1) DG/UX 5.4R3.00 epsonfx(1)
usually the first column.
-p Select proportional spacing. This will over ride any
character pitch (cpi) setting.
-q qmode Set print quality to qmode. Print quality can be set to
draft, normal, or nlq. The default setting is usually
draft.
-r int Set right margin at column int. The default setting is
usually the last column (80 or 136).
-s Print in shadow type.
-t int Select alternate paper feeder tray int. Some printers may
not have an alternate paper tray; others may have one or
more trays. This may require setting up alternate paper
feeder tray(s) prior to printing. The default is usually
continuous paper feed meaning no tray selection.
-v list Set vertical tab stops at the lines specified in the comma-
separated list of numbers with NO spaces. The list must be
in ascending order. The default setting is usually no
vertical tab stops and there is a limit to the number of
tab stops allowed.
-C Selecting this option will enable the graphic character set
for ASCII characters 128 - 255 (which is the same as the
IBM character set 2). Normally, epsonfx printers have
italic characters in the upper half of the ASCII table (128
- 255).
-S int Skip int lines at bottom of each page. Same as bottom
margin. If the form length is 66 lines and this option is
set to 6, then each page will have 60 lines of printed
text. This option is sensitive to the current line pitch
(lpi), and the top of form position.
-T term Use Printer type term. The default type is epsonfx, but
can be set to one of the available printer specific epsonfx
types (e.g. dg6594-epsonfx).
Many of these options are printer specific or may not work in
combination, so it is important to check your printers manual. If a
printer does not support a particular feature and the option is
given, then the option will usually be ignored when the file is
printed.
EXAMPLES
The epsonfx filter may be access through the lp print service
facility, or may be used directly on the command line. When using
this filter on the command line, you must redirect both the input and
output of the filter. The following are examples of using the
Licensed material--property of copyright holder(s) 2
epsonfx(1) DG/UX 5.4R3.00 epsonfx(1)
epsonfx filter on the command line.
To print file1 in Near Letter Quality mode, issue the following
command:
cat file1 | epsonfx -pnlq | lp
To print file1 in blue with left and right margins at 10 and 70
respectively:
cat file1 | epsonfx -cblue -l10 -r70 | lp
To print file1 in bold type with vertical tab stops at lines 15 and
20, and fully justified:
cat file1 | epsonfx -b -v15,20 -jfull | lp
To print file1 with horizontal tab stops every 5 columns
(5,10,15,..):
cat file1 | epsonfx -h5 | lp
DIAGNOSTICS
An exit status of 0 is returned if the filter succeeded. If you are
using the epsonfx filter through the lp print service and a printer
fault is detected during output (e.g. carrier drop), then an error
message is sent to standard error. This message is forwarded to the
lp scheduler which in turn alerts the user of the fault.
FILES
/usr/lib/lp/terminfo/epsonfx
/usr/lib/lp/bin/epsonfx
/etc/lp/filter.table
SEE ALSO
lpadmin(1M), lpfilter(1M), lp(1)
NOTES
The epsonfx filter is automatically configured into the lp print
service facility. In order to establish this filter as the interface
filter to your printer, you should set the printer input type to
epsonfx. Additionally, the printer type should be set to epsonfx or
a printer specific epsonfx type (e.g. dg6594-epsonfx). See
lpadmin(1M) for more details on setting up printers.
When using the epsonfx filter through the lp print service, you can
specify the filter options with the lp -y "modes" option. The lp
options differ from those given to the filter. See lp(1) for more
information on the "-y modes" options.
Licensed material--property of copyright holder(s) 3