Use the *LAN device option CRTDEVPRT DEVD(M5200N) DEVCLS(*LAN) TYPE(3812) MODEL(0) LANATTACH(*IP) PORT(0) PARITY(*NONE) STOPBITS(1) TRANSFORM(*YES) RMTLOCNAME('1.2.3.4') Where the RMTLOCNAME parameter is the IP address for your printer. You'll also need to know what model of HP laserjet the printer is compatible with and set the MFRTYPMDL parameter to that model.
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
How to print to a networked printer?
Collapse
X
-
How to print to a networked printer?
There is a very good IBM document at: Support for Various ASCII Printers Look up your dell and use the appropriate manufacturer and pcl code setting. In the case of a Dell M5200 the manufacture would be "*LEXOPTRA", I don't know if you will have to use the HP PCL or IBM PCL setting. You can play with them until you find one that works.
-
How to print to a networked printer?
Create the OUT QUEUE first and the the device description. See - CRTOUTQ OUTQ(QUSRSYS/PRTOUT1) RMTSYS(*INTNETADR) + RMTPRTQ(D1PRN) CNNTYPE(*IP) + DESTTYPE(*OTHER) MFRTYPMDL(*HP4000)+ INTNETADR('X.X.X.X') DESTOPT(XAIX) + SEPPAGE(*NO) TEXT('Laser Printer 1') CRTDEVPRT DEVD(PRTOUT1) DEVCLS(*VRT) TYPE(3812) MODEL(1) ONLINE(*NO) + CTL(QVIRCD0001) FONT(011 *NONE) FORMFEED(*AUTOCUT) + SEPDRAWER(*FILE) PRTERRMSG(*INFO) MSGQ(*LIBL/QSYSOPR) + TRANSFORM(*NO) MFRTYPMDL(*HP4000) PPRSRC1(*LETTER) + PPRSRC2(*LETTER) ENVELOPE(*NUMBER10) ASCII899(*YES) + IMGCFG(*NONE) TEXT('Laser Printer 1') + DEPLOCNAME(*NONE) PUBLISHINF(*UNKNOWN *UNKNOWN *UNKNOWN + *UNKNOWN *BLANK (*UNKNOWN)) Then vary the printer on & away you go!
Comment
-
How to print to a networked printer?
I have a Dell M5200n printer. I know that we can print from the iSeries to a networked (TCP/IP) printer. However, I am stuck here on how to configure it on the iSeries. I tried CRTDEVPRT using a "remote queue", but the print job remains in a "SND" status when I tried printing to it. Any help greatly appreciated.
Comment
-
How to print to a networked printer?
CRTDEVPRT DEVD(PRT10) DEVCLS(*LAN) TYPE(3812) MODEL(1) + LANATTACH(*IP) PORT(9100) ATTACH(*DIRECT) ONLINE(*YES) + FONT(011 *NONE) FORMFEED(*AUTOCUT) SEPDRAWER(*FILE) + PRTERRMSG(*INQ) MSGQ(*CTLD) ACTTMR(170) INACTTMR(*SEC15) + LINESPEED(19200) WORDLEN(8) PARITY(*NONE) STOPBITS(1) + TRANSFORM(*YES) MFRTYPMDL(*LEXOPTRAT) PPRSRC1(*LETTER) + PPRSRC2(*LETTER) ENVELOPE(*NUMBER10) ASCII899(*NO) + IMGCFG(*NONE) CHRID(*SYSVAL) RMTLOCNAME('xx.xx.xx.xx') + SYSDRVPGM(*HPPJLDRV) PUBLISHINF(*UNKNOWN *UNKNOWN *UNKNOWN + *UNKNOWN *BLANK (*UNKNOWN))
Comment
Comment