|
James,
You touched on taboo subject of
Internet-enabled applications. Basically, printers and other local
resources like file system seem to be out of reach of developers - the reason
being that with complete silent control of the printer you are asking for rogue
page can send thousands of pornographic images throughout the enterprise. So, in
order to get the access to the resources like disk or printer you need to be
"trusted" - and over the years it was getting harder and harder to get
these credentials in Internet enabled envitonments.
Second, you really need a whole
lot more then being able to bypass printing dialog for the application.
Honestly, aside from usability, I do not want user to select the paper size -
the application in most cases knows better (or can make better decision) if it
should use landscape or portrait mode/request paper size. Printers are quite
intelligent and can provide all the options to the application if they are given
a chance. Essentially, printer API should be far more extensive then paper size
(duplex, paper bin and paper type are few obvious ones) and
should have read/write access.
Flex positions itself in large
as front office development platform. As such business printing is
essential. I hope that Flash8.5 will address these issues under more
flexible security model. Other alternative of course would be to go along
PDF/FlashPaper solution - with well known interoperability benefits and business
application usability issues.
In meanwhile, you do not have
too many options. If you are deplying under IE you can get source code version
of our browser activeX (www.htmlprinting.com) as a starting point
to provide you with back door to the printing functionality while
maintaining complete security. After that you can "subclass" the creation of
PrintJob and expand the properties/methods via reasonable amount of C++ code.
That might be about 1 man/month project for proficient C++ programmer - assuming you can live with IE-only solution.
Breaking Mozilla to add printing, while possible, has not prove to be viable for
commercial products.
Hope this helps
Anatole
----- Original Message -----
|
- Re: [flexcoders] Printing directly to a printer JesterXL
- Re: [flexcoders] Printing directly to a printer Anatole Tartakovsky
- RE: [flexcoders] Printing directly to a print... James
- Re: [flexcoders] Printing directly to a p... JesterXL
- RE: [flexcoders] Printing directly to... James
- Re: [flexcoders] Printing direct... Anatole Tartakovsky

