Link to home
Start Free TrialLog in
Avatar of BlueKarana
BlueKarana

asked on

How do I allow users to save printer driver settings for subsequent jobs in Flash/Actionscript

I have an Flash/Actionscript 3 project that allows users to print. (I'm using PrintJob.) They may print several times during a session and would like to set printer preferences (it's a badge/card printer with many settings) and retain them for the mulitiple print jobs during the Flash session.

Everything I've read says this isn't possible in Flash. Has anyone figured out how to do this?

Can it be done if I switch to AIR?

Thanks.
Avatar of dgofman
dgofman
Flag of United States of America image

You can save printer settings but I am not sure you can set values to Printing Properties Dialog.
However using AIR you have additional settings features such change orientation what I sent 2 hours yesterday to figure out if I can do the same  from Flash Player


http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/printing/PrintJob.html?filter_flash=cs5&filter_flashplayer=10.2&filter_air=2.6


Avatar of BlueKarana
BlueKarana

ASKER

How do you save settings? That's what I need to do, allow the user to save settings from one print to the next in the same app run/session. Each time the app starts the print job and the print dialog appears, it reverts to the default settings. (I have a local PrintJob object in a function that's invoked each time a user clicks a print button.)

I tried defining the PrintJob object as a global and reusing it, but, it doesn't work, at least how I did it. Can you do that but somehow clear it and retain/save settings for a second, or third, etc, print?

Yeah, you can have a bit more control in AIR but I'm resisting giving up browser support. I don't really want to have an installed app unless absolutely necessary.

Besides, as I said, this is a specialty printer with many more options than the typical office printer in the driver, most of which aren't settable in the AIR options anyway. And, I don't want to set it programmatically; I just want to allow setting saves.

That was my point you cannot set settings because is related to your OS, drivers and printing installation properties. I don't think Adobe overriding default Print dialog.
"You can save printer settings but I am not sure..."

This comment you made led me to believe the user could save settings. No so, it seems.
ASKER CERTIFIED SOLUTION
Avatar of dgofman
dgofman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The answer confirmed that it can't be done.