[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: PDF output from Progress OpenEdge

Status
Not open for further replies.
J

jamesmc

Guest
You don't mention what platform you want to build your PDF's on so this may or may not be of use, but I switched from using PDFInclude to using PDF4NET ( www.o2sol.com/.../overview.htm) (a .NET assembly) for our PDF production. It is much faster and has many more features (as you would expect from a commercial package). We still use PDFInclude in places but it does show its age a little now. To answer your other question, we load external fonts into PDFInclude, like so... RUN pdf_load_font IN h_pdfinc ("Spdf","Code39", "fonts\code39.ttf", "fonts\code39.afm", ""). RUN pdf_set_font IN h_pdfinc ("Spdf", "Code39", 12.0). RUN pdf_text_color IN h_pdfinc ("Spdf", 0, 0, 0). RUN pdf_text_xy IN h_pdfinc ("Spdf", "1234567890", 185, 43). You do need to generate the afm file from your ttf file for this to work though, instructions on how to do this are int he PDFInclude documentation.

Continue reading...
 
Status
Not open for further replies.
Top