printStage

Syntax:printStage [(grabOffscreen)]

Returns: TRUE, if printing was successful, FALSE if printing was canceled.

This function prints the contents of the Stage (or Authorware presentation window) with one command. This routine uses a “best fit” method to position the stage contents on the printed page. If the stage is wider than it is tall, the paper orientation is automatically switched to landscape mode. If the stage is exceptionally large, it is proportionally scaled to fit on the page within one-inch margins. The output is always centered on the page.

The grabOffscreen parameter affects whether the image on the stage is grabbed from the screen, or Director’s offscreen buffer. The default is to grab from the offscreen buffer, which will not capture “trails”, overlapping movies-in-a-window, the mouse cursor, or other windows. If grabOffscreen is false, the Xtra will take a “screen shot” of the stage, including all “trails”, and any other elements that may overlap the stage.

This command is not available in projectors until you register your copy of PrintOMatic Lite.

Examples:

printStage        -– prints from offscreen buffer



printStage(FALSE) -- prints a screen shot