This DOS-based utility called Ptape can be used to help troubleshoot parallel port issues.