ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Fonts: Use Windows Fonts on AS/400 ? (conversion of Excel to PDF using Java API)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fonts: Use Windows Fonts on AS/400 ? (conversion of Excel to PDF using Java API)

    In Java, I'm using a third-party API ("Spire.XLS For Java: https://www.e-iceblue.com/Introduce/...l#.X38Vh2hKg2w) to convert Excel docs into PDFs. It works fine on Windows, but not on the AS/400 (our Production environment), because of missing Fonts ( as indicated by the Exception that's thrown).

    In that third-party API, there's a method on the Workbook Class called setCustomFontFilePaths() that I'm considering trying to use to solve this problem. However, I'd need to know which paths to use.

    Meanwhile, that third-party API is, though free, not open-source; so, I can't glean from the source anything that might help confirm how this feature works.

    This documentation (http://afpcinc.org/wp-content/upload...AFP-System.pdf) seems to indicate which paths to use for Fonts on the AS/400 -- at least generally. So, I'm tentatively planning on trying that.

    I presume there will be licensing-issues involved in installing Windows Fonts on the AS/400.

    In any case, if anybody has any experience relevant to this issue, I'd like to hear from you.
Working...
X