>Tracy,
>In that case, what about replacing the prntcodes.dbf with another one that contains the HTML tags instead of the PCL codes. All your legacy programs would now generate HTML code and you only had to make sure the output goes into a file and print the generated file with something like shellExecute().
>
>You wouldn't have to touch any of your legacy programs.
>
HTML is a nightmare for this - the page rendering is all relative and resolved at print time, and will vary according to the perceived resolution and page definition of the printer - there's no such thing as page sizing, tray selection, ad nauseum. PostScript or Adobe PDF is far more universal and consistent.