Index Index for
Section 1
Index Alphabetical
listing for W
Index Bottom of
page

wwlpspr(1)

NAME

wwlpspr - Internationalized print command for PrintServer printer

SYNOPSIS

wwlpspr [-A "option_list"] filename...

OPTIONS

-A "option_list" Specifies one or more options for the print job. These options, delimited by spaces, must be enclosed in double quotation marks. Each element of option_list includes a keyword, most of which require a value assignment. See DESCRIPTION for a list of valid options.

OPERANDS

filename 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 Version 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 option 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. flocale=locale_name 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 particularly important for correct interpretation of characters in multibyte codesets. plocale=locale_name 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. font=font_name Specifies the outline font name for printing source text files on a PostScript printer. For more information, refer to the entry for the plocale option. spcom 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 compensating for spaces added by the nonspacing characters. Space-compensation mode is valid only for printing Thai characters. tm 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 details on text morphing. Text morphing rules are proprietary. Therefore, text morphing is supported only by Compaq Thai outline fonts and is available only for PostScript printing. width=number Specifies page width in columns. The default is the value of the pw field in the /etc/printcap file. length=number Specifies page length in lines. The default is the value of the pl field in the /etc/printcap file. indent=number Specifies the indentation in columns. The default is 0. orient=value Specifies the page orientation, where value can be portrait or landscape. The default is portrait. intray=tray Specifies the input tray. The tray value can be one of the following: top The upper 250-sheet input tray middle The middle 250-sheet input tray bottom The large capacity input tray lcit The large capacity input tray envelope The LPS17 envelope tray If you do not include the intray option, the input tray is determined from the sheet option. outtray=tray Specifies the output tray. The tray value can be one of the following: top Top tray, with face-down stacking side Side tray, with face-down stacking face-up Side tray, with face-up stacking. upper Upper tray on top of the printer lower Lower tray on top of the printer lcos Large capacity output stacker If you do not include the outtray option, the default paper tray for the printer is used. pps=number Specifies the number of pages to be printed on each sheet. The default value for number is 1. sides=value Specifies single or double sided printing, where value is one or two, respectively. The default is one. copies=number Specifies the number of copies. The default is 1. sheet=sheet_size Specifies the sheet size. The sheet_size value can be one of the following: letter or a 8.5 x 11 inches, 216 x 279 mm ledger or b 11 x 17 inches, 279 x 432 mm legal 8.5 x 14 inches, 216 x 356 mm executive 7.5 x 10.5 inches, 191 x 254 mm a5 5.8 x 8.3 inches, 148 x 210 mm a4 8.3 x 11.7 inches, 210 x 297 mm a3 11.7 x 16.5 inches, 297 x 420 mm b5 7.2 x 10.1 inches, 176 x 250 mm b4 10.1 x 14.3 inches, 250 x 353 mm dl 4.3 x 8.7 inches, 110 x 220 mm business_envelope 4.125 x 9.5 inches, 105 x 241 mm 7_envelope 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). queue=printer_queue_name Specifies the name of the printer queue connected to the PrintServer printer. If you do not specify this option, the job is sent either to the printer specified by the PRINTER environment variable or the default printer. noburst Suppresses printing of the burst page. If you do not specify this option, the value of the sh field in /etc/printcap determines whether the burst page is printed. mail Sends mail to the user when the print job is finished. If you do not include this option, mail is not sent. data=type 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. model=LPS17 Specifies the PrintServer model number. The wwlpspr command supports only the PrintServer 17 product. showpage 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. tab=columns Specifies the number of columns to expand each tab character. The default value for columns is 8. literal Prints control characters in the text file and suppresses page breaks. If you do not include this option, control characters are not printed and page breaks are enabled. profile=pathname 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 option, the standard profile is used. This file is named lpsasc2ps.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.index.c, and more.c files with specific printer locale and fonts. Moreover, 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

SEE ALSO

Commands: lpr(1), lpspr(1) Files: printcap(4) Others: i18n_intro(5), i18n_printing(5)

Index Index for
Section 1
Index Alphabetical
listing for W
Index Top of
page