Thursday, July 16, 2009

Zankou Chicken Hummus Calories

pdf protection remove

Ich stiess bei meiner Arbeit (okay darüber lässt sich streiten) auf ein Problem. Wie entschlüsselt man ein PDF, welches man eigentlich nur Drucken dürfte.

Gut gibt es Google, dein Freund und Helfer.
Very quickly I found a Linux solution that I had to try it.

With Ubuntu 9.04 I had to first install ghostscript.
$ sudo apt-get install gs

Now I could use this command to the PDF file can be created new. It ignores ghostscript protection settings of the PDF's.
$ gs-q-sDEVICE = pdfwrite-dNOPAUSE-sOutputFile = Ausgabedatei.pdf original-file.pdf-c quit

As Ausgabedatei.pdf Specify the name of the new file. (PDF extension not be forgotten)
The original file of the original path to the file specified.

I noticed a slight loss of quality, but otherwise I find this solution

0 comments:

Post a Comment