Error "Operation not permitted" (-1) trying to use this device.

I am trying to use a USB printer connected to my NAS. I get the error in the topic. The printer is a HP Deskjet 1050.

#2

In the virtualhere client right click on the Printer and select "Custom Event Hander" and paste this line in exactly as shown

onReset.$VENDOR_ID$.$PRODUCT_ID$= then press OK. Then try to use it via virtualhere again

#3

Thanks Michael!

This worked perfectly, and it now says "(In use by you)", how ever I do not know where to go from here to be able to send print jobs to the printer. Windows is not finding the printer and when I try to add it manually, I was trying my NAS IP and port 7575, I think that is the port that VirtualHere is using? I was able to install a printer, but could not print/get a job to it. 

I will keep tinkering, but if you have any ideas, please let me know. Thank you.

 

EDIT: I am seeing when I click use device in VirtualHere, Windows is seeing a USB device but there is an error: "Unknown USB Device (Device Descriptor Request Failed)."

 

#4

Rebooted the NAS, Windows recognized the printer, success!

 

Thanks again Michael.