×
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.
Take a look at the AFPRSC keyword on an AFP-capable print file DDS V7R1.
http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/rzakd/rzakdmstafprsc.htm
A file with a .jpg extension is typically a jpeg image contained in a JFIF file format. AFPRSC directly supports this format.
Most likely you're going to have to use Host Print Transform to get this to a printer. I'd think HPT and any HP-PCL variant would work.
I know with PAGSEG's resolution to the actual object happened at print writer time. That is, the spool file would be created and hang around in the outq without ever fetching the image, then the print writer would find and merge in the file. In other words, don't expect to run the RPG to the print file and then delete the image file; it needs to hang around until the print writer runs.
I haven't had a chance to play with AFPRSC yet, myself, but it promises to do just what you want. It looks pretty simple, supply a name, a type, position, and a path to find the file. You may also add size and some scale-to-fit mapping options.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of darren@xxxxxxxxx
Sent: Tuesday, April 03, 2012 11:08 AM
To: midrange-l
Subject: Printing web format images (JPG) from IBM i
Our users have a library of small .JPG files that look like parts. They'd like to print a picture of the part beside the part # on a pick slip. We have Infoprint, and do quite a bit of work with generating PDF. We also creates a lot of Excel spreadsheets with POI java tools. What options are there for generating pictures from JPG resources, using something like RPGLE?
--
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.