[Pkg-cups-devel] Bug#429715: Bug#429715: "Using Debian to print to a remote Debian CUPS server is dang hard"

Martin-Éric Racine q-funk at iki.fi
Tue Jun 26 02:13:22 UTC 2007


On 6/26/07, Martin-Éric Racine <q-funk at iki.fi> wrote:
> On 6/26/07, Martin-Éric Racine <q-funk at iki.fi> wrote:
> > Simply enabling the "Share published printers connected to this
> > system" option on the remote CUPS server makes them visible to
> > connecting clients.
> >
> > Then, it's just a matter of adding one line in /etc/cups/client.conf
> > on the client host:
> >
> > ServerName cupsserver.localnet
> >
> > In the above case, cupsserver.localnet is where the remote CUPS server
> > is located. Once that line is added and browsing enabled on the remote
> > CUPS server, I can use lpstat without the -h option, which gives me
> > this:
> >
> > $ LC_ALL=C lpstat -p
> > printer CUPS-PDF is idle.  enabled since Thu May 24 12:34:41 2007
> > printer laser is idle.  enabled since Sun Dec 10 18:13:03 2006
> >
> > Both printers in the above example reside on the remote server
> > cupsserver.localnet; simply defining that server in the configuration
> > file and enabling browsing on the remote is all that was needed.
>
> And once that is setup, you can print using e.g.:
>
> cat UTF-8-demo.txt | lp -d CUPS-PDF

You might also wanna add the printers you found using the lpstat -p
recipe above to  /etc/printcap while you're at it.

-- 
Martin-Éric Racine
http://q-funk.iki.fi


More information about the Pkg-cups-devel mailing list