Select your printer model

Parameters are refined by the selected printer.

sendData method


Sends data in the command buffer to the printer to perform printing in the print method specified in paperType property. The execution result of the sendData method is passed to the callback function of onreceive event.

Syntax

 
sendData (timeout);

Parameter

timeout

Specifies the timeout period before completion of printing in milliseconds.

When an invalid value is specified, the default value will be used.

  • Receipt
  • Value

    Description

    Integer from 1 to 300000

    Timeout period (in milliseconds)

    undefined

    Specifies the default value (60000).

  • Slip/Endorsement/Validation
  • Value

    Description

    Integer from 60000 to 900000

    Timeout period (in milliseconds)

    undefined

    Specifies the default value (60000).

 

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 JavaScript

Jump to the top