Thanks for your e-mail Dan
however, I must disagree.
I have left the font size alone, but changed the LPI and CPI and get
different results



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 03:48:50 PM:

Alan,

You may have problems fiddling with LPI and CPI. When you get a file set
up this way, most times LPI and CPI are used as suggestions for picking
a font and font size, not actual characters per inch and lines per inch
as one would think. Look at your available fonts and pick a fixed pitch
font in the right face (serif, sans-serif) and then start messing with
the font size. If you have outline fonts available, they'll scale to
whatever point size you pick.

Dan Kimmel

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore
Sent: Friday, September 25, 2009 1:43 PM
To: Midrange Systems Technical Discussion
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.

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



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

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].