hwISession Print
Prints the current session.
Syntax
hwISession_handle Print orientation, type, destination
Application
HyperWorks Tcl Query
Inputs
- orientation
- The orientation of the printout. Options include "landscape" or "portrait".
- type
- The type of the printout. Options include "file" or "printer"
- destination
- The destination of the printout.
Example
hwi GetSessionHandle mySessionName
mySessionName Print landscape printer LJ1
Error
Success (0) or an error code.
3 = HW_InvalidHandle - The handle used to invoke the method is no longer valid.