![]() Once there, you can run any of the commands by typing “./commandname”. If you’ve never used the Mac OS X command line, you’ll want to Google some instructions (outside the scope of this comment).įrom the command line (shell), you will need to type “cd name-of-directory” where you type in the name of the directory where your mupdf folder is. The command line tools are in that folder. If you have downloaded the binary version from and then double-clicked the archive, you should have a folder called “mupdf-0.7-darwin-i386”. Mupdf is a group of command line programs. Perhaps in my copious spare time I will make a MuPDF portfile for MacPorts, but until then perhaps this will help others who want an open source way to remove bogus PDF DRM. After that I was able to redact the statement without incident. Pdfclean worked like a charm, removing the DRM from the statement. LINKFLAGS = -L/usr/X11R6/lib -L/opt/local/lib Here is the updated section of Jamrules:ĬCFLAGS = -Wall -std=gnu99 -I/opt/local/include -I/opt/local/include/freetype2 Luckily, all of these are available in MacPorts, so I was able to install them and then edit the Jamrules file to point at the MacPorts location. It uses the Perforce jam tool instead of make, and has three library dependencies: zlib, libjpeg, and freetype2. Unfortunately, MuPDF isn’t in MacPorts yet, so I had to compile it by hand. One of the command line tools is “pdfclean”, which will remove the DRM from a PDF. It has an X11 GUI component, as well as command line tools. ![]() Then I came upon MuPDF, which is a “lightweight PDF viewer and toolkit written in portable C”. And of course I can’t edit the source PDF because it is protected, so the demo wasn’t useful to me. They have a downloadable demo, but it will just create an unlocked version of the first page of the PDF, which wasn’t the page I wanted. PDFKey Pro looks like a reasonable option for Mac OS X, but it is $25 which seems kinda steep for a single use. One person suggested opening the PDF and “printing” it to a PDF, but Adobe has disabled those features of the Print dialog box on Mac OS X (presumably since it would allow trivial circumvention of the DRM). There are lots of tools for Windows, which didn’t interest me. ![]() I hunted around for a tool to unlock the PDF. I think Preview.app on Mac OS X used to ignore DRM and let you edit protected PDFs, but doesn’t seem to on Snow Leopard. This is of course totally bogus DRM, it’s my statement afterall! I suppose they hope to curb statement forgeries, but as anyone akamai knows: if I can view it, I can edit it. Except Amex has decided that the statement should be a protected PDF, which means you can view it but cannot change it. Then I wanted to use Adobe Acrobat Pro’s nifty redaction features to redact all the irrelevant information from the appropriate page of the bill. Easy enough, I download my most recent statement as a PDF file from American Express. Recently I needed to demonstrate proof of purchasing something via my credit card statement.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |