Constructor for the PrintJob object

Availability

Flash Player 7.

Usage

my_pj = new PrintJob();

Parameters

None.

Returns

Nothing.

Description

Constructor; lets you create content at runtime and print this content to multiple pages with the OS print dialog box coming up only one time and only one print job being shown in the OS's window of print jobs.

Sequence of calls is:

my_pj = new PrintJob();
my_pj.start() // initialize OS's printer settings dialog
my_pj.addPage(); // repeat as many times as needed to spool each page
my_pj.send(); // send jobs from the spooler to the printer

Example

See PrintJob.addPage().

See also