SOFTWARE MANUAL C32
1.1.1.1 EXTENDED USB FUNCTIONS
1. Hardware reset:
The printer can perform a hard reset via a vendor-specific InRequest to the interface on the USB control channel. This
hardware reset carries out an USB disconnect/connect and acts as if the USB plug on the HOST is pulled out and plugged
in again. This action can also be carried out in the GeBE Toolbox with the "HW Reset" button.
(bRequest = 3 vendor request / bmRequestType (recipient) = 1 interface / bmRequestType (type) = 2 vendor /
bmRequestType (direction) = 1 Device to Host / wLength 0x0003)
2. Host gets a status byte via USB request „Get_Port_Status“:
Bit 0: not used
Bit 1: not used
Bit 2: not used
Bit 3: 0= ERROR
1= no error
Bit 4: 0= not selected 1= selected
Bit 5: 0= no Paper End
1= Paper End
Bit 6: not used
Bit 7: not used
Not used flags of USB status bytes in
Parameters 11,2 to 11,9
can used for any extended printer status flags:
11,2
u_a
Redirected GeBE_C32 status flag at bit index 0
11,3
u_a
Redirected GeBE_C32 status flag at bit index 1
11,4
u_a
Redirected GeBE_C32 status flag at bit index 2
11,5
u_a
Redirected GeBE_C32 status flag at bit index 6
11,6
u_a
Redirected GeBE_C32 status flag at bit index 7
In the GeBE Toolbox, the request "Get_Port_Status", called control status, can be carried out periodically by activating the
"auto" check box or using the "update" button if the check box "auto" is not activated.
3. USB keepalive signal:
An USB keepalive signal may be activated in
Parameter 11,9
. If there is no "Get Port Status" query within the specified
time of 5 - 16 seconds, the printer carries out a ”Power On Reset”. This reset also resets the USB part in the host.
11,9
0: no keepalive signal required
WARNING: deactivation of running watchdog triggers POR/ any other value: keepalive period in [s]
4. Setting USB soft reset type:
If
Parameter 11,7
is set to T, the type of reset can be changed. The type can be specified in
Parameter 11,8.
Possible reset
types are described in chapter 6 „Printer Initialization“.
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 11 | 166
82110 Germering
Our general terms of business are to be applied.
Germany
Internet
www.gebe.net
Errors and changes reserved.