Print webpage to a File, talking to IE, ... change printer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

ok... so
i have Internet Explorer open, with let say http://www.google.com
i want my application to print that page into a file so
i have a printer PS-Printer installed

i dont know .. how .. to change the printer
how to tell to explorer to print
how to add the path of the saved file

Thanks...
 
Im going to answer one of my questions

changing the printer:

[DllImport("winspool.drv", EntryPoint="SetDefaultPrinterA")]
public static extern int SetDefaultPrinter(String pszPrinter);

SetDefaultPrinter("New Printer");

it seems that the best way to do this ... is using API !!!!
 

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