Printing to non-default printer without showing dialog
-
Hello everyone, I have an MFC MDI app that I am trying to override some of the printing and I am have lots of trouble. I want to not show the printer dialog box and also set the printer (I have access to the HDC). I'm sure this is a relatively easy thing to do, but can't figure it out. I tried searching through old posts, but wasn't able to find anything. Thanks!
-
Hello everyone, I have an MFC MDI app that I am trying to override some of the printing and I am have lots of trouble. I want to not show the printer dialog box and also set the printer (I have access to the HDC). I'm sure this is a relatively easy thing to do, but can't figure it out. I tried searching through old posts, but wasn't able to find anything. Thanks!
The CodeProjects "Printing" section may have the information you need. Take a look at http://www.codeproject.com/printing/. This article describes how to set the default MFC application printer: http://www.codeproject.com/printing/printerselect.asp I hope this is what you need :)
-
The CodeProjects "Printing" section may have the information you need. Take a look at http://www.codeproject.com/printing/. This article describes how to set the default MFC application printer: http://www.codeproject.com/printing/printerselect.asp I hope this is what you need :)
Ahh, you beat me to it! Yes, it should do exactly what he needs. Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003