CUPS

De gacq wiki

Contenido

Basic Client/Server CUPS configuration with auto discovery for Debian Etch

Server

apt-get install cupsys cupsys-client cupsys-driver-gimpprint defoma fontconfig foomatic-db foomatic-filters libcupsimage2 libexpat1 libfontconfig1 libfreetype6 libjpeg62 libpaper1 libpng12-0 libslp1 libtiff4 patch perl perl-modules ttf-bitstream-vera ucf
/etc/cups/cupsd.conf

To send broadcast about printer existence to local network add:

BrowseAddress 192.168.1.255:631

and add a client side resolvable server name like:

ServerName yourhost.yourdomain 

Change the line:

Listen localhost:631

to:

Listen *:631

and below any:

Allow localhost

add:

Allow 192.168.1.*

then:

/etc/init.d/cupsys restart

and add the printer from:

http://cupsys-server:631/

Client

apt-get install cupsys cupsys-client cupsys-bsd gtklp gnome-cups-manager

On the server subnet printers should be discovered automatically because of cups server broadcasts. If your server is in another subnet you can add the following directive to force the client to ask the server about available printers adding to client /etc/cups/cupsd.conf the following line:

BrowsePoll cups_server_hostname:631

If you want to add printer manually go to: https://localhost:631/ or to gnome-cups-manager.

References

Herramientas personales