Archives November 2009

How to unprotect PDF files in Linux

Here's a quick and dirty way to remove PDF protections and allow printing of a PDF that has been restricted.

First we need to convert the PDF to Postscript using Ghostscript. Next, we convert the Postscript back to PDF.

Note: The conversion isn't 100% accurate, but should be sufficient for most purposes.

Example:

pdftops Example.pdf Example.ps
ps2pdf Example.ps Example_unprotected.pdf

This only works for an encrypted PDF that allow viewing without a password but not printing or copying.

pdftops and ps2pdf can be installed onto most Linux distributions using your systems package manager.

— Andrew


Proxy for IMAP connections

If you're building a large IMAP cluster and need an IMAP capable proxy then you might want to check out the following:

— Andrew


Windows reserved words

Tales from the Level 3 Helpdesk: A colleague told me an interesting tale about a strange situation he encountered whilst working for a large multinational IT helpdesk. A new user called up and was having trouble with their computer. Their home drive was not being mapped automatically upon login and 3 tech's had given up trying to troubleshoot the situation. A most senior engineer overheard two techs discussing this issue and just casually asked:

His name's not Con, is it?

As it turned out it his first name was, and that was of course the cause of the ...

— Andrew


Daily archives

Site theme originally by styleshout.com