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 !!!!
 
Back
Top