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).
Open Source does not always mean free as in free beer. In order to be able to spend more time on PDFInclude, I need some sponsors. Also, if you wish to see a new or improved functionality, you can offer me a bounty. Lastly if this software is of some use for you and your company, then I'd like to hear from it, and you could consider to donate (via Paypal in USD or Euros). Thanks in advance!
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).
• supports international characters (East Europe, Cyrillic, Turkish) for variable width base fonts only (Times and Helvetica). To be published in next version - see SVN version meanwhile. For courier (or if you wish to embed fonts in the pdf file), you can use a font specially defined for the code page as described there.
• 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 images (GIF & PNG support in development)
• supports annotations (links, notes, stamps, mark-ups)
• supports rotating text at any angle, skewing and scaling it
• 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 OpenOffice.org generated forms
• supports filling Adobe forms - Adobe version max = 5 ; see previous point...
• tools to create tables, calendars, matrices
• no external libraries are required except for compression and encryption
• comes with a lot of code examples
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.
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 and/or modify 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.
License (Eclipse Public License)
Project page for issue tracking
Post a new Forum Topic
jice 20th of june 2016
Meet us on Google+
I have one query on PDF417, currently we have in our organization a software which his using PDF417 font. But now we are planning to print the PDF using PROGRESS (version Open Edge 11) with PDF Include library and use the same “PDF417” font for Barcode printing.
We are trying to get this font but not able to get the all the files, Can anyone guide us how to implement this font?
Thanks in advance !
I've been using PDFinclude with great success, producing simple text reports in pdf format. Now I'm being asked to do it with templates and form fields.
I have a very basic pdf template, just a single sheet for identifying pallets (company name, address, order-#). I designed the form in OpenOffice, added form fields and exported as pdf.
I'm running PDFinclude under RHEL, and I used the code example shown in the PDFinclude PRO docs as a starting point. If I export it without form fields, the resulting pdf is right, everything is there from the original pdf.
1) I have a pdf file generated from an external source. I wanted to handle this pdf through PDFInclude. Can it be possible?
2) I also wanted to change the settings for that pdf file like its height width etc. can it be possible?
3) Can printing of this PDF be handled by PDFInclude?
Hello, I wonder if you can use pdfinclude in AIX environment?
What are the requirements for this?
You have to change some pdfinclude line of code?
I want to create encrypted (password protected) pdf files. Can this be done currently using PDFInclude on Linux and/or AIX?
We are using OpenEdge 11.2 (64 bit) on Red Hat Linux (also 64 bit), as well as Progress 9.1E (32 bit) on AIX (64 bit).
We have been creating pdf files successfully for years - but without passwords - using an old 2004 version of PDFInclude on both versions of Progress.
I have encrypted a document and when I open using Adobe PDF reader, it prompts for the password which is fine. If I however open the same document using PDF Complete, it doesn't prompt for the password, the document just opens. This is happening with most of my users whose I-Pads use PDF Complete as a default PDF reader. Please help!!
I just wanted to use Barcode. I checked manual and seen the code39.ttf and downloaded it from http://www.fonts2u.com/bar-code-39.font. I installed it on my win7 computer.
But I don't know what should I do after now.
My code is:
RUN pdf_set_font ("Spdf","Code39",10.0).
RUN pdf_text_xy ("Spdf","123123123",200,300).
But it's getting "corrupted pdf" error. Where should I save this ttf file? How can I use barcodes on my pdf file?
I have template pdf file which is created in LibreOffice Calc. I use below code but jpg logo disappeared on new pdf file...
RUN pdf_new ("Spdf","c:\temp\90Derece.pdf").
I use existing pdf file as template while creating my pdf files. But if the template pdf has jpg/png pictures then I can not see the pictures in secondary pdf file. Is this normal?
Is there any way to rotate 90° of existing pdf file using PdfInclude?...
I recently changed version of the open edge going from 32 to 64bit.
my software produces many PDF documents.
with 32bit PDF-inc produced 20 files per minute .... with 64bit production has risen to 2 files per minute.
I have two different users running the same PDFInclude app both on Win7 and Progress 9.1C. One works fine the other gets to a point that I cannot tell how far and the Progress app dies very ungracefully (just stops responding) and when you try to open the PDF file Adobe just says, "There was an error opening this document. The file was damaged and could not be repaired." I have attached both example PDF files to this issue. The "bad" PDF files always ends up being 15.79 KB in size. I can open them both using notepad.
I need to have more control over reports and it was suggested that I download and use PDFInclude.
I've downloaded it and carefully followed the steps in the setup documentation.
However, when I try to run some of the sample/example programs I get a variety of error messages; some indicating mismatched parameters.
The first error is for 2 calls that are missing "RUN"
/* custlist.p - sample PDF generation */
*Mismatched number of parameters passed to routine pdf_load_font pdf_inc.p (3234)
When I fix that error by adding "" in the call, i get another error.
|PDFinclude.ppt presentation from the Michigan PUG||958 KB|
|PDFincludeV7-1.0.zip for v7||21.69 KB|
|PDFinclude3.3.3.zip for v9+||3.06 MB|
|readme.pdf for pdfInclude v5.1||1.63 MB|