Hello,
I have tried following combinations:-
Note:- server is the machine were a printer has been shared. Client is a
machine which connects to the printer share.
1) windows 2000 client and windows 2000 server
2) windows XP client and windows XP server
3) windows 2003 client and windows 2003 server.
All the above cases works fine.GetPrinter(...) returns a non-NULL DEVMODE in
PRINTER_INFO_2 on the client and is the expected outcome
But if I am to mix like below:-
windows 2000 server and windows XP client
when I call GetPrinter(...) on the client machine. the pDevMode becomes
NULL, I feel I am missing something in my printer driver.
What could be the reason?
thanks
vipin