z/OS Infoprint Server Operation and Administration
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Formatting for PostScript landscape orientation (basic mode)

z/OS Infoprint Server Operation and Administration
SA38-0693-00

Formatting for PostScript landscape orientation (basic mode)

IP PrintWay™ basic mode can format non-PostScript data sets in the landscape orientation for printing on a PostScript printer. To request landscape orientation, you can select a landscape option in the PostScript header field.

IP PrintWay extended mode ignores the PostScript header field. For information about how to print in landscape orientation when you run IP PrintWay extended mode, see Specifying printer commands for landscape printing.

Note:
IP PrintWay does not format data if Print Interface has allocated the data set on the JES spool or if NetSpool has converted the data stream to any format other than line data. In these cases, Print Interface or NetSpool formats the data. Therefore, the PostScript header field does not apply to these data sets.

If you select one of the landscape options in the PostScript header field, IP PrintWay basic mode sends this PostScript program to the printer before sending data. This program intercepts the data, formats it, and prints it. This PostScript program does not work if the data to be printed is already PostScript data.

    614 25 translate 90 rotate .88 .76 scale
    /n 1 def
    /fs 10 def
    /ls 11.2 def
    /ld ls 2 mul def
    /lt ls 3 mul def
    /t 740 fs sub def
    /y t def /ff t def /os 20 def
    /s 512 string def
    /Courier-Bold findfont
    fs scalefont setfont
    /p {n {copypage} repeat erasepage} def
    /i (%stdin) (r) file def
    /{/c i read not {p stop} if def
    c 26 eq {p stop} if
    /x 20 def
    /y c 43 eq {y /x os def}
    {c 32 eq {y ls sub}
    {c 48 eq {y ld sub}
    {c 45 eq {y lt sub}
    {c 49 eq {ff} {y} ifelse}
    ifelse} ifelse} ifelse} ifelse def
    /ff 0 def
    y 65 le {p /y t def} if x y moveto
    /os i s readline not {p stop} if dup show
    length 0 eq {20} {20.72} ifelse def } loop

Limitations:

  • If you select a landscape option, do not use the same printer definition to print PostScript data sets from a batch application. If you do, an error occurs.
  • Do not select a landscape option when you select the email protocol.
  • If you select a landscape option, do not specify printer commands in the Document header and Document trailer fields.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014