Marco,

What I am printing is not generated by a job on the iSeries. The images are scanned and stored on the iSeries. What I need to be able to do is print any number of these images given an account number and list of document types to print.

Will AFPDS work with files that are already in TIF or PDF format?


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Marco Facchinetti
Sent: Friday, August 31, 2012 3:08 AM
To: Midrange Systems Technical Discussion
Subject: Re: Print images to network printer

You can use AFPDS printer files, they support:

Images (single page PDF and TIFF and others) Accurate Text Position Fonts
and many other nice futures.

I think the only real limitation about Images via AFPRSC is scaling.

Once you have an AFPDS spool file you can:

Print it on a device (without any PC in the middle) Generate a PDF in IFS
Generate a AFP stream file

An AFP stream file is very usefull since most of the external printig services
use AFP (very popular in Unix). All what you need is sending the file (via FTP
or whatever they prefer) and they can print it WITHOUT any tools or
converter.

Just to give you an example on how simple is the proces this is the command
to convert AFPDS spool files into AFP straem files (including Indexing and
Resorces: Images, Overlay, Fonts, Page Segmnets and Form Definitions):

CRTAFPDTA FROMSPLF(MUAF200P) TOSTMF(*DFT) JOB(*) SPLNBR(*LAST)
FORMDF(*SPLF) +
TOIDXSTMF(*NONE) TORSCSTMF(*DFT) RSCDTA(*ALL)
TOMRGSTMF(&FILE +
*DLTINPUT)

HTH
MarcoF

--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco


2012/8/29 <Rick.Chevalier@xxxxxxxxxxxxxxx>

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

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.