On Aug 30, 2007, at 5:31 PM, [EMAIL PROTECTED] wrote:

I have a work ( a hard work for me ):
Print payment receipts starting from data in .prn archive.
How convert .prn in usable format for fusion pro?

.prn is a vague extension indicating something used as a output file. In your case it looks as if it is simply plain text. Probably they are using this for fixed width printing.

Its typically out of the scope of FusionPro to convert one output to another. There are others who do this specifically. With that said, one way to hand this case may be to parse the .prn on the fly with JavaScript or ahead of time. Then just feed FusionPro chunks of data while applying a fixed width font. One hard part may be telling where one page starts and another ends. Sometimes datastreams have ASCII character number 12 (AKA formfeed) embedded between pages to help make this distinction.

If you must to even more with the data other than print, then your only option will be to write a parser for to try to extract the data. This can be really hard, impossible, and error prone. OTOH, in some cases it works.

Better, would be to go back to the source of this file and ask for something else.

HTH,  Brian Ray




+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Calling all FP Web Users!

Do you have a question or lots of knowledge to share about FusionPro Web?

If so, join our Printable Web to Print Users' Forum today!

Send email to [EMAIL PROTECTED] to find out how! +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


--
Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] --
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to