"Adobe Acrobat is a commercial tool for manipulating PDF files.
Earlier I was using CUPS-printing system, to export PDF files. I've
also tried out gv for the same purpose. However, I needed complete
editing of pdf documents. My search ended with PDFedit software,
which is free and open source editor for manipulating PDF
documents. The software available in both GUI and CLI (command
line) interface.
"This software also supports scripting and almost anything can
be scripted. PDFedit is a low-level tool for users..."