Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting up remote printing

I'm trying to set up my laptop and my server so that typing "lpr" on the
laptop sends a file to the printer that's connected on the server.  I
thought I followed all the instructions in the relevant HOWTO, but
something is obviously missing.  The laptop is running Debian stable,
and the server is running Debian unstable.

sethg at belladonna:~$ echo 'This is a test' >test.txt
sethg at belladonna:~$ lpr test.txt
sethg at belladonna:~$ lpq
belladonna: waiting for queue to be enabled on petunia
Rank   Owner      Job  Files                                 Total Size
1st    sethg      1    test.txt                              15 bytes

petunia: /usr/sbin/lpd: lp: Your host does not have line printer access
sethg at belladonna:~$ cat /etc/printcap
# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See /etc/, /etc/filter.pcl and
# the printcap(5) manual page for further details.


# [comments snipped]

sethg at belladonna:~$ cat /etc/hosts	localhost	belladonna	petunia

# [comments and ip6 lines snipped]

sethg at belladonna:~$ telnet 515
Connected to
Escape character is '^]'.
/usr/sbin/lpd: lp: Malformed from address
Connection closed by foreign host.

"It has been discovered that C++ provides a remarkable facility for
concealing the trival details of a program--such as where its bugs are."
  --David Keppel
// seth gordon // sethg at // //

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /