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 [2018/05/29 10:55] – [CUPS configuration and PAP backend] mabamappletalk_printserver_macos_and_osx [2018/12/06 16:32] – [CUPS configuration and PAP backend] mabam
Line 515: Line 515:
 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)) +To prevent the spool folder at /var/spool/cups from growing endlessly, configure CUPS to delete print jobs once they have been handled
-<code>sudo sed -i "/MaxLogSize/c\MaxLogSize 52428800" /etc/cups/cupsd.conf</code> +<code>sudo sed -i "/MaxLogSize/a PreserveJobHistory No" /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.)+You could also choose to keep the job files for a certain amount of time((See https://opensource.apple.com/source/cups/cups-327/cups/doc/help/ref-cupsd-conf.html.in#PreserveJobHistory.)).
  
 Finally restart CUPS: Finally restart CUPS: