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

installing a new printer on headless sco openserver 5.0.6 machine

Status
Not open for further replies.

mmlenz

IS-IT--Management
Mar 23, 2005
6
US
It looks to me like the previous printers were installed without using scoadmin and I'm curious how to go about doing this for a new printer on SCO OS5.0.6 Its a remote printing queue and I thought there was a simple way to specify the device/logical name and hostname of the printer and be done with it. advice? I'm assuming its some form of the lpadmin command right?
 
man rlpconf

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
If the printer is listed in DNS or in a hosts file on the server, you can use the lpadmin command to add it like:

/usr/lib/lpadmin -pname -v/dev/null -m model

You can also use a -i with the path to the interface script file instead of -m model (scripts in /usr/spool/lp/model).

After you run lpadmin, you need to do an enable and accept on the printer.

Hope this helps.
 
its kinda strange.. we've got a few printers defined on this machine already. here is the lpstat -t output.

# lpstat -t
scheduler is running
system default destination: hplaserjet
device for gestbw: /dev/null
device for hplaserjet: /dev/null
device for INVOICE: /dev/null
device for STD: /dev/null
device for panlocal: /dev/lp0
device for okidata: /dev/tty1a
hplaserjet accepting requests since Wed Feb 06 14:23:05 2002
INVOICE accepting requests since Thu Feb 07 09:48:59 2002
STD accepting requests since Thu Feb 07 10:41:07 2002
panlocal accepting requests since Thu Feb 28 18:03:12 2002
okidata accepting requests since Mon Mar 04 17:52:36 2002
gestbw accepting requests since Wed Mar 23 11:39:11 2005
printer hplaserjet is idle. enabled since Wed Feb 06 14:23:05 2002. available.
printer INVOICE is idle. enabled since Thu Feb 07 09:48:59 2002. available.
printer STD is idle. enabled since Thu Feb 07 10:41:07 2002. available.
printer panlocal is idle. enabled since Thu Feb 28 18:03:12 2002. available.
printer okidata is idle. enabled since Mon Mar 04 17:52:36 2002. available.
printer gestbw is idle. enabled since Wed Mar 23 11:39:22 2005. available.
hplaserjet-15093 ladsoe 19904 Mar 22 15:42


invoice, std and hplaserjet are really all the same printer.

The printer that this one is replacing is panlocal. panlocal was a panasonic b/w multi-funcition printer that worked from this machine, but IS NOT in dns and is not in the hosts file.


hrrm.. any ideas how i can diagnose this? I mean with or without the model specified it should send something to the printer right?
 
What is the content of /etc/printcap ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
jack squat :)

# cat /etc/printcap
# Remote Line Printer (BSD format)

one commented line.. thats it.. all other printers work just fine. let me state again that i didn't setup this machine its a legacy system. infact I don't even work for the company that owns it, I work for their sister company owned by the same CEO. asked me if I'd poke around on it a bit and see if i could setup this new gestetner dsm651sp printer that replaced a pansonic. this gestestner (ricoh) is pretty amazing supports printing using just about every protocol known to man.

There is a hplaserjet (mentioned in earlier posts) that is the default print queue for this machine and its just on a jetdirect box. works perfectly, just trying to replicate that with this new printer.

i thought i read somewhere that there was a way to duplicate a queue. hmm, I'll betcha that gestetner functions as a laserjet just fine cuz.
 
I don't think a ricoh printer can be used with hpnp like a jetdirect.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
I'm printing to the Gestetner (Ricoh) (we're in the same building, I'm on the same network) using Fedora Core 3 with the PCL 5e driver via Jet Direct. Its possible, the question is how to get it setup on SCO OS 5.0.6
 
scoadmin -> Printers -> HP Network Printer Manager -> 6) Add printer to spooler

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
i already said its a headless server and all the other servers were installed headless (no x) .. does scoadmin have a curses interface or something? I thought it was X only.
 
scoadmin have a curses interface or something?
Sure, it's a VTCL script ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
ok.. i was trying to connect to the machine over telnet and it wouldn't run the curses interface it wanted to run the X interface. getting on the actual box allowed me access to the curses scoadmin. just now the regular admins of that box showed up and and are going mess around with it. i told em good luck :)
 
Regarding the telnet scoadmin, were you logged in as root, and were you using the right terminal emulation settings?

Some printer setups don't have a printcap entry, they just have an interface file, for example I have a number of samba printers set up this way. You should look at the file for the old printer under /usr/spool/lp/admins/lp/interfaces.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top