MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » April 2014

Re: Betr.: Re: Problems converting spoolfile to PDF with Infoprint Server



fixed

Hello all,

I have been able to solve this problem. On my spoolfile I had to set the *DRAWER parameter to *FORMDF and the *FORMDF parameter to "F1C10110". This sets the layout of the form to have a top and left margin of 0.165 inches. Then, I had to configure the LPI and CPI parameters depending on the number of characters and lines per page, using the following formula:

CPI: characters per line / (page width in inches - left margin)
LPI: lines per page / (page height in inches - top margin)

So, using the above form definition (which results in a landscape PDF 11.68 inches wide and 8.26 inches high) and printing a report that has 183 characters per line and 66 lines per page (as defined in the PAGESIZE parameter), I had to use:

CPI: 183 / (11.68 - 0.165) = 15.89 --> 16.7
LPI: 66 / (8.26 - 0.165) = 8.15 --> 9

Using these values along with the above *DRAWER and *FORMDF parameters resulted in a pdf file that fits on the page AND has a left margin.

Thanks to all that have helped me with this problem!

Regards,
Erwin



De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt u op:

http://www.denhaag.nl/disclaimer





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