la88cof - Filter for the Simplified Chinese LA88 printer
/usr/lbin/la88cof [-c] [-h host] [-i indent] \ [-l length] [-L locale] [-n login] [-w width] \ [accounting_file]
Prints control characters. Specifies the host name of the job owner. This name can contain Hanzi characters. Specifies the amount of indentation. The default value is no (no indentation). Specifies the page length in lines. The default value is 66. Specifies the printer codeset. This value must be a valid locale name. The default value is zh_CN.dechanzi. Specifies the login name of the job owner. This name can contain Hanzi characters. Specifies the page width in columns. The default value is 132.
Specifies the file to record accounting information.
The la88cof filter is used to filter text data for the LA88-C printer. The filter handles the device dependencies of the printer and performs accounting functions. At print job completion times, accounting records are written to the file specified by the af field in the /etc/printcap file.
The la88cof filter can handle plain text files and files that have been preprocessed by nroff. Either kind of file can contain non-ASCII characters. The filter translates nroff control sequences for underlining, superscripting, and subscripting into the proper control sequences for the LA88-C printer.
The la88cof filter can be the specified filter in both the of and the if fields in the /etc/printcap file. For more information on these fields, see printcap(4).
The LA88-C printer can be configured to use the software on-demand loading (SoftODL) mechanism to print user-defined characters (UDCs). See i18n_printing(5) for a more detailed description of SoftODL.
To enable SoftODL printing, set the ys field in /etc/printcap to 256. You can also set the default SoftODL database, style, and size by including the odldb and odlstyle options in the ya field. If you specify a value for the yt field, use fifo. For more information on these fields, see printcap(4).
The lpr command supports a number of flags and associated options to enable localization features supported by various printers. The following can be used with the la88cof print filter:
To specify the SoftODL database path To specify SoftODL font style and size
For a complete description of this flag and its options, refer to lpr(1).
The lf field (default value is /dev/null) in the /etc/printcap file specifies the name of the error log.
Commands: lpr(1), pr(1), lpd(8), pac(8)
Others: i18n_printing(5) delim off