Print method (WinStudio scripts)

Applies to

Document (file) operations

Description

This string is used to print an existing IDM document or any file content using IDM Enterprise Printer.

Syntax

To print existing IDM document:

bool Print( string serverName, string logicalFolderName, string printSpec, out string errorMessage );

To print any file content using IDM Enterprise Printer:

bool Print( string serverName, string logicalFolderName, byte[] fileContent, string printSpec, out string errorMessage );

where:

  • serverName is the name of the IDM file server.
  • logicalFolderName is the name of the logical folder on the IDM file server.
  • fileContent are the contents of the file to print.
  • printSpec is the name of the file to print.
  • errorMessage is the error message to be returned if the system fail to print the file.