Once the usb cable is connected it should show up as a com port in device managerThis may be a stupid comment and completely worthless, but the GRE-based scanned don’t connect directly via serial to a computer, you have to use an adapter that plugs into your USB port, then into the PC/IF lack on the scanner with electronics in-between.
Could this be what’s causing your program to not connect?
Its a virtual thing