hwISession GetCurrentPrinter

Finds the current printer.

Syntax

hwISession_handle GetCurrentPrinter

Application

HyperWorks Tcl Query

Description

This command finds the current printer. The current printer is what HyperWorks prints to when called to print.

Example

hwi GetSessionHandle sess;
sess GetCurrentPrinter;

Error

Returns success (the printer) or an error code.

Keywords

HyperWorks

Tcl

Print

Query