MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2012

Re: how to handle smaller font pitch



fixed

Joel,

Depending upon the printers and definitions in use, the system may be substituting other fonts for the 432.
That can result in unexpected printing.
I don't think 11 cpi would ever mean 11 cpi for the characters and 10 cpi for the space between text
and data (if I understood you correctly).
This whole section of the Info Center (V6R1) describes the AFP Compatibility fonts.
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/index.jsp?topic=/rzalu/rzalufntsub.htm

btw- in dds, putting the font keyword at the record format should be the font for all printing in the format.
I would suggest trying the courier fonts 75 and 416 (no pointsize)

Jim Franz

----- Original Message ----- From: "Stone, Joel" <Joel.Stone@xxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Monday, October 22, 2012 11:27 AM
Subject: how to handle smaller font pitch


I have an AFPDS external print file described in DDS.

Here is the RLU display:



<...................><........>
Date Order Completed:XXXXXXXXXX
<..................><......>
Time In............:XXXXXXXX
<..................><......>
Time Out...........:XXXXXXXX





The report looks great in 10 CPI as shown below:



Date Order Completed: 10/19/2012
Time In.............: 15:56:00
Time Out............: 16:56:00


But I need to squish stuff smaller. So I changed pitch from 10cpi to 11cpi at the record level: FONT(432 (*POINTSIZE 11)) .

Now there are several spaces between DDS described fields at print time:

Date Order Completed: 10/19/2012
Time In.............: 15:56:00
Time Out............: 16:56:00

/|\
|
|--------------why are there extra spaces here and how can I remove them?



I am thinking when I use the FONT(432 (*POINTSIZE 11)), the font is reduced properly. But the mapping of FIELDS is still using 10 cpi to place the NEXT field, resulting in too much space between fields.

Is there a DDS keyword to use 11 CPI for field placement (as opposed to font size)?

I can CRTPRTF with

CRTPRTF FILE(X) DEVTYPE(*AFPDS) FONT(432 11)

And then fields DO map out using 11 cpi.

Is there a way to do this with DDS keywords - instead of CRTPRTF options? (So no one has to remember to key in FONT sizes when creating print file).

Thanks





______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs Skyscan service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
--
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.







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact