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



Thank you for the feedback. I am not looking to use the package in it's entirety. I am mainly looking for the byte-to-byte conversion and rendering of graphic instruction bytes.

I am reading the PCL spooled file as a byte stream and am looking for something to help me figure out how to interpret the PCL bytes.

I'll keep looking around, though, since this product may not get me 100% of my solution.

Thanks!

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

On 12/17/2010 4:56 AM, Thorbjørn Ravn Andersen wrote:
I have done some experiments with OpenPCL back in April, and found the
project to cover the PCL generated by the IBM I printing system
insufficiently.

Based on the lack of feedback on the bug I filed on this -
http://sourceforge.net/tracker/index.php?func=detail&aid=2987019&group_id=19
2642&atid=942217 - as well as my impression from the web pages, it appears
that this project is essentially an abandoned code base as the main
developer has left the donating company.

It might suit your needs, but I suggest you test thoroughly before
committing.

/Thorbjørn


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Jason Abreu
Sent: 16. december 2010 22:13
To: java400-l@xxxxxxxxxxxx
Subject: Re: JTOpen& SpooledFile with Printer Device Type *USERASCII

I have found a solution.

An open-source Java solution at sourceforge.
http://sourceforge.net/projects/openpcl/

It's written in Java and the conversion classes are in a separate jar
file that I can include in my own project. So, best of all, it can run
native on the iSeries.

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.