I understand that you are experiencing connectivity issue with your USB connected device. As a basic step, you may try replacing the USB cable (supported or standard lenght USB cable - preferably HP cable).
Download and Install full software solution available at following HP web link (select correct version as per your location/region):
Hope that you have configured the scanning options before initiating 'scan to' from device's control panel.