Manual_VCOM4USB_ENG_V2.21
Manual_VCOM4USB_ENG_V2.21
http://www.bixolon.com
Virtual COM for USB Driver
Table of Contents
Copyright ......................................................................................................................... 3
1. Manual Information................................................................................................... 4
7. Win32 API................................................................................................................... 21
7-1 File I/O API ...................................................................................................................21
7-2 Communication API ....................................................................................................22
7-3 Precautions for Serial Communication Programming............................................23
Ver. 2.21 - 2 -
Virtual COM for USB Driver
Copyright
© BIXOLON Co., Ltd. All rights reserved.
This user manual and all property of the product are protected under copyright law.
It is strictly prohibited to copy, store, and transmit the whole or any part of the manual
and any property of the product without the prior written approval of BIXOLON Co.,
Ltd.
The information contained herein is designed only for use with this BIXOLON product.
BIXOLON is not responsible for any direct or indirect damages, arising from or
related to use of this information.
BIXOLON Co., Ltd. maintains ongoing efforts to enhance and upgrade the functions
and quality of all our products.
In the following, product specifications and/or user manual content may be changed
without prior notice.
Caution
Some semiconductor devices are easily damaged by static electricity. You should turn
the printer “OFF”, before you connect or remove the cables on the rear side, in order
to guard the printer against the static electricity. If the printer is damaged by the static
electricity, you should turn the printer “OFF”.
Ver. 2.21 - 3 -
Virtual COM for USB Driver
1. Manual Information
This manual provides information on the usage of the “Virtual COM for USB Driver”
and “Configuration Tool” software associated with USB interface use on BIXOLON
printers.
This software can be used to set and use the USB interface via the serial
communication mode.
The latest file version is available for download from the BIXOLON website.
(www.bixolon.com)
Ver. 2.21 - 4 -
Virtual COM for USB Driver
2. Usage Environment
2-1 Operating System Environment
Ver. 2.21 - 5 -
Virtual COM for USB Driver
2-2 Supported Printer Models
• The “Virtual COM for USB Driver” software can be used only with USB-supported
printers.
1) POS Printer
SRP-270 / SRP-275 / SRP-275II / SRP-275III / SRP-280
STP-103II / STP-103III / SRP-370 / SRP-372 / SRP-500
SRP-350 / SRP-350plus / SRP-352plus
SRP-350II / SRP-350IIK / SRP-350plusII / SRP-352plusII
SRP-330 / SRP-330II / SRP-332II
SRP-340 / SRP-340II / SRP-342II
SRP-350III / SRP-352III / SRP-350plusIII / SRP-352plusIII
SRP-F310 / SRP-F312 / SRP-F310II / SRP-F312II / SRP-F313II
SRP-S300 / SRP-S320
SRP-380 / SRP-382 / SRP-383
SRP-Q300 / SRP-Q302 / SRP-QE300 / SRP-QE302 / SRP-Q200
SRP-E300 / SRP-E302 / SRP-B300
SRP-S3000 / SRP-S200
SRP-330III / SRP-332III
SRP-350V / SRP-350plusV / SRP-352V / SRP-352plusV
SRP-380II / SRP-382II
G30
SRP-Q300II
2) Label Printer
SLP-T400 / SLP-T403 / SLP-D420 / SLP-D423 / SLP-D220 / SLP-D223
SLP-TX400(RFID) / SLP-TX403(RFID)
SLP-TX420 / SLP-TX423 / SLP-TX220 / SLP-TX223
SLP-DX420 / SLP-DX423 / SLP-DX220 / SLP-DX223 / SLP-DL410 / SLP-DL413
SRP-770II / SRP-770III / SRP-E770III
XT5-40(RFID) / XT5-43(RFID) / XT5-46(RFID)
SRP-S3000_LABEL
XD3-40d / XD3-40t
XD5-40d / XD5-43d
XD5-40t(RFID) / XD5-43t(RFID)
XL5-40CT / XL5-43CT
XT3-40 / XT3-43
SPP-L3000
SPP-L310 / SPP-L410
XM7-40(RFID) / XM7-20 / XM7-30
3) Mobile Printer
SPP-C200
SPP-C300
Ver. 2.21 - 6 -
Virtual COM for USB Driver
3-1 Installation
Ver. 2.21 - 7 -
Virtual COM for USB Driver
4) When the following message appears, click the “Install” button.
Ver. 2.21 - 8 -
Virtual COM for USB Driver
3-2 Uninstallation
1) Click and activate the “Uninstall a program” or “Programs and Features” icon in
the Control Panel.
2) Select “Virtual COM for USB Driver” and click the “Uninstall“ button.
Ver. 2.21 - 9 -
Virtual COM for USB Driver
③ Assigned Port
- This function displays the currently set virtual serial port number. If one is
not set, the status is shown as “Not Assigned”
④ Assign
- This function is used to establish a connection between a printer selected
in the list box and a registered virtual serial port.
Ver. 2.21 - 10 -
Virtual COM for USB Driver
⑤ Detach
- This function is used to disconnect a connection between a printer
selected in the list box and a virtual serial port.
⑥ Refresh
- This function is used to update the USB printer device list shown in the list
box and set port information.
⑦ Test Print
- This function is used to perform a print test on the printer selected in the
list box. The serial port must be set in order to perform a print test.
⑧ Port Management
- This function is used to add/remove virtual serial ports.
⑨ Exit
- This function is used to exit the “Configuration Tool” program.
Ver. 2.21 - 11 -
Virtual COM for USB Driver
4-2 Virtual COM Port Addition
• The “Configuration Tool” program is used to add a virtual COM port. To create a
port, click the “Port Management’ button in the “Configuration Tool”.
1) Clicking the “Port Management” button of the “Configuration Tool” brings up the
following dialog box.
3) If the port has been added successfully, the virtual serial port added will appear as
follows.
Ver. 2.21 - 12 -
Virtual COM for USB Driver
4-3 Printer Port Connection
• To use the added serial port and printer, click the “Assign” button and set the
connection.
1) Select the printer to be connected from the list, and click the “Assign” button to
bring up a dialog box.
2) Select the port number to be used among the virtual serial ports added via “Port
Management” and click the “OK” button to automatically update the “Assigned
Port” section of the main screen.
Ver. 2.21 - 13 -
Virtual COM for USB Driver
4-4 Printer Port Disconnection
• Select the printer to be disconnected from the list of printers connected via virtual
serial ports. Click the “Detach” button to disconnect the previously connected
virtual serial port. This will result in reversion of the “Assigned Port” status of the
printer to “Not Assigned”.
Ver. 2.21 - 14 -
Virtual COM for USB Driver
1) Select the virtual serial port to be deleted and click the right mouse button.
On the popup menu, select “Uninstall” to delete the port.
2) Following deletion, the “Configuration Tool” program must be executed, and the
changes must be updated.
Ver. 2.21 - 15 -
Virtual COM for USB Driver
5-2 Port Setting/Number Modification Via the Device Manager
1) Select the desired virtual serial port and click the right mouse button. On the
popup menu, select “Properties”.
3) The “Port Settings” tab can be used to set the baud rate, data bits, parity, stop bits,
and flow control of a port.
Ver. 2.21 - 16 -
Virtual COM for USB Driver
4) Click the “Advanced” button to modify the port number and/or designate buffer
settings. Modification of buffer settings is not recommended.
The COM port number is changed by selecting a number in the combo box.
Following port modifications, the settings utility must be run to update changes.
If a printer was connected previously, the connection setting must be disconnected.
Ver. 2.21 - 17 -
Virtual COM for USB Driver
6. Command line
Use the Configuration Tool functions as a command line without using the
Configuration Tool. Using command lines, the UI will not be displayed.
If a command fails, an error log file is created.
Action Description: After deleting all Virtual COM ports, all the COM1 port
and assign a printer with USB PID “0086” of the currently
connected printer to the Virtual COM1 port. Reboot the
system.
Ver. 2.21 - 18 -
Virtual COM for USB Driver
6-2 Command Option
If you specify the port number currently being used by the system,
the system may not operate normally.
4) /pid [USB_PID]: Set the same USB_PID printer as the COMport among the
currently connected printers. Only one Virtual COM port should exist in the
system. Only one printer with matching USB_PID should be connected.
- USB_PID: 4 digits of printer’s usb pid, If you don’t enter USB_PID, only one
connection must be made, and the Virtual COM port is assigned to the
connected printer.
5) /sn USB_S/N: Set the same printer as the Virtual COM port on which the USB_S/N
is currently connected. Only one Virtual COM port should exist in the system.
- USB_S/N: If you use ‘/sn’, make sure input the usb serial number.
If using the /pid command with the /sn command, can set it up
without the printer being connected.
Ver. 2.21 - 19 -
Virtual COM for USB Driver
6) /rs [REBOOT_OPTION]: reboot system.
- REBOOT_OPTION: If the value is 0 or does not contain a value,
reboot without notification.
If the value is 1, show the notification window and
reboot
If you don’t reboot the system, the Virtual COM port may not
operate properly.
Ver. 2.21 - 20 -
Virtual COM for USB Driver
7. Win32 API
The “Virtual COM for USB Driver” program can be used in serial communication
programming. Refer to Microsoft MSDN regarding the Win32 API for serial
communication.
Ver. 2.21 - 21 -
Virtual COM for USB Driver
7-2 Communication API
Ver. 2.21 - 22 -
Virtual COM for USB Driver
7-3 Precautions for Serial Communication Programming
• When calling Create File function, you must prefix the port name with “\\\\.\\”
depending on the range of COM port numbers. For details, refer to the ‘port name
format’ below.
Ver. 2.21 - 23 -
Virtual COM for USB Driver
Revision history
Ver. 2.21 - 24 -