Your printer, what ever make it is, We don't know? Needs to have an XP
driver to work with XP if it doesn't.. Some are built into XP and some you
have to obtain from your printers web site.
If you upgraded to XP with printer connected, your drivers are corrupted and
you need to remove and reinstall XP drivers.