is the support code B00 or support code 5B00 also mentioned the printer and its model number
need more information like model number. Then i can provide you my suggession.
It may be due to driver settings error. Uninstall your printer driver and dowload latest driver from hp. Install and try scanning .