How to create a Print Dialog Box using C# ?

Strawhat007 40 Reputation points
2023-02-10T05:56:16.1866667+00:00

Hi,

I want to add print dialog box to a Windows App project which I am currently working.
I want that dialog box to have all the available printers and other printer related options as well.
Can anyone help me here how to create that or any sample code link would be greatly appreciated ?

Thanks

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,353 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,218 questions
Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
640 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Olaf Helper 40,736 Reputation points
    2023-02-10T06:12:37.08+00:00

    Why an own one, you can use the existing PrintDialog component overview (Windows Forms .NET)