var my_pj:PrintJob = new PrintJob();
if (my_pj.start()) {
if (my_pj.addPage(this)) {
my_pj.send();
}
}
delete my_pj;
Availability: ActionScript 1.0; Flash Player 7
Example
See
PrintJob.addPage()
See also
addPage (PrintJob.addPage method)
start (PrintJob.start method)
public start() : Boolean
Displays the operating system's print dialog boxes and starts spooling. The print dialog boxes
let the user change print settings. When the
the following read-only properties are populated, representing the user's print settings:
Property
PrintJob.paperHeight
PrintJob.paperWidth
PrintJob.pageHeight
PrintJob.pageWidth
PrintJob.orientation
After the user clicks OK in the Print dialog box, the player begins spooling a print job to the
operating system. You should issue any ActionScript commands that affect the printout, and
you can use
PrintJob.addPage()
read-only height, width, and orientation properties this method populates to format the
printout.
and
PrintJob.start()
,
start (PrintJob.start method)
PrintJob.start()
Type
Units
Number
Points
Number
Points
Number
Points
Number
Points
Number
Points
commands to send pages to the spooler. You can use the
.
method returns successfully,
Notes
Overall paper height.
Overall paper width.
Height of actual printable
area on the page; any
user-set margins are
ignored.
Width of actual printable
area on the page; any
user-set margins are
ignored.
"Portrait" or "landscape."
PrintJob
1027
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?