Select your printer model

Parameters are refined by the selected printer.

createQR


Creates QR code data that can be analyzed by parseQR.

Syntax

 
public String createQR(String printerName, int deviceType, String macAddress)

Parameter

printerName

Specifies a printer name.

deviceType

Specifies a printer type.

Value

Description

Print.DEVTYPE_TCP

Slave printer (wired / wireless)

Print.DEVTYPE_BLUETOOTH

Bluetooth compatible printer

macAddress

Specifies a MAC address (for a slave printer), or a BD address (for a Bluetooth compatible printer). The following shows the address format.

Format

Description

00:11:22:33:44:55

Separate the digits by colons.

00-11-22-33-44-55

Separate the digits by hyphens.

001122334455

No separation

Return value

QR code print data is returned. Specify this data by addSymbol to print the QR code.

When creating the print data of QR code has failed, null is returned.

Supplementary explanation

To see the printer name, MAC address, and BD address, print a status sheet from the printer.

For instructions on how to print the status sheet, refer to the Technical Reference Guide of the printer.

 

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 Android

Jump to the top