Select your printer model

Parameters are refined by the selected printer.

forceStopSound


Forcibly sends the buzzer sound command.

The return value of this API is the result of sending data to the devices.

The processing result of the devices using this API is returned to the callback method set by the setReceiveEventDelegate API of the Epos2Printer class.

Syntax

 
- (int) forceStopSound:(long)timeout;

Parameter

timeout

Specifies the timeout period before completion of command transmission in milliseconds.

Value

Description

Integer from 0 to 600000

Timeout period (in milliseconds)

EPOS2_PARAM_DEFAULT

Specifies the default value (10000).

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.

EPOS2_ERR_PROCESSING

Could not run the process.

EPOS2_ERR_ILLEGAL

This API was called while no communication had been started.

Supplementary explanation

  • The drawer and optional external buzzer cannot be connected simultaneously.
  • This API cannot be used if the printer is not equipped with a buzzer.
  • For TM-H6000V, the “Command execution during offline” setting must be enabled.
    Refer to TM-H6000V Utility User’s Manual for more information.
  • Available during ePOS-Device XML control.
 

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