Difference between revisions of "Set up a print server using cups"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 18: Line 18:
 
</Location>
 
</Location>
 
</pre>
 
</pre>
 +
 +
The (re)start the cups printing service:
 +
/etc/init.d/cups restart
  
 
= TroubleShooting =
 
= TroubleShooting =

Revision as of 17:51, 12 November 2011

Modify /etc/cups/cupsd.conf:

Listen *:631
Listen /var/run/cups/cups.sock

<Location />
Order Deny,Allow
Allow From 127.0.0.1
Allow From All
</Location>

<Location /printers/ThePrinter>
Order Deny,Allow
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>

The (re)start the cups printing service:

/etc/init.d/cups restart

TroubleShooting

forbidden

Solution: In /etc/cups/cupsd.conf, add under

<Location />
Allow from 192.168.0.1

Do the same for the section /admin.