471,627 Members | 1,681 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

mapping printers?

Hi, I'm new to c#. Is it possible to map network printers with it? and
change devmode? Thanks.
Feb 14 '06 #1
1 1809
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"cykill" <cy****@nospam.net> wrote in message
news:N2*******************@newssvr11.news.prodigy. com...
Hi, I'm new to c#. Is it possible to map network printers with it? and
change devmode? Thanks.

Feb 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Aaron_TekRecycle.com | last post: by
7 posts views Thread by trint | last post: by
4 posts views Thread by Frank Rizzo | last post: by
1 post views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.