ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > PrintJob > send (PrintJob.send method) | |||
public send() : Void
Used following the PrintJob.start() and PrintJob.addPage() methods to send spooled pages to the printer. Because calls to PrintJob.send() will not be successful if related calls to PrintJob.start() and PrintJob.addpage() failed, you should check that calls to PrintJob.addpage() and PrintJob.start() were successful before calling PrintJob.send():
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
See PrintJob.addPage() and PrintJob.start().
addPage (PrintJob.addPage method), start (PrintJob.start method)
|
|
|
|