Please check if printer internal pages could be printed successfully without any error displayed by printer.
Try to install device with another USB cable (preferably HP USB cable) of standard lenght.
Hope the device drivers are correctly installed and configured for use on the computer. If there are any changes in the USB port used or computer OS, then you may try to reinstall the drivers or may also check by performing a fresh install on a different computer.