SOFTWARE MANUAL C32
1 SYSTEM DESCRIPTION
1.1 INTERFACES
The controller contains an USB full speed interface and a RS232 interface.
The RS232 can be operated with V.24 level up to 460kbps and with TTL level even up to 3.6 mbps.
When both, USB and RS232 interfaces are equipped, the USB has priority. When USB is plugged in, an automatic reset
activates the USB interface. When unplugging USB, an automatic reset reactivates RS232.
1.1.1
USB INTERFACE
The printer conforms to USB specification V2.0 for full speed units. The interface is implemented as bidirectional USB
printer class. The printer will be operated in self powered mode. Each printer gets an individual USB serial number.
The module contains an USB printer device with bidirectional interface (bInterfaceClass=7, bInterfaceSubClass=1, bInter-
faceProtocol=2) according to "Device Class Definition for Printing Devices Version 1.1." The device is implemented as full-
speed self-powered device with GeBE-Vendor ID. idVendor = Ox19DB (VID, GeBE)
In addition to the control-endpoint the device uses 2 function-endpoints for bulk transfers from and to the USB host. Both
endpoints use double buffering with wMaxPacketSize=64. The USB host requests messages and status through bulk-IN.
Bulk-IN transfers will always be confirmed by ACK-handshake. ZLP (Zero Length Packet) will be sent in case of no ready
data, means the host gets data packages with 0 … wMaxPacketSize bytes.
Bulk-OUT transfers will be acknowledged by NACK-handshake, in case the bulk-OUT buffer is occupied with 2 packets. Re-
set (flush) is possible through class-request SOFT_RESET. Using class-request GET_PORT_STATUS sends a status byte
with information of („paper empty“, „select“, „error“ = 3 bit) to the USB host. Depending on the selection state of the USB
module (control gate) the following response will be sent:
STANDBY:
0x18 (default value with „select“=1)
SELECTED:
„select“=1(fix), „paper empty“, and „error“ will be derived from system variables
DISABLED:
0x08, „select“=0(fix) enables the USB-host/printer driver to react with a timeout in case a printing job
was sent to USB device by mistake
GeBE Elektronik und
phone
+49.89.894141-0
GeBE-document-no. SoMAN-C32-E-V2.2-0793
Feinwerktechnik GmbH
fax
+49.89.894141-33
date
July 7, 2020
Beethovenstraße 15
page 9 | 166
82110 Germering
Our general terms of business are to be applied.
Germany
Internet
www.gebe.net
Errors and changes reserved.