mapping printers?

  • Thread starter Thread starter cykill
  • Start date Start date
C

cykill

Hi, I'm new to c#. Is it possible to map network printers with it? and
change devmode? Thanks.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top