Application Examples 6 to 10
Same as Example 5, except printing is allowed (after the .pdf file is open)
Decrypt a .pdf file
xxx is the owner’s password
Add page numbers to a .pdf file:
To merge all original PDF documents in a single .pdf file:
Now you need to create a blank .pdf file that contains only page numbers.
First copy follows on a .tex file
(where 31 is the total number of pages on single_file.pdf)
and save the file as numbers.tex
Run following command to create a numbers.pdf file
9a) Split .pdf file to 2 files
9b) from page 1 to page 100
9c) into sigle pages
A doc-data.txt file will be generated
The sum of the file size of the splitted pages will exceed the that of the original .pdf file because any fonts embedded in the .pdf files may end up being duplicated in each .pdf file, taking up more space.
Add signature to .pdf file
‘+7cm -12cm’ (position of the signature)
+ on the right of the center of .pdf file (+axis)
– on below the center of .pdf file (-axis)
Adding image will be the same.