Addpulse - Epson TM-T88V User Manual

Epos-print sdk for android
Hide thumbs Also See for TM-T88V:
Table of Contents

Advertisement

addPulse

Adds the drawer kick to the command buffer. Sets the drawer kick.
• Not available in page mode.
• The drawer and the buzzer cannot be used together.
Syntax
public void addPulse(int drawer, int time)
throws EposException
Parameter
 drawer :
Specifies the drawer kick connector.
Builder.DRAWER_1
Builder.DRAWER_2
Builder.PARAM_DEFAULT
 time :
Specifies the ON time of the drawer kick signal.
Builder.PULSE_100
Builder.PULSE_200
Builder.PULSE_300
Builder.PULSE_400
Builder.PULSE_500
Builder.PARAM_DEFAULT
Exceptions
When processing fails, EposException is thrown with one of the following error values.
Error status
ERR_PARAM
ERR_MEMORY
ERR_FAILURE
Example
To send a 100msec pulse signal to the pin 2 of the drawer kick connector:
try {
Builder builder = new Builder("TM-T88V", Builder.MODEL_ANK);
builder.addPulse(Builder.DRAWER_1, Builder.PULSE_100);
///Process///
} catch (EposException e) {
int errStatus = e.getErrorStatus();
}
Set value
Pin 2 of the drawer kick-out connector
Pin 5 of the drawer kick-out connector
Pin 2 of the drawer kick-out connector
Set value
100 ms
200 ms
300 ms
400 ms
500 ms
100 ms
Invalid parameter was passed.
Could not allocate memory.
An unspecified error occurred.
Chapter 4 API Reference
Description
Description
Description
4
83

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70Tm-p60Tm-u220

Table of Contents