Select your printer model

Parameters are refined by the selected printer.

addLogo method


Adds a NV logo print registered in the NV memory of the printer to the command buffer.

The NV logo needs to be registered to the printer in advance. For how to register the NV logo, refer to the Technical Reference Guide of the printer.

Syntax

 
addLogo(key1, key2);

Parameter

key1

Value

Description

Integer from 0 to 255

Specifies the key code 1 of the NV logo.

key2

Value

Description

Integer from 0 to 255

Specifies the key code 2 of the NV logo.

Return value

Return value

Object type

Printer object

Printer

HybridPrinter2 object

HybridPrinter2

Exception

Exception

Object type

Parameter " ... " is invalid

Error

Supplementary explanation

  • Multi-gradation printing can be used in the standard mode but not in the page mode.
  • In the page mode, the NV log is printed at the current print position with the lower-left dot of the NV logo as the reference point.
  • The NV logo specified by this API is printed with the color setting specified by addTextStyle method buffered in advance.
 

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