Last post May 24, 2013 11:45 AM by Neodynamic
May 24, 2013 05:32 AM|Sing|LINK
I'm using ManagementObjectSearcher to get the Local and Network printers.
In my local computer I'm getting all Local and Network printers while running through the Visual Studio.
Once I deployed in the web server, it only list the Printers which are in the deployment server, it does not list my local system printers where I can acces the deployed website.
Anyone please help me to access the local system printers as well, once after the website is deployed in the server.
May 24, 2013 08:28 AM|Neodynamic|LINK
Your ASP.NET code runs at server-side!!! and that's why you get the printers available at the server and not at the client machine. Tell me, why you want to get the printers available at the client machine? Do you want to print some doc?
elaborate a bit, please.
May 24, 2013 09:16 AM|Sing|LINK
Yes I have lot of PDF and documents in the page, User want to print all or neccesary documents by a single click.
So I want to list all the printers in the Client machine in a dropdown list, user can select the printer name then print all the document in a single click.
Everything working fine, in my loacl machine, only problem is after deployment I can't get the printer list which are in the client machine.
It allways returns server printers only.
Thanks & Regards,
May 24, 2013 11:45 AM|Neodynamic|LINK
In this article is a code that allows you to get the list of printers installed at the client machine and how to send a PDF doc to be printed by the selected printer. If you want to print more than one PDF, you'll have to
merge all of them into one single PDF.