Hi,
and the preview should be able to show the number of pages that would be present in the Printed hard copy.
To show that you need to know the paper size, that is not known until you start printjob.start (..), once printjob.start (..) is called Print dialogue box is shown and Flash Player stops rendering anything on screen. The only way I can imagine is when you know the page size or assume A4, instruct user that print-preview is based on A4 (or whatever assume) page size. If you can assume or standardized the page size for your print preview, you might do this to show print-preview. Create Print Preview using same technique using PrintDataGrid, as shown in docs, with these changes:- - Create s separate view that contains the entire logic of printing. Which means, when view is initialized, it would create PrintDataGrid instances, populate the PrintDataGrid etc.. - you can provide controls to change pages in PrintDataGrid and print it. - When user hits the print button, you basically start printJob and start adding pages (footer, content pages, header) to FlexPrintJob instance.. - And print it.. I guess, I would do that way... But I am sure there are always better ways.. -abdul On 2/2/07, Sastry <[EMAIL PROTECTED]> wrote:
Hi All, I am trying to print the contents of a DataGrid using a Print Data Grid. The Direct print is working good. But now, I need a Print Preview and the preview should be able to show the number of pages that would be present in the Printed hard copy. I also want to let the user select the pages he wants to print. Any Ideas regarding this? Thanks, Sastry

