For printing to work you should be able to telnet to the printer's IP address specifying TPC/IP port 515 (lpd), compare the result with a local, working printer, you should connect proving that the printer is listening on port 515, if not then the HP Jetdirect card is not working properly in the printer.