Diferencia entre revisiones de «CUPS»
De gacq wiki
(No se muestran 3 ediciones intermedias del mismo usuario) | |||
Línea 1: | Línea 1: | ||
− | = Basic | + | = Basic Client/Server CUPS configuration with auto discovery for Debian Etch = |
== Server == | == 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 | 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 | ||
Línea 6: | Línea 6: | ||
To send broadcast about printer existence to local network add: | To send broadcast about printer existence to local network add: | ||
BrowseAddress 192.168.1.255:631 | BrowseAddress 192.168.1.255:631 | ||
+ | |||
+ | and add a client side resolvable server name like: | ||
+ | ServerName yourhost.yourdomain | ||
Change the line: | Change the line: | ||
Línea 26: | Línea 29: | ||
apt-get install cupsys cupsys-client cupsys-bsd gtklp gnome-cups-manager | 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. | |
− | or | + | 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 = | = References = |
Revisión actual del 16:50 8 jun 2008
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
- http://www.cups.org/doc-1.1/sam.html
- http://www.debianhelp.co.uk/printing.htm
- http://www.debiantutorials.org/content/view/110/228/
- http://www.debiantutorials.org/content/view/20/1/
- http://www.debianadmin.com/setup-cups-common-unix-printing-system-server-and-client-in-debian.html
- http://www.howtoforge.com/ubuntu-gutsy-samba-domaincontroller-p2