PDFinclude is an open source Progress utility for dynamically generating reports in Adobe PDF file format without having to use third-party tools or utilities.
PDFInclude is a Free Libre Open Source Software (FLOSS), distributed under the Eclipse Public License.
PDFinclude is a stand-alone component that defines a toolset of Progress functions and procedures that aid in the output of a PDF file directly from 4GL/ABL, without having to generate a separate text file first (as in text2pdf.p).
Welcome in the PDF Include group. When you are using PDF Include, you are encouraged to subscribe to this group where you find the on-line tools to collaborate and discuss PDF Include. There is a discussion forum, you can submit issues (for bugs and enhancement requests), you can add new pages and other content, and best of all: there is an e-mail list. So subscribe, and then don't forget to go to your subscription details to enable the e-mail notification!
The PDF file format is an industry-standard for electronic document viewing. The PDF format allows for documents that can be accessed by a broad range of hardware and software devices (including PDAs and Internet browsers).
PDFinclude utilizes Progress code that is compliant with versions 8 and 9 of the Progress 4GL and the same source code can be used on multiple OS platforms - including Windows, AIX, Unixware, Solaris etc. - while running in different application environments (eg: GUI, CHUI, web-enabled and n-tier).
New!
Main features
• supports international characters (East Europe, Cyrillic) for variable width base fonts only (Times and Helvetica). To be published in next version - see SVN version meanwhile
• supports custom True Type fonts (including Bar Coding fonts), and all 14 pdf base fonts
• supports remapping of characters
• supports ISO page formats A0,A1,A2,A3,A4,A5,A6,B5,LETTER,LEGAL,LEDGER
• supports portrait or landscape, and custom page formats, custom margins…
• supports document encryption (requires procrypt.dll)
• supports compression (requires zlib1.dll)
• includes graphic (geometric) procedures: lines, circles, eclipses, Bézier curves
• includes procedures to set Bookmarks show a Table of Content
• includes procedures for automatic page header and footer management
• include procedure to add watermarks
• supports text rotation
• supports html-ish tagged text for bold , italic and colour
• supports underline
• supports automatic pg line break and text justification
• supports JPEG, GIF and PNG images
• supports annotations (links, notes, stamps, mark-ups)
• supports loading an Adobe Distiller or OpenOffice PDF generated file to be used as a template (with limitations) – the file might contain images or embedded fonts To be published in next version - see SVN version for images and font support
• supports filling Adobe forms
• tools to create tables, calendars, matrices
• no external libraries are required except for compression and encryption
• comes with a lot of code examples
Downloads
See "attachments" at the bottom of this page for the downloads, including a download of a PowerPoint presentation from the Michigan PUG.
The big .zip download includes a Word document, which is the PDF Include documentation. I've also attached a PDF of that. Thanks Peter Frederick for sending the PDF!
You can always download the last development version from the SVN repository.
Contributions
Pro-Sys Consultants are the original authors of PDF Include.
You are welcome to submit patches through the mailing list. After review and discussion, they will be included in next release.
If you have to add functionality to PDFInclude for your own project, you are encouraged to submit the source code (although it is not required by the license) so that we can all improve the software and bring it to next level.
Also see:
License (Eclipse Public License)
Project page for issue tracking
Forum
Post a new Forum Topic
Last updated
jice 2nd of march 2010
Hi everybody!
I've just released some code in the SVN repository.
See the PdfInclude page for more info on the bug fixes and new features.
However I'm not taking over as a full time maintainer, I just do that in my free time, so please don't except too much ;-)
PDFInclude has a new version!
I've just released some code in the SVN repository.
See the PdfInclude page for more info on the bug fixes and new features.
However I'm not taking over as a full time maintainer, I just do that in my free time, so please don't except too much ;-)
PDF Include is licensed under the conditions of the Eclipse Public License, version 1.0:
www.eclipse.org/legal/epl-v10.html
Until this time we solved this old problem simply using Foxit Reader and recommended it to our partners.
But unfortunately some partners want send our PDFs to their customers who dont want use Foxit, Adobe is their company standard. Altough I saw this question already here, perhaps someone found solution since it...
I can't generate pdf file in webserver
RUN pdf_new ("Spdf","http://example.com/pdf/Hello.pdf").
RUN pdf_new ("Spdf","c:\temp\pdf\Hello.pdf").
RUN pdf_new ("Spdf","data/programs/pdf/Hello.pdf").
what is the correct form?
need some especial settings or configuration in the server?
in local works fine, but when i put it in webserver doesn't work
any suggestion or examples that I can see with webspeed working
Au secours (HELP)
I have been using PDFinclude to generate forms using PDF form fields with success using Progress 9 and
OpenEdge 10 32 bit.
I recently had to upgrade my version of OpenEdge 10.2A from 32bit to 64bit on AIX 6.1 64bit.
I made sure to extract the libz.so.1 64bit version from the zlib-1.2.3 library.
But now, the decompress function call (function found in the zlib library) returns the error code -5, so it no longer works.
Can anyone help me ?
OpenEdge 10.2A 64bit, AIX 6.1 64bit, PDFInclude 3.3.3, zlib 1.2.3
Hello - I am getting the following error when trying to create a PDF via existing PDF template.
However, I can not get past the "pdf_use_PDF_page" call. I always get the error:
"pdf_use_PDF_Page Invalid Page # for PDF ID = Inv stream=Spdf"
Can anyone help?
Here is my code:
{ pdf_inc.i}
RUN pdf_new ("Spdf","c:\temp\InvoiceDoc-Fill.pdf").
RUN pdf_open_PDF("Spdf","c:\temp\invForm.pdf","Inv"). /* Open Template PDF */
RUN pdf_new_page("Spdf").
RUN pdf_use_PDF_page("Spdf","Inv",1). /* Use Page 1 from Template */ /*XXXXXXXXXX THIS IS WHERE THE ERROR OCCURS XXXX*/
Hi,
Can anybody please let me know how to read PDF file using 4GL.
I'm using tags with pdfInclude to change part of my text. But I noticed that sometime it works incorrect. There is no error when application works a pdf file. But when I open pdf file with Acrobat Reader it shows error 114.
I have a PDF file that i am creating using PDFInclude, the resultant PDF opens fine in Adobe Reader 8, however everytime i try to open it using Foxitreader (latest version) it crashes the program.
The code i have for creating the pdf is as follows:
getQuote does nothing more than stick the session tables back into their respective temp-tables.
RUN getQuote. DEFINE VARIABLE Vold_Y AS INTEGER NO-UNDO. DEFINE VARIABLE vStateBook AS INTEGER NO-UNDO. DEFINE VARIABLE vCustBook AS INTEGER NO-UNDO. DEFINE VARIABLE vNullBook AS INTEGER NO-UNDO.
I have a need to open a stream using PDFInclude in a main procedure, but actually build the document in a subprocedure. Can this be done with the standard PDFInclude files, and if so, what include files do I need to include in the subprogram? Please let me know ASAP folks! Thanks!
Hi All,
I have tried using Professional PDF Convertor to add fiels toan Existing PDF File, so that I can populate these fields from PDFInclude...
Well now I get an error (Progress) Invalid Character in Numeric Input T Before I added the field(s), the File could be include in PDFInclude, without any problems.
What is everyone using to create PDF Files with fields? PDF Convertor allows conversion from .doc files etc.
Thnx
Jonathan
I have received notification from users that files created with PDFInclude in PROGRESS using PDF version 7 could not be opened in Adobe Version 8.
Has anyone else encountered this problem, and how was it resolved?
| Attachment | Size |
|---|---|
| PDFinclude.ppt presentation from the Michigan PUG | 958 KB |
| PDFinfo.zip | 6.13 KB |
| PDFincludeV7-1.0.zip for v7 | 21.69 KB |
| PDFinclude3.3.3.zip for v9+ | 3.06 MB |
| PDFInclude-PRO-Documentation.pdf | 600.13 KB |