Skip navigation.

A proper Cancel Printing Features for Flex 2.01

I highly recommend reading my first entry on Flex Printing, unless you alrady know how to. I am going to show you some advance printing items now.

I believe these features NEED to be included in any Flex Printing that you might want to do.


I am going to implement a proper way to handle a canceled print job.

1.  I am going to use the same function that   I used earlier.


private function doPrint():Void


    var pj:FlexPrintJob = newFlexPrintJob();



2.  Adding in a IF statement

if(pj.start()!= true)



Pretty simple huh!  This has  Flex go back to the application if the user cancels their print job