I already have a Java library in place that I wrote to convert spooled files into PDF, either streaming to the web or to a specified file on the file system. I use XML and XSL:FO to accomplish that. I am looking to add to the library to include a PCL to PDF conversion to enable additional tasks to be performed with raw PCL files that are generated by an automated process.

Thank you for the suggestions, though.

Jason Abreu
Abreu Innovations, Inc.
jason.abreu@xxxxxxxxxxxxxxxxxxxx
http://www.abreuinnovations.com/

On 12/16/2010 8:22 PM, Nathan Andelin wrote:
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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.