>George
>That is great!! code works ! Thanks! I place full code.. maybe for anybody that will interesting to
How to Remove Windows Printer >
Terrific, Denis. Glad it worked out. Sorry I missed the thing about rights and NT/Win2K. The doc on DeletePrinter() doesn't mention the necessary rights, and when I replied earlier, that's all I had looked at. The problem, however, stayed in my mind so I went back and looked at OpenPrinter() and found what the problem was.
George
Ubi caritas et amor, deus ibi est