C cykill Feb 14, 2006 #1 Hi, I'm new to c#. Is it possible to map network printers with it? and change devmode? Thanks.
N Nicholas Paldino [.NET/C# MVP] Feb 16, 2006 #2 cykill, You can set up a printer by calling the appropriate functions through the P/Invoke layer. Specifically, you want the following functions: AddPrinter AddPrinterConnection AddPrinterDriverEx You may need a combination of these to add a printer. Also, for the definitions, you can probably find them on http://www.pinvoke.net Hope this helps.
cykill, You can set up a printer by calling the appropriate functions through the P/Invoke layer. Specifically, you want the following functions: AddPrinter AddPrinterConnection AddPrinterDriverEx You may need a combination of these to add a printer. Also, for the definitions, you can probably find them on http://www.pinvoke.net Hope this helps.