The printer must have a print driver for windows XP. In order to get it print from DOS programs take a little trickery. You need to set the printer to shared and remember the share name. Then you need to run a command prompt as administrator and type:
net use LPT1: \\<your_computer_name>\<shared-printer_name> /PERSISTENT:YES
Now any DOS program that uses LPT1 will be redirected to the printer.