Virtual printer in C#
-
Hi everyone. I need to write a virtual printer that can receive messages from a client but not actually do any physical printing. Instead the printing will be done in an application. I can write tcp client/server programs with no problems but have never tried a virtual printer. I have read some articles on the web but not quite what I need. I also have been searching for what is required in Windows for an install. Registry entries, Program Files, System32 ini files? Can someone point me in the right direction?
-
Hi everyone. I need to write a virtual printer that can receive messages from a client but not actually do any physical printing. Instead the printing will be done in an application. I can write tcp client/server programs with no problems but have never tried a virtual printer. I have read some articles on the web but not quite what I need. I also have been searching for what is required in Windows for an install. Registry entries, Program Files, System32 ini files? Can someone point me in the right direction?
-
You will need to write a print driver, see Windows Driver Kit documentation - Windows drivers | Microsoft Docs[^].
Thanks. I've been reading up on this and it appears to be the way to go.
-
Hi everyone. I need to write a virtual printer that can receive messages from a client but not actually do any physical printing. Instead the printing will be done in an application. I can write tcp client/server programs with no problems but have never tried a virtual printer. I have read some articles on the web but not quite what I need. I also have been searching for what is required in Windows for an install. Registry entries, Program Files, System32 ini files? Can someone point me in the right direction?
Maybe what you really need is just to send a "pdf" (or docx or txt); i.e. using a "free" pdf print driver. Pdf's can be "queued" (for "printing"); if that makes a difference.
"(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal
-
Maybe what you really need is just to send a "pdf" (or docx or txt); i.e. using a "free" pdf print driver. Pdf's can be "queued" (for "printing"); if that makes a difference.
"(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal
It needs to be more of a dummy driver. I need to just receive the tcp message sent from a POS client for an Epson POS printer, parse the esc/pos data and display on a monitor.
-
It needs to be more of a dummy driver. I need to just receive the tcp message sent from a POS client for an Epson POS printer, parse the esc/pos data and display on a monitor.