.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

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -