Flex, How to Print Canvas and its contents.

By goelnitin

 

 

 

 

 

 

 

 

public

 

 

// Create a FlexPrintJob instance.

 

 

var printJob:FlexPrintJob = new FlexPrintJob();

 

 

// Start the print job.

 

 

if(printJob.start()) {

printJob.addObject(canvasId);

 

 

// Send the job to the printer.

printJob.send();

}

}

 

http://www.talkincode.com/external-script-files-and-printing-objects-with-flex-614.html

http://flexonblog.wordpress.com/2008/07/03/how-to-print-contents-of-a-container-canvas/

function doPrint():void{

 

Leave a Reply