Tuesday, March 5, 2013

Repair Corrupted PDF File

I was looking for some tool to repair one of the PDF file but none helped. Some worked but they were licensed and didnt repair entirely.

Then I encountered Ghostscript which can repair corrupted PDF files automatically.

Ghostscript is a suite of software based on an interpreter for Adobe Systems' PostScript and Portable Document Format (PDF) page description languages. Its main purposes are the rasterization or rendering of such page description language files, for the display or printing of document pages, and the conversion between PostScript and PDF files.

Download URL:
Download and install Ghostscript from the location http://www.ghostscript.com/download/


How to Repair:
gswin32c.exe -o repairedfile.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress sourcefile.pdf

Password protected:
gswin32c.exe -o repairedfile.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sPDFPassword=password sourcefile.pdf

gswin32c.exe is located in the installation directory and normally in C:\Program Files\gs\gs9.05\bin

Example:
C:\Program Files\gs\gs9.05\bin>gswin32c.exe -o repaired.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress Vasantham.pdf

GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.

Processing pages 1 through 5.
Page 1
Page 2
Page 3
Page 4
Page 5

C:\Program Files\gs\gs9.05\bin>     Hope this helps !!

12 comments:

  1. Hi,
    The post mentioned above is good and quite informative for those who uses PDF file. PDF files are especially made for using in documents. I would like to suggest another useful PDF software which is also very useful and repair corrupt PDF file in easy way. It is PDF File Repair Tool which is a good tool to repair the damaged PDF file. See more :
    http://pdf.filerepairtool.net/

    ReplyDelete
  2. The PDF Converter Professional interface is accessible but sleek. There are bunches of options, reflecting the large variety of tasks you can perform with the software, but a little bit of practice should allow you to find your way around. The program also comes with excellent help documentation, so any queries will be easy to resolve. Get more information about this tool from visit here:- http://www.filesrecoverytools.com/pdf-converter.html/
    use free demo version.

    ReplyDelete
  3. Thank you Bob. You saved me a whole day. I had a corrupt file which wasn't opening with any software. PDF converter pro free trial did the job for me. God bless you man!!!

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. For instantly PDF File Repair, I would refer Kernel for PDF File Repair tool that easily repair all corrupt or damage PDF files without any kind of error. Take a free trial to visit here:- http://www.fixpdffile.com/

    ReplyDelete
  7. Thanks for sharing this tool, anyone want to another PDF repair to visit this blog :: Repair Damaged PDF File.

    Hope this tool helps you and all....

    Thanks....

    ReplyDelete
  8. Use effective PDF Repair Tool that repairs corrupt or damaged PDF files and restores forms, headers/footers, word art, clip art, page format, charts, shapes, and tables.

    More Features:

    * Repair PDF files on corrupted medias, such as floppy disks, Zip disks, CDROMs, etc.
    * Repair PDF files that do not comply with the PDF specification.
    * Compatible with Windows 2000, XP, 2003 and Vista.

    For any query,Visit here:- http://www.softmagnat.com/pdf-repair.html


    ReplyDelete
  9. If you are unable to repair manually PDF file. To recover your data from corrupt PDF file you need to use effective third party PDF repair tool. Visit here: How to Repair Corrupt PDF File: PDF Repair Tool

    ReplyDelete
  10. If your PDF file is corrupted or damaged, then you can use Kernel for PDF file repair tool.

    ReplyDelete
  11. Use PDF Repair Tool which is specially designed to recover PDF file with recovers complete data like texts, graphics, images, labels and tables from corrupted or damaged PDF files with full accuracy.

    Go through: - http://www.mannatsoftware.com/stellar-phoenix-pdf-repair.html

    ReplyDelete
  12. Nice piece of information shared here but I used another easy and effective PDF Repair Tool. The tool is very easy to use and fix all PDF file issues quickly. You can also check the free version of this tool, here:- PDF Repair Tool

    ReplyDelete