Supported printers
With Flash Player, you can print to PostScript and non-PostScript printers. For a list of
supported Flash Player printing platforms, see the "Macromedia Flash Player Web Printing
FAQ" on the Macromedia website
faq.html).
Using the ActionScript PrintJob class
The ActionScript PrintJob class, in addition to offering improvements to print functionality
available with the
print()
users with a single print dialog box, and print an unscaled document with proportions that
map to the proportions of the content. This capability is especially useful for rendering and
printing external dynamic content, such as database content and dynamic text.
Additionally, with properties populated by the
can access your user's printer settings, such as page height, width, and orientation, and you
can configure your document to dynamically format Flash content that is appropriate for the
printer settings.
Building a print job
To build a print job, you use functions that complete the tasks in the order outlined in this
section. The sections that follow the procedure provide explanations of the functions and
properties associated with the PrintJob object.
Because you are spooling a print job to the user's operating system between your calls to
and
PrintJob.start()
temporarily affect the Flash Player internal view of onscreen Flash content, you should
implement print-specific activities only between your calls to
. For example, the Flash content should not interact with the user between
PrintJob.send()
and
PrintJob.start()
formatting of your print job, add pages to the print job, and send the print job to the printer.
(www.macromedia.com/software/flash/open/webprinting/
method, lets you also render dynamic content at runtime, prompt
, and because the PrintJob functions might
PrintJob.send()
. Instead, you should expeditiously complete
PrintJob.send()
method, your document
PrintJob.start()
PrintJob.start()
and
Building a print job
537
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?
Questions and answers