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



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.

This thread ...

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.