On this Page

    -outputRef

    Specify the Windows printer the output would normally go to.

    Syntax

    -outputRef printername

    Description

    (From _printer.setOutputFile) If file:: is used with a WIN-based output configuration, it signifies that Merge is to instruct the Windows printer driver to send its raw output to a file on disk. This works for only some Windows printer drivers but has been known to be of use to capture such things as the raw ZPL destined for a Zebra label printer. When using this option with a WIN output configuration you need to identify that actual Windows printer that the output would normally go to if you weren't choosing to direct it to a file. You do that by using the -outputRef command line option. It identifies an actual printer, whose Windows driver will be asked to send its output to your nominated file:: location instead. Your mileage may vary.

    See Also

    _printer.setOutputFile