Adding virtual printer using c#
how to add a virtual printer in system using c# program?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajkiran SwainRank #165 · 14.4K reputationPosted Oct 27, 2017, 12:48 AM EDT
Nilesh PatilRank #1,129 · 1.6K reputationPosted Oct 27, 2017, 2:11 AM EDT
Maen BadwanRank #2,520 · 556 reputationPosted Nov 2, 2017, 7:35 AM EDT
https://msdn.microsoft.com/en-us/library/windows/hardware/ff557573(v=vs.85).aspx
https://github.com/Microsoft/Windows-driver-samples
But keep in mind that you will need to wrap many Windows APIs to accomplish this in .NET.
Alternatively, you could try high-level virtual printers features from LEADTOOLS that provides ready .NET classes to create your own virtual printer, which should behave similar to any printer’s driver.
You can find more details here:
https://www.leadtools.com/help/leadtools/v19/dh/pr/printer-printer-install.html
https://www.leadtools.com/help/leadtools/v19m/dh/to/pr-topics-programmingwithvirtualprinterdriver.html