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!

Config Network printer 1

Status
Not open for further replies.

josel

Programmer
Oct 16, 2001
716
US
Howdy!

I have copier machine (Xerox) with NIC card connected to network. IP is 192.168.0.201. I set entry in /etc/hosts
like so

192.168.0.201 xerox

I also set entry in /etc/printcap like so

xerox:\
:lp=:rm=xerox:rp=raw1:sd=/usr/spool/lpd/xerox

I created directory as pointed to by sd - When I try sending a print to using `cat /etc/passwd |lp -dxerox` I get an error

UX:lp: ERROR: Destination "xerox" is unknown to the
LP print service.


What am I missing? What else must I do?

Thank you all in advance!


Jose Lerebours





KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
HAve you tried 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 this is the first printer defined using "lpd", you must run the "mkdev rlp" command. This puts different versions of the LP commands into place. After that has been done once, then rlpconf should be used for subsequent entries.
On very early flavors of SCO, if you ran "mkdev rlp" more than once, it really messed up the spooler system. But, that's been fixed for the last several releases.
 
Go to /var/spool/lp/admins/lp/printers/<name of your printer>/ and make sure there are these files in that directory:

alert.sh
alert.vars
configuration

If you use rlpconf, these should be created for you, but you can do them manually too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top