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

Example

See PrintJob.addPage() and PrintJob.start().

See also

addPage (PrintJob.addPage method), start (PrintJob.start method)