× 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.



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-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.
--
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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.