|
------------------------------
message: 3
date: Thu, 16 Dec 2010 15:29:30 -0500
from: Jason Abreu<jason.abreu@xxxxxxxxxxxxxxxxxxxx>
subject: Re: JTOpen& SpooledFile with Printer Device Type *USERASCII
Correct, it is in ASCII PCL format. I need to convert this to a PDF
file, somehow.
I am familiar with Java so it's my first option. I had hoped to find
a native process in OS/400 that can perform the conversion, but no
such luck just yet.
Jason Abreu
Abreu Innovations, Inc.
jason.abreu@xxxxxxxxxxxxxxxxxxxx
http://www.abreuinnovations.com/
On 12/16/2010 3:25 PM, Thorbjoern Ravn Andersen wrote:
Den 16/12/10 20.18, Jason Abreu skrev:
I am familiar with reading SpooledFiles in Java using the toolbox.
I am having trouble with reading a SpooledFile that has a Printer
Device Type of *USERASCII, however. I have tried using
getTransformedInputStream but keep getting a generic error message.
I have tried getInputStream() but I get a ton of garbage characters
back in the stream.
If I recall correctly *USERASCII means that the printing system just
consider it a binary blob instead of anything with lines and overlays
and such.
Would the garbage characters happen to be valid PCL (HP printer language)?
As an Amazon Associate we earn from qualifying purchases.
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.