john@ubuntu:~$ pdfocr -i /home/john/firsttest.pdf -o output.pdf
Input file is /home/john/firsttest.pdf
Output file is /home/john/output.pdf
Using working dir /tmp/d20100708-8664-k9qzbg
Getting info from PDF file
InfoKey: Creator
InfoValue: PScript5.dll Version 5.2
InfoKey: Title
InfoValue: 74-120-155 092970.pub
InfoKey: Author
InfoValue: Cindy
InfoKey: Producer
InfoValue: GPL Ghostscript 8.64
InfoKey: ModDate
InfoValue: D:20100708211330-07'00'
InfoKey: CreationDate
InfoValue: D:20100503094726-05'00'
PdfID0: 56aa2475327b6351a435090fb8a5489
PdfID1: 9e788838d0c37c7723539b8c4afeffdd
NumberOfPages: 1
Converting 1 pages
==========
Extracting page 1
Converting page 1 to ppm
pdftoppm version 3.02
Copyright 1996-2007 Glyph & Cog, LLC
Usage: pdftoppm [options] <PDF-file> <PPM-root>
-f <int> : first page to print
-l <int> : last page to print
-r <int> : resolution, in DPI (default is 150)
-mono : generate a monochrome PBM file
-gray : generate a grayscale PGM file
-t1lib <string> : enable t1lib font rasterizer: yes, no
-freetype <string>: enable FreeType font rasterizer: yes, no
-aa <string> : enable font anti-aliasing: yes, no
-aaVector <string>: enable vector anti-aliasing: yes, no
-opw <string> : owner password (for encrypted files)
-upw <string> : user password (for encrypted files)
-q : don't print any messages or errors
-cfg <string> : configuration file to use in place of .xpdfrc
-v : print copyright and version info
-h : print usage information
-help : print usage information
--help : print usage information
-? : print usage information
Running OCR on page 1
ImageMagick: Memory allocation failed `' @ dib.c/WriteDIBImage/1066
Cuneiform for Linux 0.9.0
Error while running OCR on page 1
Merging together PDF files
Error: Failed to open PDF file:
/tmp/d20100708-8664-k9qzbg/*-new.pdf
Errors encountered. No output created.
Done. Input errors, so no output created.
Updating PDF info for /home/john/output.pdf
Error: Failed to open PDF file:
/tmp/d20100708-8664-k9qzbg/merged.pdf
Errors encountered. No output created.
Done. Input errors, so no output created.
Cleaning up temporary files
Bookmarks