ESC-POS-.NET icon indicating copy to clipboard operation
ESC-POS-.NET copied to clipboard

USB Connection error: "UnauthorizedAccessException" or "Access to the port 'COM3' is denied."

Open shajeermhmmd opened this issue 2 years ago • 2 comments

USB com port is connected and printing successfully, but while trying to print again I am getting the issue with "UnauthorizedAccessException" or "Access to the port 'COM3' is denied." with the com port. How can I solve this issue?

printer = new SerialPrinter(portName: "COM3", baudRate: 115200);

shajeermhmmd avatar Jan 30 '22 11:01 shajeermhmmd

Are you using a physical COM port, or an adapter/emulator?

igorocampos avatar Feb 03 '22 12:02 igorocampos

I have two printers One is Epson's official printer and another one is a local company made, it is working perfectly with Epson's printer, but not with another one.

is there any compatible way to expose the USB interface as a virtual Serial port in windows?

is there any compatible way to expose the USB interface as a virtual Serial port?

shajeermhmmd avatar Mar 17 '22 07:03 shajeermhmmd