CVT2PDF

475 pts.
Tags:
RPG ILE
In the CVT2PDF in RPGLE is there a way to change the font output? It appears to be Courier and I have Customers that say when they print out the PDF I send them via email that it doesn't appear very well.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hello,

You should be able to do a OVRPRTF prior to sending the file.

TPinky

Discuss This Question: 2  Replies

 
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
  • mcl
    Not a clue.. You'll probably need to change something the the "PDFHeader" proceedure in maybe the "fonts object" but this is a wild guess on my part. You could look up the PDF reference info http://www.adobe.com/devnet/pdf/pdf_reference.html Regards Mike
    2,740 pointsBadges:
    report
  • mcl
    OK, I have a clue.. maybe... Down near the end of te program, there is a SELEC structure that determines the font size to use based on the CPI settings in the original spooled file. The CPI setting is retrieved in the calling CL using a call to QUSRSPLA and passed into the RPGLE program as part of a parameter. So, you could monkey around with the code in the SELEC or change the value of "siCPI" and see what happens with the resulting font size. I think you will want to keep the default Courier font as it is a monospaced font and well suited to printing reports that have columns of data. Regards Mike
    2,740 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