Specifications

Chapter 3. z/OS notes 41
Real 1403 printers are historical items, but there are many uses for pseudo-1403 devices.
z/OS and JES2 still support 1403 printers and the 1090 can emulate 1403 printers. This is all
that is needed for printed output from utilities, compilers, and many existing applications.
Using a PC printer
Our goal was to use a common PC laser printer and have utility output produced in the format
just described: landscape mode, 66 lines per page, 132 characters per line. If the PC printer
provides duplex printing (printing on both sides of the paper), this would be used. The flow is
illustrated in Example 3-2.
Our tests used a Lexmark OptraS1250 and Optra L printers (both with duplex printing
features). We have not tried the techniques described here with other printers, but we expect
the same or similar techniques could be used. However, remember that z/OS printed output
typically contains separator pages, JCL listings and messages, and so forth; the smallest job
usually has multiple pages of printed output. This may not be suitable for use with a small
inkjet printer. We assume the use of a fairly heavy-duty laser printer for z/OS printing.
Figure 3-2 General flow for printing
3.10.1 Setup
We need to provide an appropriate setup for Linux, the 1090 devmap, a shell script, and
JES2.
Linux setup
We first configured our (very old) Lexmark Optra S1250 for Linux. This printer has a parallel
input; our computer had no parallel ports. We purchased a USB-to-parallel cable and this
provided the needed connectivity. We used YAST (running under openSUSE) to configure the
printer.
10
A print queue named optras1250 was created automatically by YAST. We verified
that the printer worked by using commands such as:
$ lpr /home/ibmsys1/prof12 (to print one of our devmaps)
Devmap setup
We added the appropriate 1403 definition to the 1090 devmap:
[manager]
name awsprt 4321 --windows
device 00E 1403 2821 /tmp/1403a
The --windows option is needed to place CR/LF characters in the output; without this option,
NL characters are used and a PC printer may not be happy with NL characters. The output
file name (/tmp/1403a in the example) is arbitrary. In our case, we did not expect much printed
output and /tmp seemed a reasonable place to put it. The output file may also be assigned or
changed with the awsmount command.
Application JES2 Spool 1403 emulator
132x66 sysout
Linux filelpr command prt00e shell scriptPrinter
10
Red Hat Linux has a different configuration process, but the end results are about the same.