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?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!