pageWidth (PrintJob.pageWidth property)
public pageWidth : Number [read-only]
The width of the actual printable area on the page, in points. Any user-set margins are
ignored. Note that this property is only available after a call to the
method.
Availability: ActionScript 1.0; Flash Player 7
paperHeight (PrintJob.paperHeight property)
public paperHeight : Number [read-only]
The overall paper height, in points. Note that this property is only available after a call to the
method.
PrintJob.start()
Availability: ActionScript 1.0; Flash Player 7
paperWidth (PrintJob.paperWidth property)
public paperWidth : Number [read-only]
The overall paper width, in points. Note that this property is only available after a call to the
method.
PrintJob.start()
Availability: ActionScript 1.0; Flash Player 7
PrintJob constructor
public PrintJob()
Creates a PrintJob object that you can use to print one or more pages.
To implement a print job, use the following methods in sequence. You must place all
commands relating to a specific print job in the same frame, from the constructor through
and delete. Replace the
PrintJob.send()
with your custom parameters.
// create PrintJob object
var my_pj:PrintJob = new PrintJob();
// display print dialog box, but only initiate the print job
// if start returns successfully.
if (my_pj.start()) {
// use a variable to track successful calls to addPage
var pagesToPrint:Number = 0;
to the
[params]
my_pj.addPage()
PrintJob.start()
method calls
PrintJob
1025
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?