Re: netcat Error

From: Mike Brown (mike_at_tkg.ca)
Date: 07/29/03


Date: Tue, 29 Jul 2003 16:20:01 GMT

Doug Luurs wrote:
>
> I have netcat installed for jetDirect network printing, and have
> a jetdirect 170x & a epson mx-80 in this case.
>
> Everytime I print something to the printer, I get the below error
> message .. YET.. it prints out just fine.
>
> Any ideas? (or a way to turn off the email for this printer?)
>
> I am getting tried of "THE PRINTER DOESNT WORK" phonecalls,
> emails, notes on a brick, etc... (hehe)
>
> Thanks ..
>
> ---------------------------------------
> From: Printer administrator [mailto:lp@xxx]
> Sent: Monday, July 28, 2003 9:47 AM
> To: xxxxx
> Subject: Status of lp request.
>
> Subject: Status of lp request purch-51788
>
> Your request purch-51788 destined for purch
> encountered an error while printing on printer purch.
>
> Reason for failure:
>
> stty: tcgetattr failed: Inappropriate I/O control operation (error 25)
>
> ---------------------------------------

It may be that you have some stty commands in the interfaces script

/usr/spool/lp/admins/lp/interfaces/purch

that should be commented out.

Mike

-- 
Michael Brown
The Kingsway Group