PCLTool SDK Text Extraction Methods
Here are some of the ways you can extract text from PCL data streams. This page was developed to help customers test our products during the evaluation period.
- PCLTool.exe / PCLWorks.exe -- Click Extract Text in the Convert dialog to generate a .TNX file. You have the option to invoke TNXDumpG.exe to select various ways to format the extracted text from the .TNX file that was generated. Once you determine the appropriate set of preferences in TNXDumpG.exe, you can cut and paste the command line arguments needed to run TNXDump.exe, or call the Call_TnxDump function from a custom PCLXForm script, or call TNXDmp.dll from your own custom program.
- PCLTool.exe / PCLWorks.exe / PCLView.exe -- Whenever you convert or view PCL files, you can select the Extract Text preference in the Convert Preferences and generate a .TNX file as a byproduct. This preference is stored in the PTC32.INI file used by the PTC32.DLL that is called by any .exe that needs to extract text.
- PCLXForm.exe -- You can override the PTC32.INI file Extract Text preference if you include a SetPref (ExtractPages, true) function in the [JobParams] section of a .TPT script program. This will also cause PTC32.DLL to generate a .TNX file as a byproduct whenever you stream edit, convert or transform a PCL file.
- PCLXForm.exe -- Adapt the .\scripts\tnxdemo\tnxdemo.tpt sample script to your application requirements. This script generates a .TNX file, then uses the Call_TNXDmp function that uses the command line displayed in TNXDumpG.exe.
Need Help Choosing a PCL Text Extraction Solution?
PageTech provides free PCL analysis via our Technical Support Form. Simply submit your PCL files and supporting documentation, and we will analyze and solve your PCL application issues for you free-of-charge!
Product Sites
News & Events
Contact PageTech
| Phone: | (+1) 858 794-6884 |
| E-mail: | info@pagetech.com |
| Support: | Support Form |
