Emaculation.com

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
appletalk_printserver_macos_and_osx [2017/06/29 12:27] – [[OPTIONAL] Install printing system (CUPS)] mabamappletalk_printserver_macos_and_osx [2017/06/30 17:53] mabam
Line 340: Line 340:
 <code>sudo apt-get install cups</code> <code>sudo apt-get install cups</code>
  
-In order to prevent the spool folder at /var/spool/cups from growing endlessly, change its maximum size:((See http://www.linuxquestions.org/questions/linux-software-2/how-to-prevent-var-spool-cups-from-becoming-full-901965/#post4466619)) 
-<code>sudo sed -i "/MaxLogSize/c\MaxLogSize 52428800" /etc/cups/cupsd.conf</code> 
-That way, if the size of the spool folder exceeds a certain limit, any print jobs you have sent will automatically be deleted from the Banana Pi after they have been processed. I have chosen a limit of 50 MB, converted into bytes. (Setting the MaxLogSize to 0 will not make CUPS delete a print job after finishing it, but make it actually keep all of them.) 
 ==== Install A2SERVER ==== ==== Install A2SERVER ====
 === === === ===
Line 517: Line 514:
 BrowseAddress @LOCAL\ BrowseAddress @LOCAL\
 BrowseLocalProtocols CUPS dnssd pap' /etc/cups/cupsd.conf</code> BrowseLocalProtocols CUPS dnssd pap' /etc/cups/cupsd.conf</code>
 +
 +To prevent the spool folder at /var/spool/cups from growing endlessly, change its maximum size:((See http://www.linuxquestions.org/questions/linux-software-2/how-to-prevent-var-spool-cups-from-becoming-full-901965/#post4466619))
 +<code>sudo sed -i "/MaxLogSize/c\MaxLogSize 52428800" /etc/cups/cupsd.conf</code>
 +That way, if the size of the spool folder exceeds a certain limit, any print jobs you have sent will automatically be deleted from the Banana Pi after they have been processed. I have chosen a limit of 50 MB, converted into bytes. (Setting the MaxLogSize to 0 will not make CUPS delete a print job after finishing it, but make it actually keep all of them.)
 +
 Finally restart CUPS: Finally restart CUPS:
 <code>sudo /etc/init.d/cups restart</code> <code>sudo /etc/init.d/cups restart</code>