setting up remote printing

John Chambers jc at trillian.mit.edu
Tue May 20 12:58:38 EDT 2003


| 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

Dunno if Debian is the same, but on RedHat you can create a
/etc/hosts.lpd file and fill it in with the IP addresses of
machines that are allowed to use the  printer.   Maybe  you
could  use  FQDNs,  too, but I haven't tried that.  Maybe I
should test it.




More information about the Discuss mailing list