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: Tech Exchange disclaimer Contributors to the LANSA Tech Exchange are responsible for the correctness of any Components (code and documentation) that they submit. Contributors are also responsible for any support that might be offered with any Components they submit. LANSA does not provide any warranty concerning fitness for purpose nor correctness of any Component submitted to the Exchange. LANSA does not provide any warranty for any ongoing support offered for Components submitted by any party to the Exchange.

Users of the Exchange who download any Component do so with the express understanding and agreement of the foregoing disclaimers.
Download:
Example: DropDownList of available printers
Back to Top