Re: This does not work on XP
- Posted by Al Getz <Xaxo at aol.com> Jan 09, 2006
- 523 views
Rod Damon wrote: > > 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. > > > > Hi there, Just a guess but did you try something other than level=5 ? Somewhere in the doc's it says 5 isnt allowed for NT so maybe also not with XP. Just a guess though, this may not help either. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"