Before you begin, you must log in as the system operator or the security officer (QSYSOPR or QSECOFR), or have print operator authority.
Type CRTDEVPRT (create device printer) from a command line.
Give the printer a device name of your choice.
Specify the DEVICE CLASS as *LAN; this applies to ethernet or token ring topologies.
Set the TYPE to 3812 and MODEL to 1.
Set the LANAttachment (LANATTACH) to *IP.
Set the PORTnumber to 9100 for an internal network adapter
Specify the default Font: identifier you want to use for this device; for example, FONT: identifier 11.
Set FORMFEED to *CONT.
Set the Activation timer (ACTTMR) to 170.
Set the Inactivity timer (INACTTMR) to *SEC15.
Set HOST PRINT TRANSFORM (HPT) to *YES and set the Manufacture type and model (MFRTYPMDL) to *LEX2391, for example.
Note: MFRTYPMDL is variable, select the printer model closest in value to your printer model. To view the possible values under MFRTYPMDL, press F4.
For the Remote Location Name or address (RMTLOCNAME) field, enter the IP address or the host name for your network adapter.
Lastly, set the System Driver Program (SYSDRVPGM) to *IBMSNMPDRV and save the printer device description.
Now you must VARY ON the device. From a command line type WRKDEVD.
Move your cursor to the printer you have just created, type the number 8, and then press Enter.
Press number 1 to VARY ON the device, and press Enter. The device should now show VARIED ON.
Press F12 to exit out of WRKDEVD and back to your command line.
At the command line type WRKWTR.
Move your cursor to the writer that has been created, press 1 to start the writer, and then press Enter.
You can press F5 to refresh this screen until you see 21, which signifies that the writer’s status (Sts) is ready (RDY).
Press F12 to exit WRKWTR.
You will have to view the messages on the queue twice. Use G the first time, then I the second.
You are now ready to print.