Select your printer model

Parameters are refined by the selected printer.

createQR


Creates QR code data that can be analyzed by parseQR.

Syntax

 
- (NSString *) createQR:(NSString *)printerName DeviceType:(int)deviceType MacAddress(NSString*):macAddress

Parameter

printerName

Specifies a printer name.

deviceType

Specifies a printer type.

Value

Description

EPOS_EASY_SELECT_DEVTYPE_TCP

Slave printer (wired / wireless)

EPOS_EASY_SELECT_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 failed to create the print data, nil 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 iOS

Jump to the top