Problem:
How to define a Printer Device (3270P) in Mainframe Express (MFE) CICS Option
Resolution:
First of all, here is what you can find in documentation referring this question:
(Bookshelf / Adminstrators Guide / Chapter 13.8)
----------------------------------------------------------------------------------------------------------------------
13.8 Printers
You can use a printer device for 3270 printer support. Printer support is handled by 3270 printer emulators, which interpret the 3270 printer data stream and send it to a system printer.
To start a printer emulator in a CICS Option multi-tasking region, you must enable printer support.
To do this update the following fields in the SIT using the character interface to resource definition (click Resource Definition from CICS on the Tools menu):
Printer Support : Y
Printer Destination: Device name for printed output
A CICS Option multi-tasking region starts a printer emulator for each entry in the terminal table which is:
- Set as MODEL=NO (the netname must be defined)
- Has a Termtype entry which specifies a 3270 printer (3270P)
The netname defined in the terminal table must be unique to the region. The terminal ID for the printer is taken from the terminal definition.
To avoid conflicts with automatically assigned netnames , you should assign netnames to printers counting downwards: PRNZ999, PRNY999 ... PRNA000.
----------------------------------------------------------------------------------------------------------------------
As pictures can say more than 1000 words you can find attached a hardcopy as sample for Printer 3270P Definition.
Please define accordingly a Terminal and Typeterm using any Group in Startup List under Tools / Cics / Resource Definitions / F7 Group Resources.
Additionally it may be necessary that a (physical) Printer assignment must be done in Windows before you start MFE and CICS Region ,
e.g. NET USE LPT1: \\\\YOUR-PRINTSERVER\\YOUR-PRINTER
Attachments:
#MFDS
#EnterpriseDeveloper