Are you sure the printer drivers that work on 2K are compatible with win XP? There should be no difference in the way the function is called, syntax wise.