accessing the CS_CvtAPI through an RPGLE program

5 pts.
Tags:
AS/400 v5r4
AS400 RPGLE
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?

Software/Hardware used:
v5r4

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    CoolSpools questions might not get much useful response here, but referencing the name might catch someone's eye. It's almost certain that you need to contact the vendor for this. It's doubtful that there is much general experience with that product's APIs. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following