Select your printer model

Parameters are refined by the selected printer.

getRegisterdDevices method


Acquires the device availability information registered to the printer and notifies an application of the information.

Syntax

 
getRegisterdDevices(deviceGroup, callback);

Parameter

deviceGroup

Value

Description

DEVICE_GROUP_ALL

Acquires all devices.

callback

Specifies a callback function to receive the execution result of the getRegisterdDevices method.

The ePOSDeviceConfiguration object is passed to the first parameter and the following value is passed to the second parameter to indicate the result:

Property

Description

deviceId

Device ID

deviceType

Device type

status

Device status

  • deviceType
  • Value

    Description

    type_display

    Customer display

    type_keyboard

    Keyboard

    type_msr

    MSR

    type_printer

    Printer

    type_hybrid_printer

    Hybrid printer

    type_scanner

    Barcode scanner

    type_simple_serial

    Serial communication device

    type_gfe

    German fiscal element (TSE)

  • status
  • Value

    Description

    online

    Available

    offline

    Unavailable

    unknown

    Unknown status

Supplementary explanation

The deviceGroup parameter is fixed to DEVICE_GROUP_ALL.

 

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