remove print restriction in pdf files

I've just received a PDF that I wanted to convert for my ebook-reader, but it was protected with a password + was restricted for printing. So I didn't have a chance to convert it into a suitable format for it. ahm... aren't there some tools around to decrypt stuff like that...? ;-)
Yes, qpdf seems to be the tool! It can encrypt/decrypt among other things and runs windows (cygwin) and *nix.

So in my case, it's as simple as that:

{.lang:sh .decode:true} qpdf --password=password --decrypt encrypted_input.pdf decrypted_output.pdf

Hope somebody finds it as useful as I did :-D

Thanks for reading!
Raphi