Please provide more details on the "network printer". There are too many variations of that description, and each may take a different method of installation/configuration on the SCO box.
Examples:
HP LaserJet with built-in Network card (HPNP)
HP or other printer using an external HP JetDirect (HPNP)
Shared printer on a PC (VisionFS or Samba)
Generic print server (D-Link, Netgear, etc.) (lpr/lpd)
Controlled by other UNIX box (lpr/lpd)
Generic "Port 9100 enabled" printer (netcat)
Slaved off a dumb terminal (poor you) (slon/sloff)
throught a HUB, I have connected:
1) SCO UNIX Server (HP Proliant - Openserver 5.07 - IP 192.4.0.201)
2) 10 Windows XP PRO SP2 PC's (IP 192.4.0.xxx) with Terminal Emulation Software in order to use Data on Unix Server
3) One Brother Network Printer (with net Card)
How can configure the Network Printer on my SCO Unix Server?
First I have tried this way
mkdev rlp
But SCO Unix return to me this message:
mkdev /usr/lib/mkdev/rlp not found
I suspect you'll still run into problems if you truly don't have a /usr/lib/mkdev/rlp script. This is running OpenServer Enterprise, right? The OpenServer Host version might not have that script, but you'd already have experienced other headaches long before this.
Funny thing, I'm in the middle of a battle to do the same thing for a series of systems I support. I'll start another thread covering it.
In the meantime, rlpconf is a configuration aid for printers on other 'nix boxes, not for network printers, and not what is needed in this case.
I suspect that SAMBA will be the solution, but I'm having a rough time getting a late version.
Ed Fair
Give the wrong symptoms, get the wrong solutions.
no its about a network printer with its own built in print server.....that should support lpd/lpr but may only support hp or netware or windows...i don;t know "brothers"
the other option would be to use netcat but i would try lpd/lpr first.
Supposedly visionfs has the capability at version 2.8 and up with the exception that v3.0 needs a patch. But vision has gone off the radar screens except for additonal money due to the SCO/Tarantella breakup.
Samba is supposed to do it, but I've not reached that point yet.
The "brother" just happens to be the box accessed through the amphenol connector that is addressed at the all-in-one printer slot on the dlink server.
The "netware" and "windows" choices are unavailable in printer control. This on 5.0.5E. Don't know if AFPS would bring them into play, but for now I'm not willing to spend money to find out. At least not until I've tried the other free potential solutions.
Ed Fair
Give the wrong symptoms, get the wrong solutions.
Downloaded and implemented the netcat stuff from aplawrence. Would probably have spent weeks without your advice Stan.
What I have and how it connects:
Dell > dlink > brother
5.0.5 print server 8840
all patches w/printer all-in-one
192.168.2.250 192.168.2.240
printer brother
interface netcat
The interface script is a slight mod of the one listed on Tony's site. Dumps the file through nlcr filter and the formfeed filter, both as documented.
Will continue testing on this one and look into the rlp problems I ran up against.
Suspect that it will work for the original poster once he digs out the port info from the brother network card.
Ed Fair
Give the wrong symptoms, get the wrong solutions.
Your Brother printer manual has instructions for this. Basically you only have to put an entry in /etc/hosts and a suitable entry in /etc/printcap. It couldn't be easier. My /etc/printcap entry for an HL5170DN is:
#Brother HL5170
DSU:\
:lp=:rm=10.xxx.xxx.xx:rp=TEXT_P1:sd=/usr/spool/lpd/DSU:
The only problem that I have is that I cannot get it to print from the lower tray. When I do a lp -o "lower" -dDSU /etc/hosts it comes out of the top tray. If anyone has the answer to that I would be most grateful.
Maybe you can use this way...
(you have to install the 'operating system service - Print utilities')
1) - scoadmin printer
Options -> Defaults ->
[X] Accept New Remote Unix Jobs
System -> Print Services ->
[X] Local Print Services Enabled
[X] Remote UNIX Print Service Enabled
2) edit your /etc/hosts with the name and Ip of your printer.
ex: 192.168.1.10 HPlaserJet
3) - rlpconf
4) edit your /etc/printcap
and change the destination port: (here is an HP)
NameOfPrinterQueue:\
:lp=:rm=HPlaserJet:ex:rp=raw:sd=/usr/spool/lpd/test:mx#0:
In this case 'raw' is inserted for the remote port.
5) Final test
Create a simple text file in /tmp like test.txt
Then
- lp -dNameOfPrinterQueue /tmp/test.txt
4) edit your /etc/printcap
and change the destination port: (here is an HP)
NameOfPrinterQueue:\
:lp=:rm=HPlaserJet:ex:rp=raw:sd=/usr/spool/lpd/test:mx#0:
^^^
I would strongly suggest that you remove this directive ex).
it is to be used only if the "remote" queue is on an sco box, and even then it doesn't always work correctly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.