Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-09-20
6
Medium Priority
?
190 Views
Last Modified: 2012-05-12
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.
0
Comment
Question by:BlueKarana
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 29

Expert Comment

by:dgofman
ID: 36569090
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


0
 

Author Comment

by:BlueKarana
ID: 36569254
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.

0
 
LVL 29

Expert Comment

by:dgofman
ID: 36569365
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.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:BlueKarana
ID: 36570591
"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.
0
 
LVL 29

Accepted Solution

by:
dgofman earned 1500 total points
ID: 36570709
Let check full sentence

"You can save printer settings, but I am not sure you can set values to Printing Properties Dialog."

That means when you create a page "addPage" I can get all available settings such as pageWidth, pageHeight, orientation and save on your local machine using ShareObject API's.

After "but" I explain I will not able to apply those settings for a next Print Dialog :)


0
 

Author Closing Comment

by:BlueKarana
ID: 36920219
The answer confirmed that it can't be done.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question