I'm having a bit of trouble getting my linux box to send print jobs to
remote printers. As well, remote machines cannot successfully send
print jobs to my linux machine.
At one point, I was able to send remote jobs to my linux machine, but
for some reason, things stopped working. Local printing does work
though - while logged into my linux machine I can print to the local
printer on my linux machine without problems.
Here's how things look when I try to print from my linux machine to
a remote printer:
[29]% lpr -Ppslaser test.ps
[30]% lpq -Ppslaser
linuxbox: Warning: no daemon present
Rank Owner Job Files Total Size
1st bee 19 test.ps 16772 bytes
connection to otherbox is down
[31]% ping otherbox
PING otherbox.uwaterloo.ca (129.97.42.118): 56 data bytes
64 bytes from 129.97.42.118: icmp_seq=0 ttl=59 time=0 ms
64 bytes from 129.97.42.118: icmp_seq=1 ttl=60 time=0 ms
--- otherbox.uwaterloo.ca ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/max = 0/0/0 ms
[32]% ps -aux | grep lpd
root 469 0.0 3.1 68 220 ? S 10:45 0:00 lpd
root 449 0.0 2.3 60 164 ? S 10:02 0:00 lpd
bee 473 0.0 1.9 76 136 p1 S 10:50 0:00 grep lpd
=====
[33]% uname -a
Linux linuxbox 0.99.pl6-26 03/01/93 i486
=========
[34]% ls -l /etc/lpc /etc/lpd /etc/lpr /usr/bin/lpq /usr/bin/lpr /usr/bin/lprm
-rwxr-sr-x 1 daemon daemon 21508 Nov 19 23:32 /etc/lpc
-rwxr-sr-x 1 daemon daemon 37892 Nov 19 23:32 /etc/lpd
-rwxr-sr-x 1 daemon daemon 17412 Nov 19 23:32 /etc/lpr
-rwxrwsr-x 1 daemon daemon 17412 Nov 19 23:32 /usr/bin/lpq
-rwxrwsr-x 1 daemon daemon 17412 Nov 19 23:32 /usr/bin/lpr
-rwxrwsr-x 1 daemon daemon 17412 Nov 19 23:32 /usr/bin/lprm
=====
[35]% ls -alR /usr/spool/otherbox
total 5
drwxrwxr-x 2 daemon daemon 1024 Apr 14 16:52 .
drwxrwxr-x 13 root root 1024 Apr 15 09:54 ..
-rw-rw-r-- 1 daemon daemon 4 Apr 14 16:35 .seq
-rw-rw-r-- 1 daemon daemon 4 Apr 15 09:55 lock
-rw-rw-r-- 1 daemon daemon 36 Apr 14 16:45 status
=====
[36]% ls -l /etc/printcap
-rw-r--r-- 1 root root 486 Apr 15 09:54 /etc/printcap
=====
[37]% cat /etc/printcap
#
# dot matrix on linux box
lp|lplinuxbox|lp_linuxbox:lp=/dev/lp1:ra=*:sd=/usr/spool/lp1:sh:
#
# remote laser printer
pslaser|PostScript LaserWriter:\
:rp=pslaser:lp=:\
:rm=otherbox:sd=/usr/spool/otherbox:\
:lf=/usr/adm/lpd-errs
=====
[38]% ls -l /etc/hosts.lpd
-rw-r--r-- 1 root root 116 Apr 12 11:02 /etc/hosts.lpd
=====
[39]% cat /etc/hosts.lpd
otherbox.uwaterloo.ca
=====
[40]% grep 35/tcp /etc/services
lp 35/tcp # any private printer server [JBP]
printer 35/tcp # any private printer server [JBP]
Here's how things look when I try to print from a remote machine to my
linux printer (this originally worked fine, but has since stopped):
[23]% lpr temp
[24]% lpq
Spool queue: lp_linuxbox
Local (waiting to be sent to remote site):
otherbox: waiting for linuxbox to come up since Wed Apr 14 15:18:55 1993
(errno=60 'Connection timed out')
1st bee 10 temp 3030 bytes
Remote(linuxbox):
...right here I hit ctrl-c since it seems to hang...
Any and all ideas are welcome...
Thanks,
Bill
Bill E. Eickmeier bee@watarts.uwaterloo.ca
Department of Psychology, University of Waterloo, Waterloo, Ontario, N2L 3G1
room: PAS 1102 phone: 519-885-1211 x6638 fax: 519-746-8631
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in |
| Chodorenko Michail | PROBLEM: Celeron Core |
git: | |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Johannes Schindelin | Re: Empty directories... |
| Jakub Narebski | Re: VCS comparison table |
| Sam Song | Re: Fwd: [OT] Re: Git via a proxy server? |
| J.W. Zondag | Dell PE1950 III - Perc 6i |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Anselm R. Garbe | OpenBSD 4.0 / Xorg -> vesa 1920x1200 widescreen resolution |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Anselm Lingnau | File creation date in UNIX (was: Re: VMS) |
| Rafal Kustra (summer student) | mount |
| Nicholas Yue | Re: more on 486/33 weirdness |
