Page 1 of 1

PDF file created is not a valid PDF file

Posted: Tue Jun 01, 2010 8:55 pm
by keaves
I am trying to print a datawindow from Powerbuilder and the pdf file that is created is not recognized by the pdf reader.
This is the first few lines from the pdf file that is created. Does anyone know what is going on?
%!PS-Adobe-3.0
%%Title: INV_S4189440_laser.pdf
%%Creator: PScript5.dll Version 5.2.2
%%CreationDate: 6/1/2010 13:48:0
%%BoundingBox: (atend)
%%Pages: (atend)
%%Orientation: Portrait
%%PageOrder: Special
%%DocumentNeededResources: (atend)
%%DocumentSuppliedResources: (atend)
%%DocumentData: Clean7Bit
%%TargetDevice: (3010) 815
%%LanguageLevel: 2
%%EndComments

Re: PDF file created is not a valid PDF file

Posted: Sat Jul 10, 2010 8:20 am
by sumaiya
i am also a victim of this

http://provillusinfo.org

Re: PDF file created is not a valid PDF file

Posted: Thu Feb 24, 2011 2:36 pm
by Nattydee
I use the genuine version, never have any problem.

Re: PDF file created is not a valid PDF file

Posted: Fri Oct 21, 2011 11:07 am
by judith90
How can I check whether a file is indeed a true PDF file (that can be, for example, opened in Preview)? Would I be able to filter true PDFs file in an open dialog, or would I just have to stick to filtering with only the pdf extension in open dialogs, and later ignore the non-valid PDF files?

Do you have sample code that checks whether a given file is a genuine PDF file?