Parameters

String FileName
This optional parameter contains the name of the Print to Disk-Separate file.

If this parameter is not specified, the file configured for this PrintMode in the connection is used.

Possible values are:
  • NULL (default)

    The file that is currently configured for this PrintMode in the connection is used. If there is no file already configured in the connection, the method fails with an exception.

  • File name, without the path

    The user-class application data directory path will be used to locate the file.

  • Fully qualified path name of the file

    The directory must exist in the path, or the method will fail with an exception. It is not necessary that the file exist in the path.

Note: The file name must not contain an extension. If it contains an extension, the method fails with an exception.