MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » August 2012

RE: Print images to network printer



fixed

I am working on the application design now.

This will be replacing a manual process we have in place today. Our legal department gets several requests a year from state auditors for images of our loan documentation. A print run can be a few hundred into the tens of thousands depending on the request. Currently there is a lot of manual work to take a spreadsheet, put in onto the IFS, and using a dedicated PC run a program that generates the print documents. The PC program has to be monitored the entire time it runs and will not run on Windows 7. My task is to come up with a replacement solution that can be completely handed over to the business.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
Sent: Wednesday, August 29, 2012 2:59 PM
To: Midrange Systems Technical Discussion
Subject: Re: Print images to network printer

What's driving it? Is is a user on a green screen selecting something and you
are wanting to print a graphic from that then you would probably look at
doing a call to a PC program (Your .Net program) from the 400 to print the
image. If it is a user in a PC program you are going to trigger it from there.

On Wed, Aug 29, 2012 at 1:34 PM, <Rick.Chevalier@xxxxxxxxxxxxxxx> wrote:

Thanks Matt.

I would prefer the .Net solution too but didn't know how I would call it.

I'm also thinking of trying EGL but I would have to get past the
learning curve and I don't know if I have that long.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Matt Olson
Sent: Wednesday, August 29, 2012 1:43 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Print images to network printer

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
.eto ols.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-winfor
m

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.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take a moment to review the archives at
http://archive.midrange.com/midrange-
l.



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.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at http://archive.midrange.com/midrange-
l.



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.





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact