Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connect a HP print server to SCO UNIX

Status
Not open for further replies.

thinkist

MIS
Aug 30, 1999
6
CA
I am connect a print server to SCO UNIX Open Server 5.0.4 and every time a print job is sent to the print server , it will generate a mail to root . This seems no harm to the system in any way but just upset me - the root account maintainer . <br>
this is the mail:<br>
<br>
From lp Tue Aug 24 11:37:15 1999<br>
From: Printer administrator &lt;lp@solachn.SCNO.com&gt;<br>
X-Mailer: SCO OpenServer Mail Release 5.0<br>
To: louiszen@solachn.SCNO.com<br>
Subject: Status of lp request.<br>
Date: Tue, 24 Aug 99 11:37:15 CST<br>
Message-ID: &lt;9908241137.aa15680@solachn.SCNO.com&gt;<br>
Status: RO<br>
<br>
Subject: Status of lp request ps02-5602<br>
<br>
Your request ps02-5602 destined for ps02<br>
encountered an error while printing on printer ps02.<br>
<br>
Reason for failure:<br>
<br>
stty: tcgetattr failed: Inappropriate I/O control operation (error 25)<br>
<br>
thanks for your kindly help<br>
<br>
thinkist thinkist@163.net<br>

 
It looks like you're using a printer interface file based on, perhaps, "standard"? What's happening is that somewhere in the interface file is a line (or a couple of lines) running stty to set up a serial line... As your using a print server, these are irrelevant, and can be commented out.<br>
<br>
HTH.
 
If you set up the printer as a &quot;remote&quot; printer, there is no interface file. SCO expects the server that it's connecting to do have the interface file. I have had a lot of trouble with the Jetdirect's and finally sent them back and bought the Kingston for 1/2 the price. Trendnet makes one also that looks like it's made by the same company (in China?). The problem with the HP is that it assumes you are using an HP laser and always sends the escape sequences to reset the printer (\ESC E). This is a side note - and I'm really just venting.<br>
If you are getting mail, it's probably because you used the jet-direct software that does have a model. You can edit the model and make it do anything you want. The mail says &quot;tcgetattr failed&quot; implying that the model made a call to terminfo to look up the printer type, and the attribute it wants is not defined. Try changing your terminfo type to &quot;unknown&quot; and see if you still get the message. Your application may be asking for a terminfo definition that does not exist in terminfo. If you really need to use the model, you are going to have to see what attributes it's asking for and define them in the terminfo data base for that printer.<br>
Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top