"Luqman" <pe*******@cyber.net.pkwrote in message
news:e9***************@TK2MSFTNGP05.phx.gbl...
I am using Visual studio 2008 and ASP.Net 3.5
How can I fill a combo with list of local printers, installed on client
machine ?
You can't, at least, not natively...
If I have to buy any ActiveX control from the Internet, please do
recommend.
A couple of things about ActiveX controls:
1) They work in Microsoft Internet Explorer only, so are no use at all for a
public web site.
2) You will almost certainly need to ramp the browser security right down
just to get them to work.
However, even if you were able to fill a combo with a list of local
printers, what would you do with this information? You certainly won't be
able to let the user select a printer and then somehow automatically print
to it - all modern browsers are designed specifically to prevent this type
of direct interaction between web sites and the client machine's hardware.
That's why many websites provide a "print version" of web pages which the
user can print manually if required...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net