On Mon, 2 Feb 2004, Chris Lee wrote:
> hp5 {
>     host = ibm@xxxxxxxxxxxx
>     env.DEVNAME = PRT11
>     outputcommand = HP Color LaserJet 5
> }

That's not a hostname, it's an e-mail address.  Perhaps it should be

The outputcommand is probably also wrong.  I'm assuming that you're a
Windows user?  If so, it should be something like:
     outputcommand = printer:HP Color LaserJet 5

and that string "HP COlor LaserJet 5" must match EXACTLY what your system
lists the printer name as.  If not, it won't work.   Alternately, just
make the printer the "default" printer, and leave off the outputcommand
statement altogether.

If you're a FreeBSD/Linux/Unix/etc user, then outputcommand should be the
actual programs that you want to run.  For example:
    outputcommand = scs2ascii | lpr -Plj5

> However I cannot send the print job to PRT11, do I need to create print
> queue and writer at AS/400? If yes, what is the command?

Possibly?  It depends on how your system is configured.   In my case, I've
told my AS/400 to automatically create virtual devices, so I don't have to
set them up manually.  You do that by setting the QAUTOVRT system value to

If for some odd reason you're not allowed to have the system auto-config
the devices, you'll have to do it manually.  I haven't had to do that
myself, so I can't give you any specifics, you'll have to figure it out.

I strongly recommend using the auto-create method.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].