It seems the problem here is that you're going from pure data to StructureX, then you want to go from StructureX to StructureY. Going direct to StructureX is a fine first-off approach, but since your needs are now expanding I'd suggest that you need to rethink your approach. You need to go directly from data to Y rather than data to X to Y. Further, if the business rules are extracted from the UI, you can choose any UI X or Y that you want without recoding the app. It sounds to me like you should have your app generate XML documents for invoices, and then someone can custom code from XML to PDF, XML to PCL, XML to Word, XML to Excel, etc.
Yes, there is some pain involved in this process, but you're digging yourself a deep hole by trying to go directly from PDF to something else. I do have tools to allow you to do this without PS, PCL or other funky escape codes, and a happy client as a reference. I offer the tools and methodology as part of a service, rather than offering the tools on their own. E-mail [EMAIL PROTECTED] if interested. Good luck in any case, Tony >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Haas, John >Sent: Thursday, April 01, 2004 5:49 AM >To: U2 Users Discussion List >Subject: RE: XML or WORD Format??? > > >Thanks, > >The goal is to have a copy of our invoice that can be opened >in WORD or Excel. I only mentioned the PCL and .pdf formats >because these are already produced when we create an invoice. >If there is another way please let me know. We are running >Universe version 9.6. > >John. > > >-----Original Message----- >From: Anthony Youngman [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 01, 2004 8:43 AM >To: U2 Users Discussion List >Subject: RE: XML or WORD Format??? > > >In one word - it's IMPOSSIBLE. > >Okay, you may be able to achieve what you want, though. The >thing is, the output of pdf and pcl is an image, Word and xml >are structured text. You can't go automatically from a >structure-free format to a structured format. > >I'd investigate ghostscript, and see if you can get it to >throw out a text document rather than postscript (or feed the >postscript through a ps2txt filter), but if your original pdf >or pcl was of a graphic, then you're stuffed without an ocr >filter in place. > >So, basically, what you're after can be achieved, but without >knowing what is IN your input files, it's impossible to >recommend (or even >guess) what might or might not work. > >Cheers, >Wol > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >On Behalf Of Haas, John >Sent: 01 April 2004 14:33 >To: U2 Users Discussion List >Subject: XML or WORD Format??? > >Does Anyone know of a way to convert either .pdf or PCL >formats to XML and/or WORD format that will run under HP-UX. > >Thanks in advance. > >John. >*********************************************************** >THIS MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL >OR ENTITY TO WHICH IT IS ADDRESSED AND MAY CONTAIN >INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL, AND EXEMPT >FROM DISCLOSURE UNDER APPLICABLE LAW. >If the reader of this message is not the intended >recipient, or the employee or agent responsible for >delivering the message to the intended recipient, you are >hereby notified that any dissemination, distribution, >forwarding, or copying of this communication is strictly >prohibited. If you have received this communication in >error, please notify the sender immediately by e-mail or >telephone, and delete the original message immediately. >For more information, please visit http://www.bakerlaw.com. >Thank you. >*********************************************************** >-- >u2-users mailing list >[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users > > > > >*************************************************************** >************* > >This transmission is intended for the named recipient only. It >may contain private and confidential information. If this has >come to you in error you must not act on anything disclosed in >it, nor must you copy it, modify it, disseminate it in any >way, or show it to anyone. Please e-mail the sender to inform >us of the transmission error or telephone ECA International >immediately and delete the e-mail from your information system. > >Telephone numbers for ECA International offices are: Sydney >+61 (0)2 9911 7799, Hong Kong + 852 2121 2388, London +44 >(0)20 7351 5000 and New York +1 212 582 2333. > >*************************************************************** >************* > >-- >u2-users mailing list >[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users >*********************************************************** >THIS MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL >OR ENTITY TO WHICH IT IS ADDRESSED AND MAY CONTAIN >INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL, AND EXEMPT >FROM DISCLOSURE UNDER APPLICABLE LAW. >If the reader of this message is not the intended >recipient, or the employee or agent responsible for >delivering the message to the intended recipient, you are >hereby notified that any dissemination, distribution, >forwarding, or copying of this communication is strictly >prohibited. If you have received this communication in >error, please notify the sender immediately by e-mail or >telephone, and delete the original message immediately. >For more information, please visit http://www.bakerlaw.com. >Thank you. >*********************************************************** >-- >u2-users mailing list >[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users > > -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
