I use XUL for developing apps that operate like real devices (intended for touch screen displays)

I simply need to allow a user to select a printer without conventional system window popups



"Daniel Holbert" <[email protected]> wrote in message news:[email protected]...
What are "gadget based interfaces", and why do they need to query the
browser to enumerate printers?

~Daniel

On 01/31/2013 02:54 AM, rvj wrote:
Thanks to both,

this is a must have bit of functionality ..

for gadget based interfaces!

"Zack Weinberg" <[email protected]> wrote in message
news:[email protected]...
On 2013-01-30 2:23 PM, Daniel Holbert wrote:

However, be warned that there are patches in bug 629500 to get rid of
nsIPrinterEnumerator entirely (though that bug seems to have stalled a
bit, so I don't know how soon that will happen).

It's blocked on Windows-specific fixes (bug 693230) -- it looks like
there's a patch in there, but nobody bothered to ask for review and
it's also not clear whether it actually works.  If anyone has
low-level Windows GUI programming experience and spare brain cycles I
could really use help with that part.

The intention is still to remove nsIPrinterEnumerator entirely.  All
the tier-1 platforms nowadays discourage use of the OS-level printer
enumeration APIs, because they have to talk to the network and may
block the calling thread for an indefinite period.  You're supposed to
just let the OS-supplied print dialog boxes figure it out for you.

zw

_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to