× 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.

  • Subject: Re: print (part two :))
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Tue, 6 Mar 2001 00:16:35 -0600 (CST)

On Mon, 5 Mar 2001, [iso-8859-1] Loc DANIEL wrote:

> Thx, it work like that. I was waiting for a instant print on my local 
> printer, not a sreen output on th AS/400 :o))
> I've tried lp5250d also, but it make nothing. I write :
> ./lp5250d -s EC20004S2 BR4001
> and i return on the login $.
> EC20004s2 is a real outq on the AS400. What do i do now ? i've creat a "lpr" 
> queue on my linux station , associated with my local BJC-4100. On the AS400, 
> spooled file are "*SND" but nothing happen. 
> what is the problem ?

If the spool file is at "SND" status, you don't have things configured 
right.  AFIAK, "SND" is for LPR/LPD, not 5250 printing.   It should be
at "WTR" status when sending to the printer.

First... what version of tn5250 are you using?  lp5250d had some serious
bugs that are currently fixed in both the stable and development sources
in CVS.

Next, do WRKOBJ *ALL/EC20004S2 and vary off & delete all the objects.
(Or use a different name that doesnt already exist)

Then with QAUTOVRT sysval set up to auto-config virtual devices, start
lp5250d.  This way, the devices get set up properly.  

For a modern version of lp5250d (the versions that use the config file
approach) I'd configure lp5250d like this:

EC20004S2 {
    host = BR4001
    env.DEVNAME = EC20004S2

then simply do lp5250d EC20004S2

Or with the older lp5250d (which I wouldnt recommend) you'd do:

lp5250d -s EC20004S2 BR4001

as you suggested.

| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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