|
We have a recent post on centering text, but my problem is much more complex. I'm printing text using various typographic fonts, mostly Times New Roman (font 2308 and 2309 for bold), at various pitch sizes from 9 thru 14 in DDS print file type *afpds. I need to center or line wrap that! So centering needs to be based on not only character count, but width, and different between pitch size & upper/lower. Need to output professional looking contracts and letters, which are converted to .pdf for web printing. This is running currently now, but looking ragged at the end of each line in a paragraph. this is like a MS Word function in an RPG program. Other than assigning a value (to accumulate) for each character within each font & pitch size, .like at pitch 10 character 'A' = 1.00 and character 'a' = 0.75.. at pitch 11 'A' = 1.10 and 'a' = 0.85 .... any other ideas? btw-this used to be handled by Officevision to print till the .pdf requirement was added. Using Gumbo software to convert *afpds spool to .pdf. V4R5, no Domino (and no budget). I know of a few MS based products where iSeries could send data to MS Word on server, assume it could convert .pdf, then web serve or print that ((owner won't spend many thousands for a product to connect a pc software & server)). This needs to be totally hands-free, with no tech to watch, up 24x7x365 (like it is now with RPG). Does the new Infoprint Server in 5.1 or 5.2 offer any features for this? any print API's for line wrap? tia jim
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.