I have code that changes the default windows printer so that a report can be printed to different printers. (in Access VBA). I use the windows API to change the system printer and then change it back to default once the report is printed. It works fine in Access 2000, but in XP it doesn't matter what printer I choose, it always prints to the default printer.

Any ideas why?