× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Mon, 2 Feb 2004, Chris Lee wrote:

> I use the following config for lp5250d:
>
> hp5 {
>     host = ibm@xxxxxxxxxxxx
>     env.DEVNAME = PRT11
>     outputcommand = HP Color LaserJet 5
> }
>
> 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?

The problem here is twofold.  The first problem lies in the host
parameter.  "ibm@xxxxxxxxxxxx" is not a valid argument.  It must be a
hostname (optionally followed by the domain name).  Thus
"ibm.myoffice.com" is okay.

The second problem is your outputcommand.  "HP Color LaserJet 5" is not a
command at all.  A valid outputcommand argument is something like
"scs2ascii | lpr" or "scs2pdf > /tmp/output.pdf".

Take a look at the tn5250 HOWTO located here:

http://www.chowhouse.com/~james/tn5250-HOWTO.pdf

It includes several examples of configurations used with printers.

James Rich

"As for security, being lectured by Microsoft is like receiving wise words
on the subject of compassion from Stalin."
      -- mormop on lwn.net

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.