Example
91
5. If you choose a destination name other than the default of d
x
prn,
establish a TELNET session (or use a Web browser) and modify the
PrintNet destination name. This can be done via a “green screen”
TELNET session, a tn5250 session from OS/2, a TELNET session
from Windows, etc.
6. The end data stream required for the PrintNet is ASCII. This is
accomplished either by sending ASCII files (usually AS/400 files are
not ASCII, but ASCII files can be placed as Documents in Folders by
FTP or Client Access, etc.), or by converting SCS to ASCII via a
transform process (WSCST filter to map SCS to ASCII). The printer
emulation should be set to P-Series, Serial Matrix, Epson FX, or
Proprinter. If you wish to use Office/400 to create Documents for
printing, set the printer emulation to Epson FX or Proprinter. Often
what is desired is to utilize the output of RPG or COBOL programs by
converting the resulting SCS output to ASCII via the WSCST filter
table.
Example
The example outlined below will follow this procedure:
• RPG is used to create PGL or VGL output (output might previously be
directed to a printer with a twinax interface).
• Printer is set to IGP.
• d1prn is the print destination.
• A simple line printer WSCST Object is created to just send line feeds,
carriage returns, and form feeds. No character tables are needed.
Since no “generic line printer” exists as a MFTYPMDL, we will create
one.
• An Output Queue named IP_P5000 is created.