printing - Get list of printers with Adobe Flex -


documentation flash.printing.printjob says there should printers() method. using flashbuilder 4.6 ide code complete says doesn't exist.

i'm using flash sdk 4.6, targeting desktop environment.

anyone know if (and when) pulled method library?

printjob.printers static readonly property available in air runtime, supported on desktop operating systems. there no support mobile or air tv devices.

provides list of available printers string name values. list not precalculated; generated when function called. if no printers available or if system not support printing, value null. if system supports printing not capable of returning list of printers, value vector single element (its length property 1). in case, single element actual printer name or default name if current printer name cannot determined.

test support calling printjob.issupported, such as:

if (printjob.issupported)     var printers:vector.<string> = printjob.printers; 

tracing printers vector me outputs:

ricoh aficio mp c5502
canon mp210 series


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -