[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Remote printing.
On Tuesday 07 November 2000 9:44 pm, Barrie Bremner wrote:
> Hello again everyone.
>
> I've got my folks HP 610 configured (using the RH printtool - very
> handy!) to print PostScript successfully locally.
>
> However, when it comes to printing from my box to the folks machine
> that has the printer, nothing happens. No logging to /var/log/messages
> or /var/log/spooler (if spooler even has anything to do with it).
>
> Access permissions *look* OK, but I could be wrong.
>
Oh, forgot to mention - if you are using CUPS instead of lpd and your other
computers do not use CUPS, remote access is enabled by the following method:
CUPS installs without remote lpd access by default. To allow remote access
from non-CUPS systems you need to enable a special daemon that emulates BSD
lpr IO. Therefore you have to:
1. insert the following line into /etc/services:
cups-lpd 515/tcp spooler
2. enable inetd or xinetd to allow access:
inetd:
add do /etc/inetd.conf:
cups-lpd stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd
xinetd:
create a new file in /etc/xinetd.d containing the following:
....
# default: on
# description: The icups-lpd server accepts requests from remote lpd \
# clients.
service cups-lpd
{
disable = no
socket_type = stream
wait = no
protocol = tcp
user = lp
id = lp
server = /usr/lib/cups/daemon/cups-lpd
}
....
if you wish xinetd to restrict access to a specific domain, use the
"only_from" directive, e.g.:
only_from = 192.168.0.0/24
I have used "cups-lpd" as the service name. if you wish, you can keep the
service name as "printer" instead - your services file should already contain
a "printer" directive....
Otherwise, CUPS is pretty much wide open. To restrict CUPS access, you need
to edit the /etc/cupsd.conf file - see file for examples.
Pieter
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.