PrinterID

Use this function to return the active printer ID assigned during a Documaker Server processing run. The printer ID is a string of text associated with the current batch output and normally determined via INI option during a batch run. The IDs are associated from the PrinterInfo control group with each batch printer definition.

You can use this ID, for instance, when naming print file. For example, you might want all the files from one printer ID in a separate location or have the names prefixed in a certain manner.

Syntax

PrinterID ( )

There are no parameters for this function.

Note The printer ID is only valid during a batch print operation and calling the function at other times returns the last value assigned or an empty string.

See also