Click here to Skip to main content
15,944,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I cant access the client side printer name through vb.net coding.

how can we access it throug javascript .

I many forums, I have seen that wshell.shell activex is used,but I cant

download this activex and also I dont know,how effective it is.
Posted
Comments
[no name] 30-Mar-13 8:51am    
What exactly you want to do ?
Printer will be detected automatically.
Prasad Khandekar 30-Mar-13 10:02am    
It's not really possible without using active-x and that to with proper browser permissions. JavaScript runs in a sandbox and browsers do not permit access to local resources for security reasons.

1 solution

The below link may help you

http://stackoverflow.com/a/13740892

Note: It uses ActiveX. So your browser should have permissions to run it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900