We need to find out if it is possible to add a desktop printer to the iSeries. Also, if it is possible what settings need to be included in the printer device options. When we go to the CRTDEVPRT we cannot find the correct model and number for the HP 2800 Business Inkjet Printer. We would like to set up this printer to be used for only one specific user. Any comments or suggestions for this setup?
Thanks for your help.....
Joe
Software/Hardware used:
ASKED:
April 29, 2008 4:40 PM
UPDATED:
April 30, 2008 10:05 PM
How is this printer connected, to the user’s computer or on the network?
If it is connected to the user’s computer you need to create a printer session within iSeries Access on the computer itself. This will automatically create the dev on the AS400.
If it is network-connected then this IBM webpage gives information for setting up all sorts of printers as AS400 printers:
http://www-1.ibm.com/support/docview.wss?uid=nas1b44a2cf4ba778d83862568250053649f&rs=110
It suggests you use the *HP1600C WSCST object.
For years we have used the technique shown below. It serves us very well. We have a variety of HP printers attached to our network as TCP/IP devices. We tried the CRTDEV route but found it less reliabel the using the method shown below.
CRTOUTQ OUTQ(&OUTQLIB/&OUTQ) RMTSYS(&OUTQ) +
??RMTPRTQ(&OUTQ) AUTOSTRWTR(1) +
CNNTYPE(*IP) DESTTYPE(*OTHER) +
TRANSFORM(*YES) ??MFRTYPMDL(&TYPMDL) +
DESTOPT(‘XAIX’) SEPPAGE(*NO) +
??TEXT(&TEXT) DSPDTA(*YES) JOBSEP(00) /* +
DestOpt(‘XAIX’) allows printing of +
multiple copies. */
As you can guess from all the CLP variables, this is from a command we wrote to add printers to our network. Notice “MFRTYPMDL”. The AS/400 give an amazing number of printer models to select. When in doubt, we just select a good old HP IV LaserJet.
The key is the TCP/IP connection.
IBM has a document that includes what capabilities are supported on HP printers with the iSeries.
Information on Printers from Hewlett-Packard. Also, Chip Milosch has answered a lot of questions about this at search400, including this one: Connecting an HP LaserJet to the iSeries, whcih includes helpful tips about the CRTDEVPRT command and port connection specifications.
Sorry, link coding got messed up. Chip Milosch has published a helpful tip on search400.com Connecting an HP LaserJet to the iSeries which has helpful tips about the CRTDEVPRT command and port connection specifications.