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 [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---