× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...

Follow-Ups:
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.