Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pdf checker
Message
De
15/01/2014 04:52:34
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01591849
Message ID:
01591897
Vues:
56
>Hi
>I am using XFRX to create PDF's and then email them
>Very intermittently, unreadble PDF's are being created, but if I try again subsequently, with same documents etc , it creates the PDF fine.
>If there was a utility available to 'Check' if a Pdf could be opened, I could wrap this in a loop, and perhaps the second time it might be ok....maybe its a timimg thing or something else going on in the environment.

For a while I was using word and PostScript driver to convert .doc to .ps, then GoScript to convert that to .pdf and there were some malformed pdfs, mostly caused by Word finding fault with the .doc file. The resulting bad .pdf files were too short... so my IsPdfValid() was returning .f. if the file size was below, IIRC, 19000 bytes. Fast and rather reliable for the type of errors I was getting; YMMV.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform