Select your printer model

Parameters are refined by the selected printer.

addPulse


Adds a drawer kick command to the command buffer.

Sets the drawer kick.

Syntax

 
- (int) addPulse:(int)drawer time:(int)time;

Parameter

drawer

Specifies the drawer kick connector.

Value

Description

EPOS2_DRAWER_2PIN

Drawer kick connector pin No.2

EPOS2_DRAWER_5PIN

Drawer kick connector pin No.5

EPOS2_PARAM_DEFAULT

Specifies the default (drawer kick connector pin No.2).

time

Specifies the on time of the drawer kick signal.

Value

Description

EPOS2_PULSE_100

100-msec signal

EPOS2_PULSE_200

200-msec signal

EPOS2_PULSE_300

300-msec signal

EPOS2_PULSE_400

400-msec signal

EPOS2_PULSE_500

500-msec signal

EPOS2_PARAM_DEFAULT

Specifies the default (100-msec signal).

Return value

Error status

Description

EPOS2_SUCCESS

The function was executed successfully.

EPOS2_ERR_PARAM

An invalid parameter was passed.

EPOS2_ERR_MEMORY

Memory necessary for processing could not be allocated.

EPOS2_ERR_FAILURE

An unknown error occurred.

Supplementary explanation

  • This API cannot be used in the page mode.
  • The drawer and optional external buzzer cannot be connected simultaneously.
  • Do not open the drawer repeatedly for a short time. The drawer may be damaged due to too much load.
  • For built-in buzzer equipped models of the following printers, sounding the buzzer is possible using the pulse output commands for drawer kick connectors.
    For details on controlling the built-in buzzer, refer to the Technical Reference Guide of the printer.
    TM-T70 / TM-T70II / TM-T82II / TM-T82III / TM-T88IV / TM-T88V / TM-T88VI / TM-T88VII / TM-T82II-i / TM-T83II-i / TM-T88VI-iHUB / TM-L90 / TM-L100
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

Epson ePOS SDK includes patented or patent pending functions. The contents must not be disclosed to third parties.


Epson ePOS SDK for iOS

Jump to the top