Installing a Printer on AS400

exhuser used Ask the Experts™
Can someone explain/describe a sequence of steps to install a network printer on AS400? I am new to the system and would appreciate all "obvious" details.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Gary PattersonVP Technology / Senior Consultant

What is the make an model of the printer?  Different printers have different connection capabilities, some better than others.
Gary PattersonVP Technology / Senior Consultant

Be prepared to spend a few minutes reading the material.  

Basically, you start with this article:

Then you drill down into the setup instructions for your manufacturer.  I'll pick HP for example:

Then you read the "Read This First" section.

There are two basic ways to configure printing to a typical network printer:  you can use IBM i Host Print Transform (built into the operating system) to print directly from the IBM i to a network printer (this is the best configuration for most purposes), or you can use IBM i Access and route your printing through your own PC - I do this when I'm working from home on a client's system and want to print to my personal printer.  

I'm going to assume that you want to set up shared printer and use HPT to print directly to it from the IBM i.

Next you determine which print protocol is supported by your printer by looking the document for your manufacturer, and pick the best one.  In general, PJL and SNMP are preferred, followed by IPP, then LPR.

Finally, you follow the links at the bottom of the "manufacturer" page to configure a Remote Output Queue.  

Remote output queues are where you typically configure the parameters so that the IBM i and HPT can reach the printer and properly transform the print information into a format the printer can understand.  Once your Remote outq is configured, the system will automatically start up a remote print writer job, which just takes print jobs off the outq, runs them through HPT, and calls the proper driver program to send the job to the remote printer.

After you've done your homework :-) post back here if you have any questions.  It really isn't very hard, and mostly involves reading the articles to understand the correct CRTOUTQ parameters for your specific printer.

There is another way to configure remote printing that uses an extra object, a printer device description (DEVD), but for most needs a remote outq will work for you.  The DEVD configuration instructions are the last two article at the very bottom of the HP page.


I have a related question: if I have an outq name, how can I tell which printer is using it?
VP Technology / Senior Consultant
Well, if it is local, you can always just move a spooled file to that outq and see what printer it comes out on.  For twinax printers, if you have any, that's also the best bet.  Of course, the end users usually know which printer is which.

For network-attached printers, you can just look at the outq description (WRKOUTQD) and see what IP address or FQDN it is pointing to, and then print out a test page on each printer to view the IP address.

We usually put a label on printers with the IBM i queue name, Windows name, and IP.
Printers don't (exactly) use *OUTQs. Writers read spooled files from *OUTQs and send them to printers. So you'd generally check which writer was pulling entries from the *OUTQ, then check to see what device the writer was sending to.

WRKOUTQ can show writers associated with *OUTQs. And WRKWTR can get you into a display of writer details with option 5='Work with'. The writer's device will usually be on the third scrolled page.


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial