The window that opens up when you click on 'Print' is called the Print Dialog (class 'System.Windows .Forms.PrintDia log'). You may need to search for PrintDialog and catch hold of it's functions to accomplish what you want. Look in MSDN before you look at any external reference. http://msdn2.microsoft .com/en-us/library/system.drawing. printing.printd ocument.printer settings(VS.71) .aspx