I am creating an application and used fpdi for the printable documents. But when I ran the code, it returned an error: setasign\Fpdi\PdfParser\PdfParserException . What are the possible causes of this error?
Asked
Active
Viewed 297 times
-1

anon97
- 15
- 5
-
1that means that the parser thinks that the file you have provided is invalid you might try some other file – Muhammad Omer Aslam Nov 12 '18 at 03:28
2 Answers
0
As you can see from the code, parser tries to find PDF keyword in the file header. But does not find.
PDF file is corrupted or empty.

Anton Rybalko
- 1,229
- 17
- 23