Available Printers DropDownList
| Description: | Visual LANSA DropDownList component which displays all available printers |
|---|---|
| Price: | Free |
| Support: | Supplied on an as-is basis |
| Environment: | Visual LANSA V11 SP5 |
| Contributor: | LANSA |
| Details: | This DropDownList use the Microsoft WScript.Network object which
provides access to Windows networking methods to easily control
functions such as adding and displaying network shares and printers.
The reusable part “VL_PRINTER” gets all printers available to populate the DropDownList and set it with the default printer. Of course, this component could be handy to change the selected printer for a report, but you could also extend it to add or remove printers for example (with the useful "WshNetwork" object). Easy to use, just drag and drop the component on any LANSA form and the DropDownList will populate by itself. |
| Disclaimer: |
Users of the Exchange who download any Component do so with the express understanding and agreement of the foregoing disclaimers. |
| Download: | |
| Example: |
![]() |
