|
Hi,
On Wed, 9 Feb 2000, Jason M. Felice wrote:
> > As per your case as1 is the nikname of my AS/400. lm615 is the name of the
> > printer for Linux lpd as well as for AS/400 print session.
> >
> > Note that I had to modify printsession.c line 94 about
> > (tn5250_print_session_main_loop):
> >
> > if (strcmp(responsecode, "I902" ))
> >
> > in
> >
> > if ( !strcmp(responsecode, "I902" ))
> >
> > In my case (tn5250-0.15.3), before the modification, the program exited
> > with the message "Could not establish printer session".
>
> The logic seems correct. Please insert the following line:
>
> TN5250_LOG (("Response Code: %s\n", responsecode));
>
> above the strcmp, then start a print session with the -t slime.log option,
> then post what the returned reponse code was.
The second line is the correct one. Strcmp returns 0 when it matches.
I902 is the return code for success. Jason, could you make that change?
I promise I'll read that CVS documentation soon. ;-)
Mike
+---
| 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 mailing list archive is Copyright 1997-2025 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.