Hello, I have created PDF files on the mainframe using Java/iText. Now I need to print them directly to network printers dynamically controlled by the application without opening the PDF (silent printing).
I can't print the PDF (using Java/JCL/Any other way) to the printers directly (unless it's some sort of "Level 3 printers"), I tried to convert the PDF to Postscript file and print it using a JCL. That didn't work either. Although I don't know how to convert the PDF file to a PCL on the mainframe, will converting the PDF to PCL and printing it using a Java program or a JCL help?
Has anybody had any luck with ghostscript or xpdf or XSL-FO?
I would really appreciate your suggestions/input. Thanks for your time.
Pinned topic Silent PDF printing in Batch on the mainframe
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-11T01:11:29Z at 2012-12-11T01:11:29Z by SystemAdmin
venkatsalem 270001FU6H1 Post
Re: Silent PDF printing in Batch on the mainframe2008-11-03T23:57:17ZThis is the accepted answer. This is the accepted answer.Now it is possible to print PDF document from pure java API using PDF Renderer open source.
You can find sample code in the below link.
Best J2EE frameworks?!2008-12-04T23:23:01ZThis is the accepted answer. This is the accepted answer.Hello! I'm a jdev who always try to use the best frameworks & technologies to deploy my projects. Sth like: Struts, hibernate, Ajax & etc. Although I always search throw the new technologies & frameworks because likely some of them are better than the famous ones.
A few days ago I was searching throw the eoslist.com which introduced the 84 best J2EE frameworks, tools & technologies. I found a new framework named Shine-app. Reading its description encouraged me to test it. So I downloaded it. It was really interesting!
Shine seems so nice but I can't trust on it yet because I don’t know it very much if you have any information about it please let me know about it more.
MpcSmits 0700000FCQ1 Post
Re: Silent PDF printing in Batch on the mainframe2011-01-19T16:16:03ZThis is the accepted answer. This is the accepted answer.
- SueSims 270003TH7V
SueSims 270003TH7V4 Posts
Re: Silent PDF printing in Batch on the mainframe2011-03-07T19:44:36ZThis is the accepted answer. This is the accepted answer.
- MpcSmits 0700000FCQ
This link explains how to setup printers in an iSeries system so that Java can see the print services:
and there is a good technical note here as well:
Once you can see printers in java, you can use jPDFPrint to print to a specific printer by using the print method that takes the printer name as a parameter:
PDFPrint.print(fileName, "printer name", printSettings, pwdHandler);
Re: Silent PDF printing in Batch on the mainframe2012-12-11T01:11:29ZThis is the accepted answer. This is the accepted answer.
- SueSims 270003TH7V
High performance and simple to use in few line of code with ability to track the printing as it is printing with a document listener.