# Copyright (c) 2011, Till Kamppeter # # CUPS file detection rule for PostScript which is generated by the Adobe # Reader. We distinguish PostScript from the Adobe reader here so that we # can override pstopdf and the PDF workflow for these PostScript files as the # conversion of them to PDF does not work if the original PDF file was # encrypted. application/vnd.adobe-reader-postscript priority(150) contains(0,4096,"%%Creator: Adobe Acrobat") + \ (ai eps ps string(0,%!) string(0,<04>%!) \ contains(0,128,<1B>%-12345X) + \ (contains(0,4096,"LANGUAGE=POSTSCRIPT") \ contains(0,4096,"LANGUAGE = Postscript") \ contains(0,4096,"LANGUAGE = PostScript") \ contains(0,4096,"LANGUAGE = POSTSCRIPT") \ (contains(0,4096,<0a>%!) + \ !contains(0,4096,"ENTER LANGUAGE"))))