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).
New!
Main features
• 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
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
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.
Also see:
License (Eclipse Public License)
Project page for issue tracking
Forum
Post a new Forum Topic
Last updated
jice 20th of june 2016
Meet us on Google+
Hi,
Is there any way to rotate 90° of existing pdf file using PdfInclude?...
Regards,
Mucip:)
Hello,
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.
why?
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"
Then...
/* 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.
We are using PdfInclude to create pdfs (ofcourse) in our application.
After upgrading to OE 10.2b 64-bit we are having problems using the supplied dll-s for encryption and compression.
I was able to find a 64-bit version of zlib1.p on the internet som now compression works.
The procryptlib.dll however, I can't seem to find.
Would it not be a good idea to supply both 32-bit and 64-bit of the dlls in the PDF Include Zip-file?
Or could someone please supply me with a 64-bit compiled vesion of the procryptlib.dll?
Regards
Niclas
In our database we have some text containing the eurosign (€), a tabledump shows this character as hex A4 coded as cpstream=ISO8859-15.
The program is executed on a windows client with session parameters:
-cpterm iso8859-15
-cpstream iso8859-15
-cpinternal iso8859-15
-cpprint iso8859-15
We are using the most recent pdf_include.
Still the eurosign is shown as ¤ (which is iso8859-1 if i'm correct).
A test with a small testprogram with the eurosign hardcoded run from the editor shows the eurosign the right way.
Hi all,
Is there a possibility to rotate a barcode ?
Thanks,
I have a Invoice PF template that I use for generating digital invoices to be e-mailed to our clients.
I have an performance issue, because of the loading of the pdf template.
For every invoice I want to generate, the PDF template is loaded. After issuing a pdf_close, the temp tables containing the template information are cleared and I have to reload the template file.
Is it possible to issue a pdf_close, so the pdf-invoice is written to disk and then continue with the next invoice by using pdf_new?
But WITHOUT having to load the template file again.
when i use pdfinclude in some big reports i get the following error "Attempt to update B_TT_pdf_content record data exceeding 32000. (12370)
Can someone help me?
Tia
Pablo digonzelli
pdigonzelli@gmail.com
I have followed the instructions in the documentation and get the following error
Value 4294967292 too large to fit in INTEGER datatype (13682)
I am running Openedge 10.2B on a 32 bit Windows 7 platform.
Am I missing something?
Hi,
I use PDFinclude. It's really perfect job, thanks...
I've got one problem. I've many different pdf files in one directory. Pdf files may contain single or more than one pages. Or It may be landscape or portrait format...
Is it possible to merge all this non uniform documents in to one big pdf document?...
Regards,
Mucip:)
I am looking into using PDFInclude. I am just trying to run an example from the documentation - "Text.p" - Text Positioning example and I get the above message. I then get c:\temp\GqBoldcaVcjmlYKz-Content-1.txt already has a conflicting use. (99).
Can anyone help me please? I am sure I have the latest version.
Hi,
I'm using PdfInclude in my "w" file (window). I have "MyPageHeader" procedure that put my messages on each page. But when I call MyPageHeader procedure in my button triger error messages comes "no TT_pdf_stream record is available"
MyPageHeader Procedure is:
PROCEDURE MyPageHeader:
RUN pdf_text_at ("Spdf", "ŞİRKET KODU:",20).
RUN pdf_text_at ("Spdf", "DENEME",33).
RUN pdf_text_at ("Spdf", "YEVMİYE DEFTERİ",50).
END.
I want to call this procedure when I add new page in the pef file...
How can I add something in the pdf file within sub procedure?...
Regards,
Hello
I am having an issue trying to print a file that was created with PDFInclude. I am getting error 5893 "The automation server for AcroExch.App is not registered properly". This worked until we upgraded Adobe to "xi".
The error is occurring in the CREATE "AcroExch.App" statement. I am using OpenEdge version 10 - character mode.
The print program is attached to this issue.
I would appreciate any help anyone can provide me.
Jim
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 |
readme.pdf for pdfInclude v5.1 | 1.63 MB |