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
PDF file created is not a valid PDF file
Moderator: jr
Re: PDF file created is not a valid PDF file
I use the genuine version, never have any problem.
Re: PDF file created is not a valid PDF file
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?
Do you have sample code that checks whether a given file is a genuine PDF file?