Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to convert a .prn file??????
Message
De
17/07/2000 17:44:27
 
 
À
16/07/2000 05:29:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00392996
Message ID:
00393569
Vues:
15
>I want to convert a .prn file into text or any other VFP readable format. Anybody have knowledge of any conversion utility of such type?
>
>Please help me.
>
>Thanks in advance

A .prn file is a file that contains the commands that are sent to a printer to generate a print job. As you will have noticed, it is full of control characters, graphical elements, page setup commands, etc.

Parsing this file to extract the ASCII content would be difficult at best. If you were successful, the output would look terrible as it would have lost all formatting. If different printer drivers were used to generate different .prn files, you would need to create a different translation program for each printer driver that was used.

If you're really stuck you could print the document e.g. COPY PrtFile.prn LPT1 /B, then use a scanner and OCR software package to extract the text.

You could also look into the Adobe PDF file format (www.adobe.com) or John Koziol's FRX2Word converter available here on the UT.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform