What printer data stream is used? or how was the printer data generated?
I am wondering if the data stream being generated matches the data
stream of the printer connected to the iSeries? What printer is attached
to the iSeries and how is it configured?
The iSeries info center has some Toolbox examples:
Programming>Java>IBM Toolbox for Java>IBM Toolbox for Java Classes>
> Hello all,
> I'm working on a program that needs to send a print job to a printer
> connected to an AS/400. I've tried using the SpooledFileOutputStream
> and I've also tried using one of the SCS Writer classes. Neither
> solution is working. With the SpooledFileOutputStream I am at least
> able to create my print file, but when my program ends, the file is
> still not being printed.
> This program does not run on the AS400, it runs on a PC and connects to
> the AS400 via the toolkit classes. I know this part works as I am able
> to use the toolkit to access Data Queues, Files and Data Areas without
> a problem.
> Is there anyplace anyone can point me to see some examples of how to
> print a file using the AS400 Java Toolkit?
> Thanks in advance,