🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20010

Raw ASCII Data to PDF

#20010
From: ChrisB01
Date: Tue, 12 Nov 2002 21:30
23 lines
1961 bytes
Guys, our current legacy system exports ASCII files that we current translate using an EDI translator. I'd like to also use this data to create PDF files for email, print, and fax. The data files come from the legacy system in a format that includes a "TAG" at the start of each record (line) which tells what kind of data is in the record. The data is on the same line as the TAG in a fixed length format. For example, a file full of invoices might follow this schema: 
FILE_HEADER 
DOCUMENT_HEADER 
INVOICE_HEADER 
INVOICE_DETAIL 
INVOICE_DETAIL 
INVOICE_DETAIL 
INVOICE_TOTALS 
INVOICE_HEADER 
INVOICE_DETAIL 
INVOICE_DETAIL 
INVOICE_DETAIL 
INVOICE_TOTALS 
FILE_FOOTER 

Notice that this example has two invoices... From this one data file, I would need to produce two PDF files, one for each invoice. 

I'm not sure if I can do this with any of the Adobe product line? If not, I was thinking we could convert the data to XML using the same EDI translator that we current use for EDI documents. Then I could use some tool to go from the XML to PDF? 

Need some guidance. 

Thanks, 
Chris
Technical Details
Message-ID: <1de690d2.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-hub.siol.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,d7c3627cbfd016ee,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-12 13:48:04 PST
From: ChrisB01 <chrisb01@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-hub.siol.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Raw ASCII Data to PDF
Message-ID: <1de690d2.-1@WebX.la2eafNXanI>
Date: Tue, 12 Nov 2002 13:30:52 -0800
Lines: 33
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit