Hi all,
I have just installed a Lexmark T520 printer on a SUSE box and it prints
fine. I am just trying to get printing now from a remote machine, my
Debian box (Potatoe). It seems that the printer job can't get access
to the lpd on the remote machine.
local machine: remote machine:
martel --------------ethernet------->tazieff + printer
(Debian potatoe) (SUSE 7.3)
If I cat the file to lpr -Plex1200 or print from GhostView the job ends
up in the local printer queue onmartel but never gets to tazieff.
martel:/etc# ls -l /var/spool/lpd/lexmark/
total 148
-rw-rw---- 1 lp lp 115 Dec 19 19:31 cfA007martel
-rw-rw---- 1 mikel lp 147063 Dec 19 19:31 dfA007martel
--wxr--rw- 1 root lp 5 Dec 19 17:28 lock
-rw-rw-r-- 1 root lp 18 Dec 19 18:15 status
martel:# lpq -Plex1200
martel: Warning: lex1200 is down: printing disabled
martel: Warning: no daemon present
Rank Owner Job Files Total Size
1st mikel 7 /tmp/gv_3c205054_1_out.ps.tmp 147063 bytes
tazieff: /usr/sbin/lpd: lex1200: Your host does not have line printer access
So it seems that martel can't forward the job to the remote machine tazieff.
Oh lpd is running on both machines. It is not started from inetd.
I am using standard lpr on Debian.
This is what I setup in /etc/printcap
# REMOTE Lexmark T520 - this entry added manually by Mike Lake
lex1200:\
:rm=tazieff:\
:sd=/var/spool/lpd/lexmark:\
:rp=lex1200:\
:sh:
I have on tazieff, the remote machine with the printer, hosts.lpd with
martel mentioned in it. Thus martet should be allowed.
There are no error messages in /var/log/messages on either tazieff or martel.
Just in case its tcp wrappers I have put lpd: 192.168.1.0/255.255.255.0
into hosts.allow on tazieff.
I have read the printing HOWTO but its does not mention anything about
problems like the above for network printing.
What else can I use to debug what is happening here?
Mike
--
--------------------------------------------------------------------
Michael Lake
Active caver, Linux enthusiast and interested in anything technical.
Safety Convenor, Australian Speleological Federation
Owner, Speleonics (Australia)
--------------------------------------------------------------------
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug