ACTIVEX PDF y fusión de datos usando PDFTK.EXE

ACTIVEX PDF y fusión de datos usando PDFTK.EXE

Postby karinha » Mon Aug 15, 2011 3:14 pm

ACTIVEX PDF y fusión de datos usando PDFTK.EXE

Buenos días,

¿Cómo puedo transformar mis archivos XML a PDF utilizando PDFTK.exe?

Yo tengo varios archivos XML y no se puede convertir a PDF.

gracias

Link del assunto:

viewtopic.php?f=6&t=4897&start=30#p111614

Saludos
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7214
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: ACTIVEX PDF y fusión de datos usando PDFTK.EXE

Postby Bayron » Fri Aug 19, 2011 1:29 am

Karinha,

From http://www.pdf995.com/faq_dev.html read the following:
What is the easiest way to convert XML to formatted PDF?
OmniFormat will convert XML to PDF using a DOC file as a layout template. It may be run from the command line. It is free and may be downloaded from http://www.omniformat.com .

I have not tested it but it may be what you need....

XML Conversion
OmniFormat may be used to dynamically convert XML data to any output format supported by OmniFormat including PDF. A Microsoft Word file is used as a template to supply layout information. OmniFormat replaces fields in the Word template with values specified in the XML file. Next it converts the document to the final format.

Sample (acme.xml):

<ORDER
OutputFile="c:\invoices\acme corporation.pdf"
WordTemplate="c:\templates\invoice template.doc"
CompanyName="Acme Corporation Inc."
Address1="345 Garden Avenue"
Address2="San Gorge, CA 94301"
Item1="Widgets"
Quantity1="2"
Price1="500"
Item2=""
Quantity2=""
Price2=""
Total="500"
/>

OmniFormat will process acme.xml by
1. Substitution of the name-value pairs into "c:\templates\invoice template.doc" followed by
2. Conversion to c:\invoices\acme corporation.pdf. The template file is not modified by the process. "OutputFile" and "WordTemplate" are reserved names.

Note: PdfEdit995 may be used to batch convert Microsoft Office documents to PDF.

=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: ACTIVEX PDF y fusión de datos usando PDFTK.EXE

Postby karinha » Fri Aug 19, 2011 1:01 pm

Thanks Bayron, I'll try. hugs
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7214
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 85 guests