hp customer service tells you about this issue :
1.The corrupted video card or video driver. Also, the printers drivers can also cause the script errors, so make sure the drivers are updated.
2.Poorly configured printers permission.
3.If protected mode is enabled, it may interfere in the web page printing.
4.The temporary file error such as missing or deleted the LOW folder in %TEP% location can the reason for the failure of the Web page
contact to hp printer support for any additional info you need