Manual Page Result
0
Command: wwlpspr | Section: 1 | Source: Digital UNIX | File: wwlpspr.1.gz
wwlpspr(1) General Commands Manual wwlpspr(1)
NAME
wwlpspr - Internationalized print command for PrintServer printer
SYNOPSIS
wwlpspr [-A "option_list"] filename...
FLAGS
Specifies one or more options for the print job. These options, delim-
ited by spaces, must be enclosed in double quotation marks. Each ele-
ment of option_list includes a keyword, most of which require a value
assignment. See DESCRIPTION for a list of valid options.
PARAMETERS
Specifies the file to be printed.
DESCRIPTION
The wwlpspr command is used in place of the lpspr and lpr commands to
print local language (non-ASCII) files destined for the PrintServer
printer. The wwlpspr command indirectly invokes other commands, which
may include iconv, print filters, lpspr, and lpr, to ensure that files
are correctly processed in the appropriate outline font for the
printer. To use the wwlpspr command, your system must be running Ver-
sion 5 or higher versions of PrintServer software. This additional
software includes the lpspr command and corresponding reference page
that are referred to in this discussion.
The quoted option_list for the -A flag can include one or more of the
following options. Many of these options are passed to the lpspr or lpr
command. The wwlpspr command makes sure that all options are included
at the correct points in the processing pipeline. Specifies the locale
for the source text file. Print filters use this locale to validate
the characters in the text. If the flocale option is not set, the text
is interpreted in the current locale. The flocale setting is particu-
larly important for correct interpretation of characters in multibyte
codesets. Specifies the locale for the printer. PrintServer printers
are generic, rather than language-specific, and are therefore suitable
for use with files in a variety of languages. For these printers, the
plocale value should match the font used in the text file. When the
plocale value is inappropriate for the font codeset, the printed output
is useless.
To find out which fonts are available for a particular locale,
refer to the manpage for the corresponding codeset. Specifies
the outline font name for printing source text files on a Post-
Script printer. For more information, refer to the entry for the
plocale option. Enables space-compensation mode for languages,
such as Thai, that contain nonspacing characters. Nonspacing
characters can combine with other characters for display and
therefore do not occupy space. Many of the existing tools for
text alignment do not handle nonspacing characters properly. If
you want to print Thai output from such utilities, you should
enable space compensation mode to ensure proper text alignment
in the printed file.
Space compensation is done line by line. The print filter keeps
count of the number of nonspacing characters found in a line.
When two or more consecutive spaces are encountered, the print
filter inserts the appropriate number of spaces, therefore com-
pensating for spaces added by the nonspacing characters.
Space-compensation mode is valid only for printing Thai charac-
ters. Enables text morphing for Thai printing. Text morphing
replaces some characters with others to produce better output in
desktop publishing environments. Refer to Thai(5) for more de-
tails on text morphing. Text morphing rules are proprietary.
Therefore, text morphing is supported only by Digital Thai out-
line fonts and is available only for PostScript printing. Spec-
ifies page width in columns. The default is the value of the pw
field in the /etc/printcap file. Specifies page length in
lines. The default is the value of the pl field in the
/etc/printcap file. Specifies the indentation in columns. The
default is 0. Specifies the page orientation, where value can
be portrait or landscape. The default is portrait. Specifies
the input tray. The tray value can be one of the following: The
upper 250-sheet input tray The middle 250-sheet input tray The
large capacity input tray The large capacity input tray The
LPS17 envelope tray
If you do not include the intray option, the input tray is de-
termined from the sheet option. Specifies the output tray. The
tray value can be one of the following: Top tray, with face-down
stacking Side tray, with face-down stacking Side tray, with
face-up stacking. Upper tray on top of the printer Lower tray
on top of the printer Large capacity output stacker
If you do not include the outtray option, the default paper tray
for the printer is used. Specifies the number of pages to be
printed on each sheet. The default value for number is 1.
Specifies single or double sided printing, where value is one or
two, respectively. The default is one. Specifies the number of
copies. The default is 1. Specifies the sheet size. The
sheet_size value can be one of the following: 8.5 x 11 inches,
216 x 279 mm 11 x 17 inches, 279 x 432 mm 8.5 x 14 inches, 216 x
356 mm 7.5 x 10.5 inches, 191 x 254 mm 5.8 x 8.3 inches, 148 x
210 mm 8.3 x 11.7 inches, 210 x 297 mm 11.7 x 16.5 inches, 297 x
420 mm 7.2 x 10.1 inches, 176 x 250 mm 10.1 x 14.3 inches, 250 x
353 mm 4.3 x 8.7 inches, 110 x 220 mm 4.125 x 9.5 inches, 105 x
241 mm 3.875 x 7.5 inches, 99 x 191 mm
If you do not specify the sheet option, sheet_size is assumed to
be letter (8.5 x 11 inches). Specifies the name of the printer
queue connected to the PrintServer printer. If you do not spec-
ify this option, the job is sent either to the printer specified
by the PRINTER environment variable or the default printer.
Suppresses printing of the burst page. If you do not specify
this option, the value of the sh field in /etc/printcap deter-
mines whether the burst page is printed. Sends mail to the user
when the print job is finished. If you do not include this op-
tion, mail is not sent. Indicates if a file is a PostScript or
a text file, where type can be post or ascii, respectively.
There is no default setting. Using this option suppresses the
software's automatic detection of file type. Specifies the
PrintServer model number. The wwlpspr command supports only the
PrintServer 17 product. Appends a PostScript showpage operator
to the output. This option is useful for obtaining proof copies
of Encapsulated PostScript (EPS) files. If you do not include
this option, the showpage operator is not appended. Specifies
the number of columns to expand each tab character. The default
value for columns is 8. Prints control characters in the text
file and suppresses page breaks. If you do not include this op-
tion, control characters are not printed and page breaks are en-
abled. Uses the PostScript profile file specified by pathname
for converting plain text files to PostScript. Conversion to
PostScript of file data containing ASCII text requires a special
PostScript profile file. If you do not specify the profile op-
tion, the standard profile is used. This file is named lp-
sasc2ps.psh and resides in the standard LPS library directory as
configured for your system.
EXAMPLES
The following example prints three copies of the new.index.c, print.in-
dex.c, and more.c files with specific printer locale and fonts. More-
over, each file is printed double-sided, 2 pages per side.
% wwlpspr -A "copies=3 plocale=zh_TW.dechanyu font=Sung-Light-CNS11643
sides=two pps=2 queue=lps17" new.index.c print.index.c more.c
RELATED INFORMATION
Commands: lpr(1), lpspr(1)
Files: printcap(4)
Others: i18n_intro(5), i18n_printing(5) delim off
wwlpspr(1)