I can confirm this through trial and error. Use AFPRSC to a standard
printer from a standard spool printed without the image. The AFPRSC worked
when released to an IPDS printer, in this case, my Infoprint server virtual
printer that generated a PDF file. I can also launder this spool through a
virtual Infoprint printer which converts the spool to PDF, and back to an
image through Transform Manager to go to the printer, although it
rasterizes the image a bit.

One note on this, is that whenever I try to use the *SIZE parameter, the
PDF conversion will sometimes fail hard with the spool going on *HLD, and
sometimes it will just disappear from the output. So, apparently the *SIZE
doesn't work in all circumstances.

From: Charles Wilt <charles.wilt@xxxxxxxxx>
To: Midrange Systems Technical Discussion
Date: 04/04/2012 10:43 AM
Subject: Re: Printing web format images (JPG) from IBM i
Sent by: midrange-l-bounces@xxxxxxxxxxxx

Unfortunately, AFPRSC is one AFPDS keyword that is not supported by HPT...



On Tue, Apr 3, 2012 at 6:32 PM, Dan Kimmel <dkimmel@xxxxxxxxxxxxxxx> wrote:
Take a look at the AFPRSC keyword on an AFP-capable print file DDS V7R1.

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.

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


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

This mailing list archive is Copyright 1997-2020 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].