Disable the printing dialog

I wanna be able to print from my flash file, and the question is if I can disable the dialog box for that, so that it happens automatically at a button press (instead of 2). Or do I need to send the printing to something else for that, that handles more “raw” data better?