Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to convert a .prn file??????
Message
From
17/07/2000 17:44:27
 
 
To
16/07/2000 05:29:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00392996
Message ID:
00393569
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform