Welcome to the Metaformix free download page. Tools will be added as we have the time to make them available.
None of these free downloads implies a warranty or support of any kind.
TXT2PDF is a command-line tool for encoding ASCII as PDF. See the "ReadMe" file included with the zip for options and usage.
Example of calling TXT2PDF:
txt2pdf -i"C:\temp\my ASCII file.txt" -o"C:\temp\pdfout.pdf" -w17 -h11
In this example, txt2pdf reads a file ("my ASCII file.txt") and writes it to a pdf ("pdfout.pdf"). The "-w" switch defines the page width as 17 inches; the "-h" switch defines the page height as 11 inches. Note that there are no spaces bewteen the flags and the associated parameters. See the ReadMe file for details.
Click here to download txt2pdf
TAGSTRIP is a command-line tool for removing XML/HTML tags from files. See the "ReadMe" file included with the zip for options and usage.
Example of calling TAGSTRIP:
tagstrip < myfile.html > mystripped.txt
Click here to download tagstrip
DataBlast is a command-line tool for providing data obfuscation in XML files. This leaves structure intact, but replaces all data with "x". This is useful for testing document structures where data is confidential and cannot be transmitted.
Example of calling DATABLAST:
datablast < myfile.xml > blasted.xml
Command-line switches are available to echo tag name, attributes and/or instance in the obfuscated output.
Refer to the "README" file included in the zip for available switches and usage notes.
Click here to download DataBlast
See the PDFLetterPrint product information page for details.
You can download a 30-day free evaluation copy of PDFLetterPrint here.
XCP (Cross Copy) - Beta
Cross Copy is a Windows service that permits polling of a remote folder, and automatic moving of files from the remote location to a destination elsewhere on the network. This is useful for automatically moving files from, for example, a Linux machine running Samba.
Cross Copy is designed for use with XMLComposer, but does not depend on it. That is, it can be used for any tool that requires automatically moving files from one location on the network to another.
Place XCP somewhere on your system (e.g., in a folder named C:\XCP). Run a command prompt and enter:
This installs the Cross Copy service.
Do not run the service until XCP has been configured
The XCP configuration file (xcp.cfg) follows the same syntax as XMLComposer configuration files.
The XCP configuration file can take the following options:
NOTE: The Cross Copy service must run as a user that has full permissions on the remote folder. For example, when copying from a directory exposed by Samba, set the Linux folder permissions to 777.
The XCP configuration file can specify folders for the "Dirs" option(s) using UNC or mapped drive syntax. If using mapped drives, the user assigned to run the XCP service must map the drive with a persistent connection, or run a "net use" script to map the drive when the machine starts.
The "Dirs" option in the configuration file uses the pipe character ("|") to separate the remote source path from the destination path.
NOTE: Do not use quotation marks to enclose path names, even if folders contain spaces. XCP quotes the paths internally.
Sample Configuration File (xcp.cfg)
WaitTime=5 LogFile=c:\temp\xcp.log ;Any line starting with a semi-colon is a comment line Dirs=\\remotelinux\home\samba|c:\target
Starting the Service
You can start the Cross Copy service via the Windows services manager, or via a Windows command prompt by typing:
net start xcp
net start "Cross Copy"
To uninstall XCP, first stop the Cross Copy service.
From a command prompt, enter:
in the folder where XCP.exe is located. This uninstalls the service from the Windows service manager.
Delete XCP.exe and the xcp.cfg file.
XCP does not perform recursive copying. Sub-folders in the source directory are ignored.
You can download XCP.exe here.
This script can be used with TopLeaf to send an XML document to TopLeaf. The TopLeaf partition is created. XML sent to TopLeaf must comply with the structure expected by the publication in TopLeaf where the partition is being created.
In the script, locate the following and change the variables to suite your environemnt:
'set the repository path - change the repository path as required topleaf.Repository = "C:\TopLeaf" 'set the publication folder name PubName = "Demonstrations/DocBook/Introduction" 'get the source folder for the documents - change the folder location as required Set fol = fso.GetFolder("C:\myDocs\source")
You can download the zipped script here.
This script can be used with TopLeaf to build PDFs that combine partitions from any publication within TopLeaf, in any order.
You must set two variables within the script: sInputDir and sOutputDir. These define the folder where the list of files to be assembled is stored (sInputDir) and the location where the output PDF is generated (sOutputDir).
To use the script, you must create a text file that contains a list of TopLeaf partition paths relative to the TopLeaf repository. You cannot assemble partitions across repositories using this script.
For example, using TopLeaf's tutorial demonstration documents, the file list would contain:
Demonstrations/DocBook/Introduction/Tutorial Demonstrations/DocBook/Introduction/Tutorial0 Demonstrations/DocBook/Introduction/Tutorial1
Once the file list is created, and the input and output folders configured, run the script from a Windows command prompt:
cscript BuildModules.vbs list.txt mybook
The script will look for "list.txt" in sInputDir. The generated pdf will be named mybook.pdf, located in sOutputDir
NOTE: If you have not installed TopLeaf to "c:\program files", then you will also need to alter the location defined within the script.
NOTE: This script is supplied without warranty or support of any kind.
You can download the script (zipped with a sample file list) here.