(the blog’s not dead)
I had an unexpectedly arduous task today, actually two. They seemed relatively simple, but as most things that involve Adobe software, it was far from simple.
Task 1: Find a scanned copy of a book chapter that someone in the lab had prepared and send that back to my boss. This was challenging considered that previous members of the lab have left and there is not organized central repository of data produced by those individuals.
REAL Task 1: When found there were individual PDF files for each page. My goal: Merge PDF files. How hard should that be? Answer: If you have Adobe Acrobat (not just the reader), real easy. Other wise, I failed miserably. I tried a couple of things that I scrounged up from Google searches:
PDFCreator: I think this would work just fine, even if the interface and documentation leaves you guessing as to how you are supposed to use this software. I was able to add all my pdf’s in and then highlight them all and click “Combine”. After outputting the pdf file I realized that the original pdfs had been scanned in landscape (11 x 8.5). When combined, they all were squeezed into a profile layout (8.5 x 11), not rotated, but squeezed. After a long while of trying to figure this out, I decided to abandon PDFCreator for this exercise. I even uninstalled it since I have CutePDF for all my PDF creating needs.
pdftk: I downloaded this only to realize that while it seems like a pretty powerful and nifty tool, it was command line based and I was in a bit of a hurry. I may come back and learn to use this one but for now I had to move on.
Eventually, I found a machine with Adobe Acrobat Professional and in less than 5 minutes I had the merged files I wanted. There was in my search a freeware tool called MergePDF, but it was for Mac’s only and I don’t speak Mac.
Task 2: Fill in a form that is only available in PDF. It is not a nice PDF form where you can click on a form element and just type in. Nope, this is just your standard static pdf document. Are there any good free PDF annotators? I have used pdfAnnotator but it has a 30-day free trial. After that, it watermarks your documents if you output it in any way.
FoxitReader, which is my preferred tool for reading pdf files, has the ability to annotate, adding text to the pdf but as soon as you save it, there is an automatic header added to your pages saying it was modified by FoxIt. I couldn’t have that for this form.
I finally just used the typewriter function in Adobe Acrobat Professional but there was a new challenge: Adding a signature to an pdf file before emailing the form back.
My first option was to print, sign, scan, email. Second option would be to have an image of the signature (which I do) and paste it onto the pdf. Guess what? You can’t paste an image on to a pdf file in Adobe Acrobat. You are supposed to go back to the original editor and do it there, at least that’s what I could find out from the documentation. However, you can copy and paste an object from another PDF in Acrobat.
So here’s what you do if you want to paste an image into a pdf. This is also nice because you can preserve transparency in the image if you do this:
1. Use Photoshop to save the image as a PDF.
2. Open the PDF you just saved in Acrobat and select the image you want to copy.
3. Hit control-C or just click Copy from one of menu options.
4. Open up the destination PDF and paste away.
There was one problem I didn’t have time to worry about solving the right way. You can’t resize the image you paste. I just made sure that the original image was the size I wanted it in the original source file.
Whew! Done!
Did you ever notice that the more urgent you need something done, the harder it is to get it finished? Did I make these two issues far to hard on myself? Probably, but the problems were eventually solved and now my solution is documented for future reference. And if anybody happens to comment, I might even have better solutions next time around






October 30th, 2007 at 11:28 am
I’m pretty sure iText (free, written in Java, thus cross platform) has a command line tool to append PDFs together. The full product is a Java class library to create PDFs containing anything you want. iText appears to be of high quality.
I’ve used a utility called AppendPDF. Apparently someone I work for bought it. I sure wouldn’t have spent the cash. It worked, though.
I mostly hang out in Linux land. OpenOffice knows how to export to PDF, but not import.