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.
This topic has been locked.
7 replies Latest Post - 2012-12-11T01:11:29Z by SystemAdmin
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 PostACCEPTED ANSWER
Re: Silent PDF printing in Batch on the mainframe2008-11-03T23:57:17Z in response to ek1975Now 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:01Z in response to ek1975Hello! 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.
SueSims 270003TH7V4 Posts
MpcSmits 0700000FCQ1 PostACCEPTED ANSWER
Re: Silent PDF printing in Batch on the mainframe2011-01-19T16:16:03Z in response to SueSimsOn an iSeries, how can I get jPDFPrint to use a certain printer. We have device descriptions and outqeueus. When I query for printers with PrinterJob().lookupPrintServices, I get an empty array. So how do I specify a printer for jPDFPrint to use ?
SueSims 270003TH7V4 PostsACCEPTED ANSWER
Re: Silent PDF printing in Batch on the mainframe2011-03-07T19:44:36Z in response to MpcSmitsIn response to mpcSmith question:
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:29Z in response to SueSimsIBM has subscribed to ActiveTree SmartJPrint to silent print PDF located any where in world from browser as well as server. Explore the http://www.activetree.com to know this product at ActiveTree site or search SmartJPrint in IBM website.
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.