How I accidentally bypassed the protection of a PDF file.
I have ten labs, each of which is represented by a separate PDF file. Working with this material is more convenient when it is printed on paper. Therefore, I combined the documents into one, re-sorted the pages and placed them two per sheet for printing with a brochure. Printed out.
A recent classmate Taras calls and asks how I have printed these works. "Brochure (:" - I answer, wondering. It turned out that they were all protected from printing, modification, partial copying, and so on.
')
The recipe is simple: use pdf2ps (1) (from the Ghostscript package) or pdftops (1) (from poppler ) to convert a PDF document to a PostScript document. The difference between them, it seems, is that the first transforms the text into curves, and the second leaves it as it is. I did not go into details. If necessary, you can also do the conversion back using ps2pdf (1) or pstopdf (1) .
And there is the pdftotext (1) , which simply extracts the text.