'How to print a document file to a network printer in c#
I need to send files (txt, docs etc.) over network using printer driver. I'm able to send raw data to server but not files. I had already tried to Ehsan's Method for printing, but the data inside the document doesn't seems to appear in the document. What I need is a method, or cmd line to print a file over network.
Solution 1:[1]
I suppose, if your printer was detect in your computer, you can use the PrinterSettings 's class for send your file to your printer... please read msdn documentation for printerSettings
But, when you said "network" is a local network? other network?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Doc Roms |
