hwISession SetCurrentPrinter

Sets the current printer.

Syntax

hwISession_handle SetCurrentPrinter name

Application

HyperWorks Tcl Modify

Description

This command sets the current printer type.

Inputs

name
The name of the printer that you want to set as the current printer.

Example

hwi GetSessionHandle sess;
sess SetCurrentPrinter PDFCreator;

Error

Returns success (0) or an error code.

Keywords

HyperWorks

Tcl

Print

Modify