hwISession SetPrintRange

Sets the range of pages to be printed.

Syntax

hwISession_handle SetPrintRangefirst, last

Application

HyperWorks Tcl Modify

Description

This command sets the range of pages to be printed.

Inputs

first
The first page that you want to print.
last
The last page that you want to print, creating a range of pages between the first and last page.

Example

hwi GetSessionHandle sess;
sess SetPrintRange 2 4;

Error

Returns success (0) or an error code.