.net - Getting local Printer Names in c# web application -


I have created a simple crystal report as a web application using the C # code. When I print using the Printtoprinter method it is printed with the default printer. I want to list all the printers in favor of the client from that list. I want to choose a printer to print..If any Can I help code in C #? Or give an idea about this?

As you wish it is not possible to crystal report or C # side

"PrintToPrinter" is used to directly print directly to the server's default printer, where your app is hosted / deployed.

It is important that you have HTML-javascript function (Onload

for this you will need to generate an HTML from your C # code and open it with jquery on the second page - The initial function that provides the list of printers

Check the link with the example to get the printer list.



Comments

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -