Consultor Eletrônico



Kbase P96998: How to produce PDF documents from 4GL?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/05/2008
Status: Verified

GOAL:

How to produce PDF documents from 4GL?

GOAL:

How to generate documents in Adobe ® PDF file format from 4GL?

GOAL:

A standard rich printing solution with Progress 4GL

GOAL:

What is PDFinclude?

GOAL:

What is Pdf995?

FACT(s) (Environment):

Windows
Progress 9.x
OpenEdge 10.x

FIX:


Since there currently is no functionality to print graphics directly from within the 4GL, one has to make use of 3rd party products to accomplish this task.

PDFinclude is a popular open-source Progress library of functions and procedures that allow Progress developers to output in Adobe ® PDF file format. It can be obtain for free at the following URL: http://www.epro-sys.com/pdfinclude.htm

Pdf995 is a product that makes it easy and affordable to create professional-quality documents in the popular PDF file format. It can be obtain for free at the following URL:
https://sourceforge.net/projects/pdf-inc

Note that PDFinclude and Pdf995 are not designed nor maintained by Progress Software, therefore the Progress Tech Support shall not be contacted about them.
Here is an extract of the overview given at epro-sys.com:
PDFinclude is being used around the world by companies of many sizes. It has been distributed with, and included in, a variety of applications for multiple different uses. From stand-alone procedures that produce invoices to application-wide integration for converting all text reports to the PDF format.
Some features of PDFinclude are:
* Ability to use graphic elements (such as rectangles, circles, arcs, lines)
* Allow for multi-colour output
* Embed True Type Fonts (such as Barcode fonts)
* Include JPEG images into the PDF output
* Encryption of the PDF document (currently only 40-bit encryption)
* Compression (using the appropriate libraries from Zlib
* Platform independant code (runs on all Windows versions and should run on all Progress-supported *NIX platforms).

Here is an extract of the overview given at pdf995.com:
Pdf995 has an easy-to-use interface that helps one to create PDF files by simply selecting the "print" command from any application, creating documents which can be viewed on any computer with a PDF viewer. It supports network file saving, fast user switching on XP, Citrix/Terminal Server, custom page sizes and large format printing. Pdf995 is a printer driver that works with any Postscript to PDF converter. The pdf995 printer driver and a free Converter are available for easy download.

Some features of Pdf995 are:

* Restricted printing, modification and copying of text and images from PDF files
* Link and bookmark insertion
* Rotation of PDFs
* PDF keyword and title specification and full-screen opening mode options
* Pdf to HTML conversion
* PDF to image conversion
* Support for shared network printing


All this functionality allows for more robust and effective reports than can be developed by the Progress 4GL itself.