Re: This does not work on XP
- Posted by Rod Damon <roddamon at bellsouth.net> Jan 08, 2006
- 522 views
Yea! that's were I found the problem to be also. What I need at work is a simple print button at work, so the user only prints to the default printer for his/her work station. The user of the work stations do not always know what the default printer is. PrintDlg() gives a list of available printers to choose from. I need to control the work station to only the default printer. Any help from the API programers out there would be greatly appreciated. Rod Wolf wrote: > > Tried to use this in XP years ago, and failed. Can't remember exact details, > but according to the 'fuzzy' API docs, PRINTER_ENUM_DEFAULT probably only > works on 9x's, ... not NT/XP. > Ended up wrapping simplest PrintDlg() instead. > >