File does not start with "% PDF-"

Yesterday I had a peculiar problem. A client installed one of my Delphi applications on some Toshiba laptops, and everything was fine until it was time to generate some Acrobat files as a Rave 7 report, resulting in an object error.

Acrobat 7 Standard with XP SP3 and IE8 was installed on laptops. I uninstalled Acrobat 7 Standard, installed Acrobat 5 Reader, which they were lying on, and the problem disappeared. However, the client does not see Acrobat rollback as a solution, because the normal environment in which this Delphi application runs on XP SP3, IE 7, and Acrobat 7 Standard does not show this problem.

A Google search did not reveal any recent causes or consequences. Microsoft and Adobe KBs deny that there is any problem.

Any clues as to which particular area needs a workaround? Today I am going to uninstall IE8 and reinstall IE7.

+3
source share
4 answers

I had the same problem: in IE with the Adobe ActiveX plug-in. This was some time ago, but if I remember correctly, the problem was in ActiveX in some versions of Acrobat 7, maybe in combination with specific versions of the PDF itself. Installing the latest version of Adobe Reader solved the problem.

+3
source

Firefox ( ) Adobe Acrobat Reader , , . , . Win 7 C:/users/your name/AppData//Mozilla Microsoft/ , , . , .

, AppData. AppData Adobe. Firefox acrobat. !

+2

PDF files begin with the sequence "% PDF-XY"; however, some email programs are notorious for adding a header, such as Mac Binary. Acrobat looks in the first 1024 bytes for the% PDF sequence. Other applications only support% PDF at the beginning of the file.

+1
source

We ran into this and found that it was a matter of adding the site to the list of "allowed pop-ups."

0
source

Source: https://habr.com/ru/post/1713131/


All Articles