[Ubuntu-BR] Compartilhar impressora em ambiente Ubuntu
João Olavo Baião de Vasconcelos
joaoolavo em gmail.com
Quinta Junho 5 19:54:52 UTC 2008
2008/6/5 Carlos Filho <ccorrea em gmail.com>:
> Isso aqui te ajuda?
>
>
> http://www.lcc.ufrn.br/~fenrrir/pmwiki/pmwiki.php/Linux/CompartilharImpressora<http://www.lcc.ufrn.br/%7Efenrrir/pmwiki/pmwiki.php/Linux/CompartilharImpressora>
>
Não, já tá td de acordo com esse tutorial no servidor e no cliente.
Veja:
No servidor:
"""
escritorio - 16:51:09 [~]: cat /etc/cups/cupsd.conf
LogLevel debug
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Share local printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAddress @LOCAL
DefaultAuthType Basic
<Location />
Allow all
Allow all
Allow all
# Allow shared printing and remote administration...
Order allow,deny
Allow all
</Location>
<Location /admin>
Allow all
Allow all
# Allow remote administration...
Order allow,deny
Allow all
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Allow all
Allow all
# Allow remote access to the configuration files...
Order allow,deny
Allow all
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs
Set-Job-Attributes Create-Job-Subscription Renew-Subscription
Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class
CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs
CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
"""
Valeu!
--
João Olavo Baião de Vasconcelos
Bacharel em Ciência da Computação
Mestrado em Informática @ UFES
joaoolavo.wordpress.com
More information about the ubuntu-br
mailing list