remote printing - printcap problem?
I have just set up a new Brother HL5240L on my desktop, using lprng. It works fine. Now I want to arrange to use the printer from another computer on the LAN. This was working with my previous printer.
I modified the original client /etc/printcap. It almost works; the printer lights flash and the motor starts but nothing is printed. Lpq and lpstat show the file has arrived, but it doesn't seem to be right; it is always the same size, no matter what the orignal file may be. Here is the client printcap I've tried. Any suggestions for fixing it please? (I know I could try CUPS but I don't like it - prefer lprng.) HL5240:\ :sd=/var/spool/lpd/HL5240:rm=arcadia:rp=HL5240:\ :if=/usr/local/Brother/lpd/filterHL5240:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: |
Hi acampbell,
did you check the permissions? Be sure that the user who wants to print is a member of the lp group (I'm not sure but probably on the client and the server). You may check with nmap if the port where lpd should listen for printjobs is really open Code:
nmap -p portnumber printserverip |
Quote:
|
Well, I tried grep on the /etc/services file and did not find a port for lpd as well.
The command Code:
nmap -sV serverip Otherwise, since the printer seems to work (tries to work) there may be a driver issue. Which printer did you have before the brother? It was long ago when I used lpr for printing (back in 1996 or so ;) ) but what about the driver on the client? with cups I know the proper driver is used automatically, but what about the driver for the client with lpr? Markus |
Quote:
|
Here is a follow-up to my last post. I've found that I can use the Brother filter provided I do so on the host machine, not on the client. Having set up an appropriate entry in /var/spool/lpd for HL5240 I then modified /etc/printcap as follows:
lp|HL5240|HL5240:\ :sd=/var/spool/lpd/HL5240:rm=arcadia:rp=HL5240:lpr_bounce: |
All times are GMT -5. The time now is 08:54 PM. |