I am accessing the CS_CvtAPI through an RPGLE program to convert the spooled file to an RTF. The conversion is putting the following message in my joblog: Courier New 12.00-point substituted for font id 416. Message . . . . : Courier New 12.00-point substituted for font id 416. AS/400 font id 416 was mapped to font name 'Courier New' and point size 12.00. If this does not give satisfactory results, consider modifying your selections for the CVTFONTID parameter. Courier New 12 is causing some weird spacing issues in the documents. I need this to be converted to Courier New 10 so I am trying to use CVTFONTID and option structure CS_CFI01 to accomplish this. Here is the procedure call: CLEAR CS_CFI01 EVAL siCFI01FromId = 416 EVAL siCFI01FrSize = 0 EVAL saCFI01ToFont = '*COURIER' EVAL siCFI01ToSize = 10 EVAL wiRtnCode = OptAddItem('CS_CFI01' : %size(CS_CFI01): CS_CFI01 ) It's not giving any errors but the documents are still getting the joblog message and being converted to Courier New 12. Am I missing something?
February 15, 2012 8:24 PM
March 19, 2012 2:14 PM