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



I mucked around with it and found that a spool file that 198 characters uses the splCPI = 150 selection. I changed the line following:
from FontDef = '/F1 8 Tf' to FontDef = '/F1 6 Tf'

It did not appear to affect any of the splf's I tested.

Bryan

Don Cavaiani said the following on 6/7/2007 9:51 AM:
I found this below but I don't know what to add/change. If I do make a
change for a 198 width, will that affect the normal 132 width prints?

SELECT When splCPI = 50 Eval FontDef = '/F1 20 Tf' When splCPI = 120 Eval FontDef = '/F1 9 Tf' When splCPI = 150 Eval FontDef = '/F1 8 Tf' When splCPI = 167 Eval FontDef = '/F1 6 Tf' OTHER Eval FontDef = '/F1 10 Tf' ENDSL
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Troy Foster
Sent: Thursday, June 07, 2007 8:16 AM
To: Midrange Systems Technical Discussion
Subject: Re: Portal for viewing System i5 reports

from archives.
- 07:44pm APR 09, 2007 pst (9.1) [ Reply ] [ Bookmark ]

Re: Limited Amount of Space???

Hi Shane

Only just read your post, but in case you're still trying to get the
PDFs to work with 198 characters or for any lurkers, there is a
solution.

If you edit the RPGLE source member "WRKCGISPLF", you need to find the
"PDFNewPage" sub-procedure. Within this procedure there is a select
clause that sets the text size according the CPI attribute from the
spool file.

The conditions in the select clause use CPI settings measured in tenths
of inches, so a CPI of 15 is held as 150, etc.

Hope it helps

Jonathan www.astradyne-uk.com

Simon Coulter wrote:
On 07/06/2007, at 10:56 PM, Don Cavaiani wrote:

I have had the WRKCGISPLF program working for some time now and it is

being used regularly!

Today, I ran across a hiccup. We have a System i5 query which is
198 characters wide. When this report is accessed with the WRKCGISPLF, it is cut off on the right side - in the PDF format. The HTML format shows the entire width of the report.

Not sure what is going on?
Most likely cause is that the paper size (or page size i.e. media bounding box) specified in the PDF is not wide enough to show all the data. Other possible cause is that the font has not been scaled to fit

the paper size.

If you open the PDF file in text editor you should be able to see whether all the data is present. I'm fairly sure WRKCGISPLF does not compress the data stream so it should be legible in plain text. If each line of data is complete in the PDF then the problem is caused by

incorrect paper size of incorrect font size. If the data is truncated then the problem is in the processing of the spooled file data.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 3 9899 0985 Mobile: +61 0411 091 400 /"\
Fax: +61 3 9899 0985 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------



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