I need AS3 code that will retrieve a list of printer names form the user’s computer. This AS3 code must also be able to send a print job from external files, directly to the user’s printer, without a print dialog box.
This app GUI will be just a “Print” button.
When the app loads, it will gather a list of all of the user’s printers.
Then it will compare the list of printers to a "FlashVars" (FlashVars>printerName) that holds the name of one printer.
If the FlashVars>printerName is found in the list of user’s printers, the "Print" button will enable.
When the "Printer" button is clicked the app will send the print job (FlashVars>filePath) to the printer (FlashVars>printerName), without a print dialog box.
Also I would like the app to compare to a "DO NOT USE" list of printer names. This list will be a FlashVars also.