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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding HP Jetdirect Printer to SCO 5.06 -- Device not a Terminal??? 1

Status
Not open for further replies.

Tranbo

IS-IT--Management
Apr 14, 2010
75
US
I had added the printer to printing queue using HP Jetdirect menu, test print from the menu all working good.

I cannot print from SCO 5.06 due to device is not terminal?

# enable HP4050N
printer "HP4050N" now enabled
# lpm
#printer HP4050N disabled since Fri May 06 14:44:52 2011. available.
device is not a terminal
 
Is your second command "lpm"? I'm not sure I know what that command does.

Was this printer previously configured on a serial port? If so, your interface file might have some "stty" commands which should be disabled. Also, check for any Stty options in the /usr/spool/lp/admins/lp/printers/HP4050N/configuration file.

"Proof that there is intelligent life in Oregon. Well, Life anyway.
 
See below:

pwd
/usr/spool/lp/admins/lp/printers/HP4050N
#more configuration

Banner: on:Always
Content types: simple
Device: /dev/null
Interface: /usr/spool/lp/model/hp
Printer type: hplaserjet
Number of banners: 1


the note passing down to me listed the lpm for getting status on all the printer = lpstat . I'm wondering about the orgin of that command too. No other infos around to know

# cd /usr/bin
# ls -la |grep lpm
-rwxrwxrwx 1 me sys 16 Aug 2 2007 lpm
#

 
Problem Solved...thanks Motoslide

I removed and copy the known good working interface under the model all working good now.

# pwd
/usr/spool/lp/admins/lp/interfaces/model.orig
# ls -la
-rwxrwxr-x 1 bin lp 3213 Aug 20 2009 General
-rwxrwxr-x 1 bin lp 3213 May 6 13:04 HP4050N
-rwxrwxr-x 1 bin lp 2389 Aug 1 2007 HP4200N
-rwxrwxr-x 1 bin lp 2389 Aug 1 2007 HP4200n
-rwxrwxr-x 1 bin lp 2389 Aug 1 2007 HP4250n

# rm HP4050N
# copy -morv HP4250n HP4050N

# enable HP4050N
printer "HP4050N" now enabled
#lpm
printer HP4050N is idle. enabled since Sat May 07 13:58:51 2011. available.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top