[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On 6/26/07, Martin-Éric Racine <q-funk@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

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

Reply to: