PrintJob.start()

Availability

Flash Player 7.

Usage

my_pj.start();

Parameters

None.

Returns

true if the user hits OK, and false if the user hit cancel or if an error occurred in the processing of this function

Description

Method; prompts the Flash Player to display the OS print dialog(s), which give the user an opportunity to change print settings. You can read the values set by the user to determine how to format the printout. After the user okays the print dialog, the player begins spooling a print job to the OS

This method populates the following properties (note that points map directly to screen pixels):

Property Units Notes
PrintJob.paperHeight points Overall paper height.
PrintJob.paperWidth points Overall paper width.
PrintJob.pageHeight points Height of actual printable area on the page. Does not include any user-set margins.
PrintJob.pageWidth points Width of actual printable area on the page. Does not include any user-set margins.
PrintJob.orientation n/a portrait" or "landscape".

Example

See also