I'm having trouble with a server printer where nobody can open a particular device. I've seen all over documentation that you can't open a device if another process already has it open, but I haven't been able to find out what process has a device opened already.
You should check it in the OS, which you use. If it is a Linux, you can use the command
lsof. For Windows, I don't know how to find it.