Usb Serial Port Emulator

Active4 months ago

My question is similar to Setting up a virtual Com Port?, which has no answers.

  • You will see one entitled USB Serial Port, with the assigned COM port number identified in brackets. To work with most of the tools you are likely to use with microcontrollers, the COM port should be 1, 2, 3, or 4. If it is higher than COM4, you’ll probably want to change it.
  • Free Virtual Serial Ports is a Windows user-mode application, which allows you to create software virtual serial ports and emulate physical serial ports behavior. It operates exclusively in user-mode, therefore it is more stable and uses less memory, processor and operating system resources than any competitive products.

I have software that can only print to a printer on COMx, a printer with a USB port, and a computer with a USB port but no serial ports, so the oft-suggested physical Serial-to-USB adapter isn't a solution. I'm looking for software that tricks Windows 7 into mapping a virtual COM port to a physical USB port. I'm certain that if the software I'm using sends its stream of bits to the USB port that the printer will work just fine. How do I trick the software into thinking it's printing to COMx when it's actually printing to USBx?

Internet searches only turn up drivers for some specific hardware Serial-to-USB adapter, but that's not what I'm looking for as I don't have that hardware. I found a Microsoft forum where they suggested changing the USB port's label in Device Manager, but we never found anything like what they described; perhaps that's possible with a different USB controller than we have.

Usb Serial Port Emulator
Community
Rick DownerRick Downer

4 Answers

A configuration sheet with the most common 'USB serial emulation' interface programming bar codes can be downloaded from 'File 2'. After scanning the appropriate USB serial emulation bar code, Windows will begin the installation process to assign a virtual COM Port for the scanner. Dec 05, 2018  How to get the scanner to communicate via virtual COM port / USB serial driver. How to get the scanner to communicate via virtual COM port / USB serial driver; Android: How to skip the Google Setup Wizard; How to Hide (or show) the Remote Desktop connection bar when in full screen mode? May 24, 2018  COM Port Data Emulator is a tool for emulating a com port or an Ethernet device, that generates a serial stream of data. The program can create a data flow, wrap it to data packets (RS232, TCP/IP or UDP) and send to a port. COM Port Data Emulator can help developers.

Mcp2200 Usb Serial Port Emulator Windows 7

There is a simple way to do it using standard Windows commands. Lee Harrison's link shows this command, but here's a short description. Start by making the printer shareable (from Printer Properties > Sharing tab).

Now, start a command prompt and type:

Here, pc_name is the name of the sharing PC, and printer_share_name is the share name you gave the printer when you set up the share.

From then on, anything you send to COM1 will be re-routed to the printer.

There is one proviso however - and it applies regardless of which method you use to get the data to the printer, hardware or software:

As your program only knows about COM1, I assume it will send plain text to the printer. Many USB-only printers do NOT understand plain text, and will just ignore it altogether. Printers that do this are called host-based printers, where the Windows graphics engine converts the page into dots on the paper, rather than letting the printer do the conversion. They are mostly the low cost printers, especially inkjets but also some lasers. Printers that do understand text need to support a language called PCL5. PCL6 printers usually also support PCL5, but PCL3 printers do not.

If you tell me your printer model I can check what language it supports.

phuclv
12.4k7 gold badges51 silver badges107 bronze badges
hdhondthdhondt
3,1192 gold badges10 silver badges12 bronze badges
Windows 10 usb serial port emulator

We use this solution in the company.

Virtual COM port (VCP) drivers cause the USB device to appear as an additional COM port available to the PC. Application software can access the USB device in the same way as it would access a standard COM port.

Here is the Instalation Guide.

Francisco TapiaFrancisco Tapia
2,3123 gold badges16 silver badges40 bronze badges

This is a very specific scenario, but the following directions may work for you:http://www.decompile.com/dataflex/tips/usb_printer.htm

Directly from that link:

However, I don't know if COM connections will even be selectable in your case since your PC doesn't have any to begin with. You may be able to purchase a USB/COM adapter just to gain access to these values, then use the above directions to forward to your USB printer.

Sounds kinda hack-ish but when you're running old software sometimes this is what it comes down. Whatever the solution, I don't know that it will appear to be elegant!

The final thing would be to just purchase a USB to serial/parallel adapter and a cheap printer that fits the specs. If you use this software in business, I think that's an easily justifiable expense.

Mcp2200 Usb Serial Port Emulator Driver

Lee HarrisonLee Harrison

Garmin Usb Serial Port Emulator

If you need to emulate the serial port, this software make that kind of work https://www.eltima.com/products/vspdxp/ But I have no idea, whether you can talk to your USB with the emulated COM...

Pablo ReviosaPablo Reviosa

protected by CommunityMay 15 at 12:47

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Usb Com Port Emulation Barcode

Not the answer you're looking for? Browse other questions tagged windows-7usbprintercom or ask your own question.