Every PDF file starts with the string "%PDF". If yours doesn't then it probably isn't a PDF file. Perhaps it is a compressed PDF file, or another type of document altogether, with the wrong file extension in the name. You should use whatever tools your system provides to check the file type first before assuming it is a PDF file in need of repair.
|