Accessibility

TechNote (Archived)

PrintJob cannot extend over multiple frames

The PrintJob class, which is supported in Macromedia Flash Player 7 and later, must be instantiated and used in a single frame. An instance of the PrintJob class created in one frame will not respond to method calls in a later frame. For example, the following code must execute in a single frame:

my_pj = new PrintJob();
my_pj.start()
my_pj.addPage([params]);
my_pj.send();

Additional Information

Only one print job may be running at any given time. A second print job can not be created until one of the following has happened with the previous print job:

  • The previous print job was entirely successful and PrintJob.send() method was called.
  • The PrintJob.start() method returned a value of false.
  • The PrintJob.addPage() method returned a value of false.
  • The delete PrintJob method has been called.

AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support

Document Details

ID:tn_19084
Browser:Chrome
Internet Explorer
Netscape
Opera
Safari
Firefox

Products Affected: