Does anyone know of an "easy" way to convert a Word DOC into a PCL4 or PCL5 Macro? The resulting macro will effectively be a fill-in-the-blanks form. The macro cannot have any PCL Resets in it and I imagine it also should not contain any Printer Job Control (PJL) commands.
The method I am currently using is:
1. Print the DOC file to a special Windows printer that I created which uses the LaserJet 5 driver and which has options to use Raster graphics (instead of HP/GL2 graphics), substitute True Type fonts with Device Fonts, and disable advanced printing features and optimization. Instead of printing to this logical printer (which does not physically exist), I print to a file.
2. Since the resulting file includes PJL code and two PCL Reset commands, I run that print file through a BASIC program which replaces the unwanted code with binary zeros. This program also prepends code that defines the file as a PCL macro, assigns it a unique ID, and does a PUSH to preserve the current cursor location. It also appends code to POP back to the saved location, ends the macro, and makes it permanent.
Apart from the fact that I'm not sure it's proper to have a PCL macro that starts with a lot of binary zeros (i.e., after the prepended code), when I test the macro, nothing I do lets me overlay it. Regardless of whether I execute it, call it, or initiate a form overlay, the fill-in-the-blanks text always ends up on a separate page from the form.
Does anyone know of a better way to do this? I have dozens of DOC files that each need to be converted into a PCL macro.