3

How to list down all the printers in system in ActionScript 3. as3 property printers not working.

1 Answer 1

3

This works for me:

var printerList:Vector.<String> = PrintJob.printers;
var p:ArrayCollection = new ArrayCollection();
if (printerList) for (var i:int = 0; i < printerList.length; i++) p.addItem(printerList[i]);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.