×
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.
Your AFP page has two origins. Unfortunately the origin for the text is
the only one that gets moved with PAGRTT. So for TEXT you have a landscape
page, but for GRAPHICS you have a portrait page. i.e. your across is still
8.5 inches and your down is 11. Just give it a quick try, flip your
original across and down positions for the graphic.
If you are developing a new app, I recommend making your page size the
orientation that you need to print the bulk of the page. i.e. Make a
landscape page of 11 x 8.5 and avoid the use of PAGRTT.
If this is still too confusing, please give me a call.
William Scott
Advisor, Solutions Engineering
Canon Solutions America, Inc.
5600 Broken Sound Blvd., Boca Raton, FL 33487
www.csa.canon.com
wscott@xxxxxxxxxxxxx
T 561.997.3256
From: Roger Harman <roger.harman@xxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 05/26/2016 02:45 PM
Subject: AFP Overlay in landscape - margin issue
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
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
As an Amazon Associate we earn from qualifying purchases.
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.