Select your printer model

Parameters are refined by the selected printer.

Epos2LFCPrinter class


Controls printing by the printer.

This is beneficial when multiple smart devices are used for a single printer with the waiting for paper removal function.

API

Description

Initialization

initWithPrinterSeries

Initializes the Epos2LFCPrinter class.

Communication path

connect

Connects to the printer.

disconnect

Disconnects from the printer.

Status monitor

startMonitor

Enables status event notification.

stopMonitor

Disables status event notification.

Status acquisition

getStatus

Acquires status of the connected printer.

Transmission

sendLFCData

Sends a command to the printer.

Reception of result

setLFCStatusChangeEventDelegate

Registers the event listener method.

setSendCompleteEventDelegate

setPrintCompleteEventDelegate

Creating print document by the Epos2LFCPrinter class

The Epos2LFCPrinter class creates a print document using the same API as the Epos2Printer class.

The APIs available for the Epos2LFCPrinter class are listed below.

API

Description

Text

addTextAlign

Adds text alignment setting to the command buffer.

addLineSpace

Adds line spacing setting to the command buffer.

addTextRotate

Adds text rotation setting to the command buffer.

addText

Adds text to print to the command buffer.

addTextLang

Adds language setting to the command buffer.

addTextFont

Adds character font setting to the command buffer.

addTextSmooth

Adds character smoothing setting to the command buffer.

addTextSize

Adds character scaling factor setting to the command buffer.

addTextStyle

Adds character style setting to the command buffer.

addHPosition

Adds character print position setting to the command buffer.

Paper feed

addFeedUnit

Adds paper-feed setting in dots to the command buffer.

addFeedLine

Adds paper-feed setting in lines to the command buffer.

Graphics

addImage

Adds a raster image print command to the command buffer.

addLogo

Adds a NV logo print command to the command buffer.

Barcode

addBarcode

Adds a barcode print command to the command buffer.

addSymbol

Adds a 2D symbol print command to the command buffer.

Page mode

addPageBegin

Adds a page mode start command to the command buffer.

addPageEnd

Adds a page mode end command to the command buffer.

addPageArea

Adds page mode print area setting to the command buffer.

addPageDirection

Adds page mode print direction setting to the command buffer.

addPagePosition

Adds page mode print position setting to the command buffer.

addPageLine

Adds a page mode line draw command to the command buffer.

addPageRectangle

Adds a page mode rectangle draw command to the command buffer.

Batch rotate print

addRotateBegin

Adds the start batch rotate print mode to the command buffer.

addRotateEnd

Adds the end batch rotate print mode to the command buffer.

Cut

addCut

Adds a sheet cut command to the command buffer.

Drawer

addPulse

Adds a drawer kick command to the command buffer.

Buzzer

addSound

Adds a buzzer sound command to the command buffer.

Label sheet/
black mark sheet

addFeedPosition

Adds a paper feed command to the command buffer.

Command

addCommand

Adds a command to the command buffer.

 

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