
Building a print job
537
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 (
www.macromedia.com/software/flash/open/webprinting/
faq.html
).
Using the ActionScript PrintJob class
The ActionScript PrintJob class, in addition to offering improvements to print functionality
available with the
print()
method, lets you also render dynamic content at runtime, prompt
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
PrintJob.start()
method, your document
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
PrintJob.start()
and
PrintJob.send()
, and because the PrintJob functions might
temporarily affect the Flash Player internal view of onscreen Flash content, you should
implement print-specific activities only between your calls to
PrintJob.start()
and
PrintJob.send()
. For example, the Flash content should not interact with the user between
PrintJob.start()
and
PrintJob.send()
. Instead, you should expeditiously complete
formatting of your print job, add pages to the print job, and send the print job to the printer.
Содержание FLASH 8-USING FLASH
Страница 1: ...Using Flash...
Страница 12: ...12 Contents...
Страница 110: ...110 Using Symbols Instances and Library Assets...
Страница 128: ...128 Working with Color Strokes and Fills...
Страница 156: ...156 Drawing...
Страница 190: ...190 Working with Text...
Страница 224: ...224 Working with Graphic Objects...
Страница 270: ...270 Creating Motion...
Страница 310: ...310 Working with Video...
Страница 362: ...362 Working with Screens Flash Professional Only...
Страница 386: ...386 Creating Multilanguage Text...
Страница 454: ...454 Data Integration Flash Professional Only...
Страница 500: ...500 Publishing...
Страница 534: ...534 Creating Accessible Content...