Thanks for the code, but I'm not sure if this solves the problem. I went
to the Flex2 demo
(http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html)
and tried the printing demo. If one prints 3 or more pages, one can see
that the data grid on the second page could have more rows.
Ian
The Flex Print Job class has this property read carefully here.
http://livedocs.macromedia.com/flex/201/langref/mx/printing/FlexPrintJobScaleType.html
and here
http://livedocs.macromedia.com/flex/201/langref/mx/printing/PrintDataGrid.html#sizeToPage
Regards.
--ic
On 2/15/07, Ian
Hello,
I'm using PrintDataGrid to print a DataGrid and everything is working
fine except one thing. The size (height) of the PrintDataGrid same one
every page. This would be okay if I were just printing the
PrintDataGrid, but I have a header on the first page (and footers on
subsequent
Here's a short example of PrintJob copied from Components Explorer.
// The function to print the output.
public function doPrint():void {
var printJob:FlexPrintJob = new FlexPrintJob();
if (printJob.start()) {
// Create a FormPrintView control
4 matches
Mail list logo