Here's the Drivers for the HP Deskjet 940 for Mac OS 8 & 9. Reinstalling them might help.
Also, is this printer connected directly, or is it shared from another computer?
Also, is this printer connected directly, or is it shared from another computer?