News

GxDocConverter: external object for converting documents

Zetasoftware presents a useful add-on for when it comes to making reports.

GxDocConverter is an external object that makes it possible to convert Office documents to PDF with the ability to silently print them (with no intervention from the user or previous interfaces). Thus, it enables printing in the client PC any Office file generated by the application in the Web server. One command converts the Office file (XLS, DOC, PPT) into a PDF and another command sends it to print in the client PC without the user specifying the printer and with no preview.

For Zetasoftware, GxDocConverter simplifies the task of printing reports. In the past, it was necessary to design a GeneXus report for every ZetaLibra user who wanted to print his/her invoices, receipts, and so on with the company's letterhead. Now, the design is done in Excel or OpenOffice and ZetaLibra completes these files and sends them to print with only two commands.

How does it work?

The end user designs an XLT file (template) using Excel or OpenOffice, and creates his invoice in Page1. The data to display on Page1 (which will be called Design Page) is taken from the other pages (which will be called Data Pages). Data Pages are completed by ZetaLibra with the information on the invoice being printed. This information is always placed on the same cells. That is to say, Page1 contains the design created by the user and the other pages have the source of all the possible data to be printed. The user adds to Page1 only the data to be printed, with the necessary location and format.

Once the XLT file is created (sample template), every time an invoice is issued, ZetaLibra generates an XLS file from the XLT template, completes it with the data provided (all this happens on the web server), and converts it into a PDF which is printed in the client PC by its default printer. All this is done with two commands in only 3 seconds: one converts the XLS into a PDF and the other prints it (uploads it from the server to the web client and outputs it through the printer).

Why is it useful for the Community?

It’s useful for making reports. By separating design from printing, any end user can create his document for print in OpenOffice or Excel so that the application loads the data and converts the file into a printable PDF without any other intervention.


With what versions of GeneXus can it be used?

GxDocConverter can be used with GeneXus 9.0 and GeneXus X for the Java generator in Web applications.


*********************
Related pages:
http://www.tacuati.com/genexus-controls/gxdocconverter.php
www.zetasoftware.com.uy