Jeff,
I don't recall seeing an answer to this, but have you checked the CCSID of the tiff image in the IFS to make sure it's the same CCSID as the job? If the tiff image is using a different CCSID than the job it would not be able to read and interpret the image correctly.
From the IBM Knowledge Center article for AFPRSC:
When you provide the resource-name, path-to-use, external-name, or secondary-resource-path as a literal value, the operating system assumes that it is specified in the coded character set identifier (CCSID) of the DDS source physical file. When you provide the resource-name, path-to-use, external-name, or secondary-resource-path as a program-to-system field, the operating system assumes that it is specified in the default job CCSID.
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jeff Bianchi
Sent: Wednesday, April 24, 2019 12:35 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] RE: RPG400-L Digest, AFPRSC issues
Thanks, Vern!
FYI, I've tried the CPYSPLF command to create a PDF using the same parms you show below. No joy.
I'll check on the PDF and then see if we can get on the phone with IBM.
If I ever come up with a fix and/or a workable solution, I'll repost.
Thanks for all the great suggestions.
Jeff
date: Wed, 24 Apr 2019 09:23:32 -0500
from: Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
subject: Re: RPG400-L Digest,AFPRSC issues
Hi Jeff
Yes, the PTF ID is SI65471.
The only thing this does is activate printing with Host Print Transform to HP-compatible printers - you should still be able to run CPYSPLF to get a PDF, and the image should be there - here's an example of that command -
CPYSPLF FILE(SPLFNAME) TOFILE(*TOSTMF) JOB(000000/USER/JOB)
TOSTMF(splfname.pdf) WSCST(*PDF)
The TOFILE and WSCST parameters have to be set this way, the rest are there to correctly specify the spooled file and what the PDF name should be.
If your issue is that you don't see anything on something printed, then you might need the PTF.
But you don't need the PTF for the image to be included - CPYSPLF will let you test that.
If the image is not on the PDF file, then you have a possible bug - call IBM Support.
Good luck, man!!
Vern
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=5us7V3NxCC7mgQZx37ckjDHTgy52zrorUNr-1LiXAGI&s=QHz2v7zFLz_ddce1JSWcHItzEQJ9QTN_UV8e4tCP_3w&e=
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_rpg400-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=5us7V3NxCC7mgQZx37ckjDHTgy52zrorUNr-1LiXAGI&s=bGNpWSFpmMcOvJDT1tP4LE4TVCH5uSNXhfhfEmqosq4&e=.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=5us7V3NxCC7mgQZx37ckjDHTgy52zrorUNr-1LiXAGI&s=iQWRgiuxHTqCh2wct-Z00aMs73ozPL2qs9t-ey_ygnQ&e=
As an Amazon Associate we earn from qualifying purchases.