Discussion:
Infoprint Server or move PDF's from IFS to OUTQ (requeue)
(too old to reply)
LaggerChr
2006-03-31 09:28:52 UTC
Permalink
hello!

i have a question dealing with the Infoprint Server from IBM on an
AS400.

A thirdparty application creates pdf files and stores them on our IFS
on the AS400. is there a way with Infoprint Server to move file from
the IFS to an OUTQ?

i read that IBM Redpaper about the Inforprint Server. "Re-queue print
files or segments as PDF for printing" is mentioned in this book, but i
cant figure out how to solve my problem to Re-queue PDF's from the IFS
to an Printer OUTQ.

Is there a possibility to do this? Do i need the Infoprint Server for
this, or can i solve this problem otherwise?

Would appreciate every tip!

Thanks in Advance, Lagger C.
Rodney A. Johnson
2006-03-31 18:55:59 UTC
Permalink
Easiest way is to create a printer file with DEVTYPE(*USERASCII) and
then FTP the file from IFS to the printer file. This will work for any
ASCII data type. Note that the last record of data written to the
printer file may have some hex zeros added to the end due to the fixed
record length nature of the method used by FTP.

Make sure you have the latest PTFs for FTP, as there is a bug were
source line number can get inserted into the data by FTP.

A harder method would be to write your own program to read from the IFS
file and write to a printer file with DEVTYPE set to *USERASCII. I have
and example C program that is a work in progress that demonstrates this,
but it also has the problem with hex zero padding of the last record
because C does not have a way to indicate the last record written to the
printer file has less bytes then the printer file record length. In
theory, one should be able to write to a printer file using
PrintManager/400 and avoid the need hex zero padding of the last
record...I have not had time to validate that.
Post by LaggerChr
hello!
i have a question dealing with the Infoprint Server from IBM on an
AS400.
A thirdparty application creates pdf files and stores them on our IFS
on the AS400. is there a way with Infoprint Server to move file from
the IFS to an OUTQ?
i read that IBM Redpaper about the Inforprint Server. "Re-queue print
files or segments as PDF for printing" is mentioned in this book, but i
cant figure out how to solve my problem to Re-queue PDF's from the IFS
to an Printer OUTQ.
Is there a possibility to do this? Do i need the Infoprint Server for
this, or can i solve this problem otherwise?
Would appreciate every tip!
Thanks in Advance, Lagger C.
--
Rodney A Johnson
Technical Team Lead for i5/OS (AS/400) Spool
Dept GJC
IBM Rochester, Minnesota

The contents of this message express only the sender's opinion.
This message does not necessarily reflect the policy or views of
my employer, IBM. All responsibility for the statements
made in this Usenet posting resides solely and completely with the
sender.
Richard Schoen
2006-04-02 02:23:51 UTC
Permalink
If you are open to a commercial solution for your problem we have two
products that might be useful:

1.) IFS Tools - IFSTools contains a CL command that can be used to re-spool
raw PDF files as a *USERASCII spool file.

2.) iSeries Office Integrator - Contains a CL command that can be used to
print IFS and PC based PDF files to any network printer.

For more information feel free to contact me directly.

Regards,
Richard Schoen
RJS Software Systems Inc.
"Providing Your....iNFORMATION NOW!"
Email: ***@rjssoftware.com
Web Site: http://www.rjssoftware.com
Tel: (952) 898-3038
Fax: (952) 898-1781
Toll Free: (888) RJSSOFT
Post by LaggerChr
hello!
i have a question dealing with the Infoprint Server from IBM on an
AS400.
A thirdparty application creates pdf files and stores them on our IFS
on the AS400. is there a way with Infoprint Server to move file from
the IFS to an OUTQ?
i read that IBM Redpaper about the Inforprint Server. "Re-queue print
files or segments as PDF for printing" is mentioned in this book, but i
cant figure out how to solve my problem to Re-queue PDF's from the IFS
to an Printer OUTQ.
Is there a possibility to do this? Do i need the Infoprint Server for
this, or can i solve this problem otherwise?
Would appreciate every tip!
Thanks in Advance, Lagger C.
beoh
2006-04-04 21:01:33 UTC
Permalink
Hello,

Did you see my post on an other thread
(http://groups.google.com/group/comp.sys.ibm.as400.misc/browse_thread/thread/1ebcb08c4c4eaeb3)
?
If you are not affraid of using JAVA you can take the code from my
posting, adjust it according to your needs and run it!
LaggerChr
2006-04-05 11:54:41 UTC
Permalink
Hello!

Thanks for your advice beoh! Iam going to try it this week and let you
know!

best regards!

Loading...