Interesting.... When I print the spool file directly from the IBM i, it is correct. I'm using CPYSPLF *TOSTMF to convert to PDF and that is where it is not aligning.
I don't see any margin or offset values for the CPYSPLF.
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
________________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of Roger Harman <roger.harman@xxxxxxxxxxx>
Sent: Thursday, May 26, 2016 11:45 AM
To: Midrange Systems Technical Discussion
Subject: AFP Overlay in landscape - margin issue
I'm trying to overlay a logo on a landscape report. I've done this fine in portrait before.
For some reason, the logo is not printing at the top of the page but a couple of inches down. I've tried a number of combinations but can't get it to flush up to the top margin.
The overlay was created in MS-Word using the 600dpi AFP driver. Page was landscape and the graphic placed centered at the top margin.
Here's the OVRPRTF (in the RPG):
CmdStr = 'OVRPRTF FILE(EWS305PT) DEVTYPE(*AFPDS) '
+ 'PAGESIZE(66 132) OVRFLW(62) PAGRTT(90) '
+ 'FRONTOVL('
+ %trim(Logo) // Logo is a 10-char name
+ ') OVRSCOPE(*JOB) HOLD(*YES)';
Suggestions??
TIA......
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
--
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.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.