Diferencia entre revisiones de «CUPS»

De gacq wiki
Saltar a: navegación, buscar
(Server)
(Client)
Línea 29: 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
  
To add remote printer browse: https://localhost:631/
+
Printer should be discovered automatically because of cups server broadcasts. If you want to add printer manually go to: https://localhost:631/
or go to gnome-cups-manager
+
or to gnome-cups-manager.
  
 
= References =
 
= References =

Revisión del 16:35 8 jun 2008

Basic cupsys configuration 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

Printer should be discovered automatically because of cups server broadcasts. If you want to add printer manually go to: https://localhost:631/ or to gnome-cups-manager.

References