We're beginning to produce reports in earnest in conjunction with a new student 
information system for schools, and we finally came up with a set of RPG 
procedures to streamline development; a report API.
It may be a bit out of context to mention it in this thread because we don't 
transform ACOM PCL to PDF, but we do have a requirement to generate PDF files 
for student transcripts, report cards, and so forth.
The approach we came up with, was to transform HTML to PDF.  The following 
reference shows some screen shots of a student transcript in HTML, XML, and PDF 
formats, RPG calcs, and procedure prototypes.  The rptToPDF() procedure 
generates a PDF file from an HTML stream file.  The rptToWeb() procedure may be 
evoked from CGI programs to stream reports to Web clients.
http://www.radile.com/rdweb/temp/transcript.pdf
It make give you some ideas.  We use Dreamweaver to layout XML and HTML 
templates, and use them in RPG programs to generate PDF reports.
-Nathan
----- Original Message ----
From: Jason Abreu <jason.abreu@xxxxxxxxxxxxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Sent: Thu, December 16, 2010 1:12:06 PM
Subject: Copy PCL to PDF
I have a process that merges a spooled file with a form (ACOM) and 
outputs another spooled file in PCL format (Printer Device Type *USERASCII).
I need to convert this formatted output into a PDF document.  Has 
anybody had any experience doing this?
As an Amazon Associate we earn from qualifying purchases.