Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lpr(1)

pr(1)

lpd(8)

pac(8)

printcap(4)

i18n_printing(5)

dl1152wrof(8)  —  Maintenance

NAME

dl1152wrof − I18N filter for DEClaser 1152 printer

SYNOPSIS

/usr/lbin/dl1152wrof [−c] [−D data] [−f font] [−h host] \
[−i indent] [−I tray] [−l length] [−n login] \
[−O orientation] [−S] [−t] [−w width] \
[accounting_file]

FLAGS

-cPrints control characters. 

−D data
Tells the print filter how to interpret the text.  The valid values for data are:

postInterprets the text as a PostScript file. 

asciiInterprets the text as a text file. 

This flag overrides the format that is automatically determined by the print filter.  For example, the flag would be useful if users want to print the PostScript program file instead of the output generated by that file. 

−f fontIdentifies the font name used for printing non-ASCII characters.  If this value is omitted, Courier font is used and only 7-bit characters are printed. 

-h hostSpecifies the host name of the job owner.  The host name can include non-ASCII characters. 

-i indentSpecifies the amount of indentation. The default value is no (no indentation). 

−I traySelects the input tray of the printer.  The valid values for tray are:

frontAutomatic feed from the multi-purpose input. 

manualManual feed from the multi-purpose input. 

cassetteFeed from the optional tray-fed input. 

-l lengthSpecifies the page length in lines. The default value is 60. 

-n loginSpecifies the login name of the job owner.  The login name can include non-ASCII characters. 

−O orientation
Specifies the paper orientation.  The value can be portrait or landscape. 

−SEnables space compensation mode for printing text files in a language that has non-spacing characters.  Non-spacing characters can combine with other characters for display and therefore do not occupy space.  Many of the existing tools for text alignment cannot handle non-spacing characters properly.  If you have output from such utilities, you can enable space compensation mode to ensure proper alignment in printed output.  Currently, space compensation mode is supported only for printing in the Thai language. 

−tEnables text morphing for Thai printing.  By replacing some Thai characters with others, text morphing produces better output in the desktop publishing environment.  See Thai(5) for more information about text morphing.  Text-morphing rules are vendor-specific.  The ones applied by this filter can be used with the Thai outline fonts that are included in the worldwide support subsets for DIGITAL UNIX product. 

-w widthSpecifies the page width in columns. The default value is 80. 

PARAMETERS

accounting_file
Specifies the file to record accounting information.

DESCRIPTION

The dl1152wrof filter is needed to filter non-ASCII text or PostScript data for the DEClaser 1152 printer.  The filter handles the device dependencies of the printer and performs accounting functions.  Accounting records are written to the file specified by the af field in /etc/printcap at the time of completion for each job. 

The dl1152wrof filter can handle plain text files, files preprocessed by nroff, and PostScript files generated from other applications.  All these output files may contain non-ASCII characters. 

The font used for printing non-ASCII characters, as specified by the -f parameter, can be downloaded to the printer using the font-faulting mechanism.  Refer to i18n_printing(5) for information on font faulting.  To find out which fonts are available for a specific codeset, refer to the reference page for that codeset. 

The dl1152wrof filter is sensitive to the user locale setting.  Therefore, the filter can determine before printing a character if it is a printable character in the user’s current locale.  Users must therefore set their locale appropriately before using this filter to print files in languages other than English. 

The dl1152wrof filter can be the specified filter in both the of and the if fields in the /etc/printcap file.  If there are non-ASCII characters in the login name or host name, dl1152wrof must be specified in the of field.  Otherwise, you can ignore the value for the of field. 

If you specify dl1152wrof in the of field, also consider adding a value for yj in /etc/printcap.  The yj value forces the lpd command to pass the parameter to the print filter for every job.  Otherwise, any non-ASCII characters in the flag page may not be printed properly. 

For further information about values for the of and if fields, refer to printcap(4). 

NOTES

The lpr(1) reference page includes a complete list of the flags and options supported by the lpr command.  The following ones are appropriate for use with the dl1152wrof print filter:

-A flag

font option
To specify the font name for printing non-ASCII text.

spcom option
To enable space compensation mode.

tm option
To enable text morphing.

-I flagSpecifies input tray. Appropriate parameter values are front, manual, or cassette. 

-OSpecifies orientation.   Appropriate parameter values are portrait or landscape. 

ERRORS

The /etc/printcap file specifies a pathname value in the lf field. This value (by default, /dev/null) is the name of the file in which errors are logged. 

RELATED INFORMATION

Commands: lpr(1), pr(1), lpd(8), pac(8)

Files: printcap(4)

Others: i18n_printing(5)

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