On this Page

    -spoolerDocName

    (Windows only)

    Supplies a custom document name to the spooler.

    Syntax

    -spoolerDocName name

    Description

    By default, Merge will provide the spooler with a document name of "Merge prt Document". Using this option you can supply a custom name such as "Invoice 2018-001".

    Applies only to the output specified with “prt::“ prefix. While you can specify this on the command line or in a .prt (output configuration) file, it is more likely that you would use the _printer.setOption() function to set the name dynamically. For example:

    _printer.setOption("spoolerDocName", "Invoice "+InvoiceNumber._value);

    It references field names in square brackets causing dynamic text substitution to happen. Also, it can reference a whole pile of "%x" type date/time elements too. See File Naming Conventions.

    See Also

    -spoolerJobOwner
    _printer
    -{prt}option