Fazecast / jSerialComm

Platform-independent serial port access for Java
GNU Lesser General Public License v3.0
1.35k stars 287 forks source link

Windows virtual printer port #228

Closed brixzen closed 5 years ago

brixzen commented 5 years ago

Hi all,

I use this library for simple thermal printing, when i call this function SerialPort.getCommPorts() Serial Virtual Printer port in USB001 is not detect. can i detect this port as serial?

hedgecrw commented 5 years ago

That is a great question actually. By default, if it is not showing up in jSerialComm, then Windows most likely isn't enumerating that port as a raw "serial device". But just to verify, when you plug in this device, does it show up under "Device Manager -> Ports"? Also, is this a port you could connect to directly using a terminal program like PuTTY, send commands to, and have the printer respond correctly?

Without going into too much depth researching virtual printer ports, I'm not familiar at all with whether they behave like standard serial ports, or whether they actually implement some sort of protocol that would not be supported by this library. Let me know what you find. Thanks!

hedgecrw commented 5 years ago

Closing due to inactivity and unlikely to implement. Please re-open with more information if any becomes available.