I use this version of the doc: 
http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/flash/printing/PrintJob.html

There are lots of new printing features in AIR2.0 which may be why there isn’t 
a lot of searchable info.  The link I supplied implies that in AIR 2.0, you set 
the PrintJob.printer property to a printer and call PrintJob.start2() to skip 
the dialogs.  Not sure how it will work on all platforms so give it a try.

Plan B, I think, is to generate a bitmap of the page and upload it to a server 
than can access the printer.  Can work for shared printers but not local ones.


On 8/31/10 3:05 PM, "Laurence" <[email protected]> wrote:






The installation/authorization stuff I can deal with...  Not being able to 
control my print jobs properly, I can't deal with.

I can find surprisingly little information about printing in AIR -- it's almost 
like printing was an afterthought for Flex and AIR.

Exactly how much more control over printing does AIR give me?  Can it print 
everything without pop-ups?  Can it control which printer the app sends the 
print-job to -- again, without pop-ups?  Those are the two main things I need.

Thanks,
L.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com> , Alex 
Harui <aha...@...> wrote:
>
> AIR does give more control over printing.   AIR requires installation, a 
> web-hosted app does not.  I don't know the security rules that well, but it 
> isn't clear how you prevent someone from installing the app and accessing 
> your server unless you require authentication first.
>
>
> On 8/31/10 1:10 PM, "Laurence" <lmacne...@...> wrote:
>
>
>
>
>
>
> I could really use some major advice here.  We're so close to the finishing 
> point on this project, and we're being held back by stupid printing 
> problems...
>
> We have to be able to print with no pop-up dialog boxes, and the choice of 
> which printer to send the job to will be affected by the data (i.e. a client 
> with reg-code X gets printed on printer-1 and a client with reg-code Y gets 
> printed on printer-2.)
>
> We have to automate this, because the temp-workers we hire can't be counted 
> on to remember how do it correctly.
>
> So...  Any ideas on how I can deal with this?  Should I dump Flash Player and 
> switch to AIR?  Would that give me better control over the printing?  Can AIR 
> actually do all that I'm asking for here?  What will switching to AIR mean 
> for accessing our data from our ColdFusion/SQL server through https:, if 
> anything?
>
> Thanks,
> Laurence MacNeill
> Mableton, Georgia, USA
>
>
>
>
>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
>






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to