It looks like enumeratePrinters() was replaced by an attribute "printerNameList" in this changeset: https://hg.mozilla.org/mozilla-central/rev/d411716a02bc#l6.94
That attribute still exists on trunk, as shown here: https://mxr.mozilla.org/mozilla-central/source/widget/nsIPrintOptions.idl#64 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). ~Daniel On 01/30/2013 02:52 AM, rvj wrote: > .. docs say enumerateprinters() method is obsolete since 1.9 (Gecko)... > > what replaces it ? > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform