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

  • Thread starter Thread starter avtar.jain
  • Start date Start date
Status
Not open for further replies.
A

avtar.jain

Guest
Hi, If you are on a windows machine then there is quite an easy way to directly generate PDF from within openedge. Here is simple 4GL for your persual - DEF VAR wordappl as com-handle. DEF VAR Word-Func-OK AS LOG. CREATE "Word.Application" wordAppl. do on error undo, LEAVE: Word-Func-OK = wordappl:Documents:OPEN("c:\temp\testfile.docx"). Wordappl:ActiveDocument:SaveAS("c:\temp\testfile.pdf",17). wordappl:QUIT(FALSE). RELEASE OBJECT wordAppl. end. c:\temp\testfile.docx is a pre-formed template created using MS WORD. If you know about handling MergeMarks wihtin MSWORD using 4GL then this will give you added advantage to dynamically modify content within template before converting it to PDF.

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