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

On Tue, 2003-05-20 at 12:58, John Chambers wrote:
> 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.

And -dsr- suggested that I look at hosts_access.  Applying everyone's
suggestions, I now have:...

petunia:/var/log# cat /etc/hosts	localhost	petunia    belladonna-wired    belladonna-wireless     belladonna

# ...
petunia:/var/log# cat /etc/hosts.lpd root sethg root sethg
petunia:/var/log# cat /etc/hosts.allow
# ...
ALL: 192.168.1.
petunia:/var/log# cat /etc/hosts.deny
# ...
petunia:/var/log# lpc status
	queuing is enabled
	printing is enabled
	no entries
	no daemon present

After restarting lpd on the server and trying again to print from the
laptop, I get an error message which only became visible when I selected
the line containing "/usr/sbin/lpd":

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
2nd    sethg      2    test.txt                              15 bytes

petunia: /usr/sbin/lpd: ????:sd=: Your host does not have line printer

Curiouser and curiouser!

"[I]n Perl culture, almost nothing is prohibited.  My feeling is that
rest of the world already has plenty of perfectly good prohibitions, so
invent more?"  --Larry Wall
// 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 /