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



Is your laptop in /etc/hosts.lpd on the server?

-derek

Seth Gordon <sethg at ropine.com> writes:

> 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/filter.ps, /etc/filter.pcl and
> # the printcap(5) manual page for further details.
> 
> lp|petunia:\
>         :lp=:\
>         :sd=/var/spool/lpd/lp:\
>         :rm=petunia:\
>         :rp=lp:\
>         :mx#0:\
>         :sh:
> 
> # [comments snipped]
> 
> sethg at belladonna:~$ cat /etc/hosts
> 127.0.0.1	localhost
> 192.168.1.13	belladonna.ropine.com	belladonna
> 192.168.1.4	petunia
> 
> # [comments and ip6 lines snipped]
> 
> sethg at belladonna:~$ telnet 192.168.1.4 515
> Trying 192.168.1.4...
> Connected to 192.168.1.4.
> 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 ropine.com // http://ropine.com/sethg/cv.html //
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available




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 / webmaster@blu.org