×
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.
One option would be to Call a Java program:
http://www.java2s.com/Code/Java/2D-Graphics-GUI/PrintanImagetoprintdirectly.htm
Here are some tips on calling java programs from RPG:
http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/topic/com.ibm.etools.iseries.pgmgd.doc/c0925076172.htm
Another option (non IBM i solution) is to write the function in .NET (and you could call it from the IBM i in a whole host of different ways (REST services, run remote pc command)). For the .NET stuff it's even simpler to print then in Java, see the code here:
http://stackoverflow.com/questions/2337252/print-image-in-net-winform
By far the easiest solution in my opinion is to do it in .NET if you can. The amount of code to accomplish the same goal will be much smaller in .NET versus the alternatives.
-----Original Message-----
From: Rick.Chevalier@xxxxxxxxxxxxxxx [mailto:Rick.Chevalier@xxxxxxxxxxxxxxx]
Sent: Wednesday, August 29, 2012 10:28 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Print images to network printer
I have a requirement to be able to print images stored on our IFS on a business group's printer. Some of these print requests can run into the tens of thousands of pages.
Is anyone printing images to network printers from the i? If so, would you mind sharing how you do it?
Rick Chevalier
Software Solutions Development Lead
[cid:image001.gif@01CD85D0.FAF42B10]
817-525-7178 (w)
________________________________
Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
As an Amazon Associate we earn from qualifying purchases.