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



Alan,
I'm glad that my off the mark suggestion was able to help you get to where
you needed to go. I think a handshake will do just fine, haha.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



Alan Shore <AlanShore@xxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
09/25/2009 02:42 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc

Subject
Re: problem printing report with overlay to legal landscape






BRYCE
if you were in front of me, I would kiss you FULL on the mouth.
Your suggestion did NOT work, but I changed my google search to FONT(*CPI)
+ AS400 and came up with results that were different than I had previously
obtained
The change I made was

PGM PARM(&PBNUMX)
DCL VAR(&PBNUMX) TYPE(*CHAR) LEN(7)
DCL VAR(&PBNUM) TYPE(*DEC) LEN(7 0)
CHGVAR VAR(&PBNUM) VALUE(&PBNUMX)
OVRPRTF FILE(PICKLGL) DEVTYPE(*AFPDS) PAGESIZE(8.5 +
14 *UOM) LPI(12) CPI(20) DRAWER(1) +
FONT(222) FRONTOVL(AXSLIB/PICKLGL4) +
OUTQ(WPPGMR6) COPIES(1) SAVE(*YES) +
SECURE(*YES)
CALL PGM(AXSLIB/ORD220LGL) PARM(&PBNUM)
ENDPGM

Changing the PAGESIZE to define it in units of measure instead of rows and
columns seemed to do the trick
I now have ALL of the data being printed the FULL width of the page
Now I have to play with the LPI and CPI to make it fit



Alan Shore
Programmer/Analyst, Distribution
E:AShore@xxxxxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill
midrange-l-bounces@xxxxxxxxxxxx wrote on 09/25/2009 11:27:44 AM:

Sorry, should have looked at the command before I replied...

Try replacing FONT(*CPI) with an actual value instead. I'm not an
expert

on this since I only create a printer file a couple times a year, but I
think I had played with this value and the page size to get it working
properly. My printer file was a (81 127) with FONT(222). I also had
LPI(7.5) and CPI(18). I don't exactly know all the ins and outs of
how

these values correlate to each other and this was months ago, so take it
with a grain of salt...


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777
--- This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and may
contain information that is non-public, proprietary, privileged,
confidential, and exempt from disclosure under applicable law. If
you are not the intended recipient, you are hereby notified that any
use, dissemination, distribution, or copying of this communication
is strictly prohibited. If you have received this communication in
error, please notify us and destroy this message immediately. ---
--
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.


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.