Library /sys$common/syshlp/WWPPSHLP.HLB  —  PRINT
   Converts one text file at a time into a printable PostScript file
   and then submits it to the printer queue.

   Characters can be printed in the standard font or in bold.

   The following codesets are supported on OpenVMS systems:

   Codeset    Codeset Name
   ---------  ------------
   DECHANYU   DECHanyu for Traditional Chinese (Plane 1 and Plane 2 only)
   DECHANZI   DECHanzi for Simplified Chinese
   DECKOREAN  DECKorean for Korean
   GB18030    GB18030-2000 for Simplified Chinese and Traditional Chinese
   ISO8859-1  ISO Latin-1
   ISO8859-2  ISO Latin-2
   ISO8859-5  ISO Latin-5
   ISO8859-7  ISO Latin-7
   ISO8859-8  ISO Latin-8
   ISO8859-9  ISO Latin-9
   SDECKANJI  Super DEC Kanji for Japanese
   TACTIS     TIS-620 for Thai

   All of these codesets are supported by WWPPS, but fonts can be
   associated with only one language at a time for each codeset.

   WWPPS also supports Unicode character conversion for all of
   these codesets except Thai. A Unicode character is converted to
   a character in one of these codesets; then the font supporting
   that codeset is used for the character in the PostScript file.
   If a character cannot be converted, it is printed as a space.

   Format:

 	PRINT/QUEUE=queue-name [/qualifiers] file-spec

   The /QUEUE qualifier is required on all PRINT commands to specify
   the name of the queue to which the text file specified by file-spec
   should be sent.

   Example:

     WWPPS> PRINT/QUEUE=PRT_QUEUE/LOCALE=EN_US_ISO8859-1 REPORT.TXT

       This command submits file REPORT.TXT to the PRT_QUEUE printer
       queue to be printed in American English.

1    /COPIES

   /COPIES=n

   Specifies the number of copies to be printed.
   The default number of copies is 1.

2    /INDENTATION

   /INDENTATION=n

   Specifies the number of characters to indent from the left margin.
   The default is /INDENTATION=0 (no indentation). The maximum
   value allowed depends on the specified (or default) values for
   /PAPER_SIZE and /ORIENTATION.

   /PAPER_SIZE   /ORIENTATION   Maximum value for /INDENTATION
   LETTER        PORTRAIT                 39
   A4            PORTRAIT                 38
   LETTER        LANDSCAPE                65
   A4            LANDSCAPE                67

3    /LENGTH

   /LENGTH=n

   Specifies page length as the number of lines. The default length
   is 66 lines for LETTER size and 68 lines for A4 size.

4    /LOCALE

   /LOCALE=locale-name

   Specifies the locale setting in which the WWPPS converts the
   input file. You do not need to specify /LOCALE for text files
   in Unicode format (UTF-30).

   Locales are constructed using the following convention:

     language_country_codeset.LOCALE

   The language and country are each two characters, as defined by
   the OSF naming conventions. (See the /LOCALE subtopics for
   possible values.) For example, EN_US_ISO8859-1 represents
   the locale for English spoken in the United States.

   By default, WWPPS uses the system-specified or process-specified
   locale. If there is no system-specified or process-specified
   locale, the default is /LOCALE=C.

   To display the locale specified on your system, enter the
   following command:

     $ LOCALE SHOW PUBLIC

   Example:

     WWPPS> PRINT/QUEUE=QUEUE1/LOCALE=ZH_TW_DECHANYU REPLY.TXT

       This command submits the file REPLY.TXT to the QUEUE1 printer
       queue and prints it in the Traditional Chinese locale for
       Taiwan (TW) using the DEC Hanyu codeset.

4.1  –  Language and Country Codes

   The following list aligns language codes and country codes
   that are commonly associated with each other.

   Language code -> Language 	Country code -> Country
   CA		   Catalan      ES		Spain
   ES		   Spanish
   CS		   Czech        CZ	        Czech Republic
   DA		   Danish       DK		Denmark
   DE		   German       CH		Switzerland
   			        DE		Germany
   EL		   Greek        GR		Greece
   EN		   English      GB		Great Britain
   			        US		United States
   FI		   Finnish      FI		Finland
   FR		   French       BE		Belgium
   			        CA		Canada
   			        FR		France
   HE		   Hebrew       IL		Israel
   IW		   Hebrew
   HU		   Hungarian    HU		Hungary
   IS		   Icelandic    IS		Iceland
   IT		   Italian      IT		Italy
   JA		   Japanese     JP		Japan
   KO		   Korean       KR		Korea
   LT		   Lithuanian   LT		Lithuania
   NL		   Dutch        NL		Netherlands
   NO		   Norwegian    NO		Norway
   PL		   Polish       PL		Poland
   PT		   Portuguese	PT		Portugal
   RU		   Russian	RU		Russia
   SK	  	   Slovak	SK		Slovakia
   SL		   Slovene	SI		Slovenia
   SV		   Swedish	SE		Sweden
   TH		   Thai	        TH		Thailand
   ZH		   Chinese	HK		Hong Kong
   			        TW		Taiwan
   			        CN		People's Republic
                                                    of China

4.2  –  Codeset Codes

   The following codesets are supported on OpenVMS systems:

   Codeset    Codeset Name
   ---------  ------------
   DECHANYU   DECHanyu for Traditional Chinese (Plane 1 and Plane 2 only)
   DECHANZI   DECHanzi for Simplified Chinese
   DECKOREAN  DECKorean for Korean
   GB18030    GB18030-2000 for Simplified Chinese and Traditional Chinese
   ISO8859-1  ISO Latin-1
   ISO8859-2  ISO Latin-2
   ISO8859-5  ISO Latin-5
   ISO8859-7  ISO Latin-7
   ISO8859-8  ISO Latin-8
   ISO8859-9  ISO Latin-9
   SDECKANJI  Super DEC Kanji for Japanese
   TACTIS     TIS-620 for Thai

5    /ORIENTATION

   /ORIENTATION=logical-orientation

   Specifies the orientation of printed output on the logical page
   as PORTRAIT (default) or LANDSCAPE.

6    /PAPER_SIZE

   /PAPER_SIZE=logical-size

   Specifies the size of the paper as LETTER (default) or A4.

7    /RANGE

   /RANGE=m:n

   Specifies the range of pages to be printed, starting with page
   number m and ending with page number n. Or, instead of specifying
   a range of pages, you can specify ODD to print only odd-numbered
   pages or specify EVEN to print only even-numbered pages. By default,
   the entire document is printed.

8    /VERTICAL

   /VERTICAL
   /NOVERTICAL (default)

   Specifies vertical writing mode for Chinese, Korean, and
   Japanese multibyte characters. When /VERTICAL is specified,
   multibyte characters are rotated counterclockwise by 90 degrees
   and printed in lines from left to right; when the printed page
   is rotated 90 degrees clockwise, the characters can be read in
   vertical lines from right to left. In vertical mode, single-byte
   characters in languages such as English are still printed
   horizontally from left to right.

9    /WIDTH

   /WIDTH=n

   Specifies the width of the page in columns. Valid values are as follows:

 	80  (for LETTER size paper and PORTRAIT orientation)
 	132 (for LETTER size paper and LANDSCAPE orientation)
 	78  (for A4 size paper and PORTRAIT orientation)
 	136 (for A4 size paper and LANDSCAPE orientation)

   The default value is /WIDTH=80.
Close Help