Search code examples
filems-wordprinter-control-language

How to Create PCL file from MS word


How to create new PCL file similar to existing MS doc. I have MS doc template and replacing it with actual data. I need to achieve same for PCL format (Create PCL file as template and replacing it with actual value from database and send it to fax).


Solution

    1. install a new printer
    2. when asked for a port, create a new port of type "Local Port"
    3. as name of the port, enter some file name, e.g. c:\temp\print.pcl
    4. select some PCL-compatible printer, e.g. HP LaserJet 4, or whatever your fax is comptaible with

    When you print to this printer, Windows will write the output to that file.

    Many programs allow you to redirect printing to a file; in this case, you'd be able to select a different file name for each print job.