 |
Index for Section 8 |
|
 |
Alphabetical listing for C |
|
 |
Bottom of page |
|
cp382dof(8)
NAME
cp382dof - Filter for Traditional Chinese CP382 printer controller
SYNOPSIS
/usr/lbin/cp382dof [-c] [-h host] [-i indent] [-l length] [-L locale] [-n
login] [-w width] [accounting_file]
OPTIONS
-c Prints control characters.
-h host
Specifies the host name of the job owner.
-i ident
Specifies the amount of indentation. The default value is no (no
indentation).
-l length
Specifies the page length in lines. The default value is 66.
-L locale
Specifies the printer codeset. This value must be a valid locale name.
The default value is zh_TW.dechanyu.
-n login
Specifies the login name of the job owner. This name can contain
Chinese characters.
-w width
Specifies the page width in columns. The default value is 132.
OPERANDS
accounting file
Specifies the file to record accounting information. This file can
contain Chinese characters.
DESCRIPTION
The cp382dof filter is used to filter text data destined for the CP382
printer controller. The filter handles the device dependencies of the
printers and performs accounting functions. At the time of completion for
each print job, accounting records are written to the file specified by the
af field of the printer's entry in /etc/printcap.
The filter can handle plain ASCII and Chinese text files and files that
have been preprocessed by nroff. The cp382dof filter translates nroff
control sequences for underlining, superscripting, and subscripting into
the proper CP382 control sequences.
The cp382dof filter can be the specified filter in both the of and the if
fields in the /etc/printcap file. For further information, see printcap(4).
The CP382-D printer can be configured to use the software on-demand loading
(SoftODL) mechanism to print user-defined characters (UDCs). Refer to
i18n_printing(5) for more details on SoftODL.
To enable SoftODL printing, you should set the ys value in /etc/printcap to
800. You can also set the default SoftODL database, style, and size by
using the odldb and odlstyle options in the ya value. The yt value, if
set, should be fifo. Refer to printcap(4) for information on setting these
values.
NOTES
The lpr command supports a number of options and associated options to
specify localization features supported by various printers. The lpr(1)
reference page provides a complete list of these options and options. The
following ones can be specified for the CP382 printer controller:
-A
odldb
To specify the SoftODL database path
odlstyle option
To specify SoftODL font style and size
RESTRICTIONS
The cp382dof filter always assumes that 4-byte characters are printed
without leading code. The printer hardware should be set as such to avoid
any formatting problems.
ERRORS
The lf field (default value is /dev/null) in the /etc/printcap file
specifies the name of the error logging file.
SEE ALSO
Commands: lpd(8), lpr(1), pr(1), pac(8)
Files: printcap(4)
Others: i18n_printing(5)
 |
Index for Section 8 |
|
 |
Alphabetical listing for C |
|
 |
Top of page |
|