Thank you all for the answers. Clearly printing is not the most advanced and easy-to-use feature in Flex/Flash.
Nihit, your code example works - it really is possible to print two pages even if they are not on screen. Great, thanks! But how does the code work, could you explain the logic a little? Where are the resizeMask() etc methods coming from? Satu --- In flexcoders@yahoogroups.com, "Nihit Saxena" <[EMAIL PROTECTED]> wrote: > Check the attached files, you can use the same strategy to print areas > outside of print area/ inside a scroll bar. You can also scale the > contents to the desired scaling, > > For printing two pages, you can call addPage two times after changing > the look and feel of the page. > > > > Thanks, > > Nihit > > > > > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of svktiilikainen > Sent: Tuesday, July 05, 2005 7:50 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Printing whole lotta pages? > > > > Hi, > > I need to print a form having two pages. The form consists of boxes, > containing layout boxes and grids, containing labels, texts etc. The > contents are pretty long so that a vertical scrollbar is displayed on > the form. > > I have studied the PrintJob class and tried various procedures with > little success. How should the pages be scaled in order for them to > fit to the paper (A4)? And, above all, is there any way to print the > second page? Is it true that the printable contents should be visible > when printing?? Now I can print (most of) the first page, with good > luck, but never the second page (a blank, black page prints out). And > yes, I have tried manipulating the vPosition of the VBox in question > to give the PrintJob a clue as where to start the second page. This > has not worked. > Suggestions, anyone, please? > > Satu > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > ________________________________ > > YAHOO! GROUPS LINKS > > > > * Visit your group "flexcoders > <http://groups.yahoo.com/group/flexcoders> " on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED] subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/> . > > > > ________________________________ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/