Fix problem when cups-pdf (actually Ghostscript) refuses to print PDF files with restrictions
Specifically, even if the file has no printing restrictions, like many government forms do (my specific itch), Ghostscript refuses to print the file and generates a blank pdf.
Steps to fix
- Put contents of
unblockprint.sh
in an executable file named/usr/lib/cups/filter/unblockprint
. Make sure that the permissions of this file matches others in the same directory. - Put
local.convs
in/etc/cups