Infinite Peripherals 216, KPM-210 user manual Command Descriptions, 1 ESC/POS Emulation, Ascii HEX

Page 29

3. PRINTER FUNCTIONS

3.2 COMMAND DESCRIPTIONS

 

3.2.1 ESC/POS Emulation

(Tab.A.3)

The following table lists all the commands for function management in ESC/ POSEmulation of the printer. The commands can be transmitted to the printer at any moment, but they will only be carried out when the commands ahead of them have been executed. The commands are carried out when

 

the circular buffer is free to do so.

 

 

 

 

(Tab.3.1)

COMMAND DESCRIPTION TABLE

 

 

 

 

 

 

ASCII

HEX

 

Description

 

 

 

 

 

 

 

BS

$08

 

Back space

 

 

 

 

 

 

 

 

HT

$09

 

Horizontal tab

 

 

 

 

 

 

 

 

LF

$0A

 

Print and line feed

 

 

 

 

 

 

 

 

FF

$0C

 

Form feed

 

 

 

 

 

 

 

CR

$0D

 

Print and carriage return

 

 

 

 

 

 

DLE EOT n

$10 $04 (n)

 

Real-time status transmission

 

 

 

 

 

 

CAN

$18

 

Cancel current line transmitted

 

 

 

 

 

 

ESC SP n

$1B $20 (n)

 

Set character right-side spacing

 

 

 

 

 

 

 

ESC ! n

$1B $21 (n)

 

Set print mode

 

 

 

 

 

 

 

ESC $ nL nH

$1B $24 nL nH

 

Set absolute position

 

 

 

 

 

 

ESC % n

$1B $25 (n)

 

Select/cancel user-defined character set

 

 

 

 

 

 

ESC & y c1 c2

$1B $26 y c1 c2

 

Define user-defined characters

 

 

 

 

 

 

ESC ( v nL nH

$1B $28 $76 nL

 

Set relative vertical print position

 

 

nH

 

 

 

 

ESC * m nL nH

$1B $2A m nL

 

Select image print mode

 

d1...dk

nH d1...dk

 

 

 

 

 

 

ESC - n

$1B $2D (n)

 

Turn underline mode on/off

 

 

 

 

 

 

ESC 0

$1B $30

 

Select 1/8-inch line spacing

 

 

 

 

 

 

ESC 2

$1B $32

 

Select 1/6-inch line spacing

 

 

 

 

 

 

ESC 3 n

$1B $33 (n)

 

Set line spacing using minimum units

 

 

 

 

 

 

ESC 4 n

$1B $34 (n)

 

Set/reset script mode

 

 

 

 

 

 

 

ESC = n

$1B $3D (n)

 

Select device

 

 

 

 

 

 

 

ESC ? n

$1B $3F (n)

 

Cancel user-defined characters

 

 

 

 

 

 

 

ESC @

$1B $40

 

Initialize printer

 

 

 

 

 

 

 

 

KPM210/216

3- 2

www.ipcprint.com

Image 29
Contents KPM-210/216 KPM210/216 Front external view Printer ComponentsKPM210/216 Rear external view KPM210/216 Under view Table of Contents Accessories Appendix a Accessories and Spare PartsCharacter Fonts SuppliesExplanatory Notes Used in this Manual Manual ContentsGeneral Safety Information Unpacking the Printer Introduction 50 mm/sec Printer Features60 mm/sec 65 mm/secTab.1 Printer DescriptionTab.A.3 PIN Signal Power SupplyConnections GNDCharacters per inch ConfigurationData length 2 7, 8D bits/char Changing the paper roll MaintenanceHexadecimal Dump Paper load specifications Ax m ax Adjusting paper width Paper jams Re-tighten the fastening screwsTab.A.3 Cleaning the printing head Lower the paper guide 2 as shown in fig Cleaning the ejector rollers Installation and USE DCD PIN Signal IN/OUT DescriptionRS232 Serial KPM80/112 Device USB Serial Interface OptionalPrint Direction Printer Functions1 ESC/POS Emulation Command DescriptionsAscii HEX DescriptionAscii HEX GS Σ GS ΓGS Π Ascii Back spaceHorizontal tab ESC DESC 2, ESC Print and line feedForm Feed Print and carriage returnAscii DLE EOT DLE EOT nReal-time status transmission =2 Off-line status =17 Print status Byte = User Status Can Cancel current line transmittedESC SP n Set right-side character spacingSelect print modes GS P or GS $D0ESC ! n ESC -, ESC E, ESC 4, GS GS ~ESC $ nL nH Select/cancel user-defined charactersSet absolute print position ESC \, GS P or GS $D0Defines user-defined characters ESC &, ESC ?ESC & Y C1 C2 x1 d1…dy ⋅⋅ x1…xkd1…dy ⋅⋅ xk Set relative vertical print position GS * orESC v nL nH ESC * m nL nH d1...dk Select bit image modeFor the 300 dpi model ESC n Turn underline mode on/offESC ESC 4 n Set/reset italic modeESC 0, ESC 2, GS P or GS $D0 ESC = n Cancel user-defined charactersSelect peripheral device ESC ? nESC @ ESC &, ESC %Initialize printer ESC D n1...nk NULAscii Esce Turn emphasized mode on/offESC E n ESC G n Turn double-strike mode on/offESC E ESC J nESC R n Reference GS P or GS $D0 ExampleSelect an international character set Ascii EscrESC V n Set 90 rotated print modeESC !, ESC ESC \ nL nH Set relative print positionESC a n ESC $, GS P or GS $D0Select justification JustificationESC c 5 n Enable/disable front panel buttonsFeed ESC d nReference ESC 2, ESC 3 Example ESC 2 or ESCTotal cut ESC t nTransmit paper sensor status ESCHex Decimal 123 n Range ≤ n ≤ Description ESC⊥ ⊥ n Set/cancel cpi modeESC · n xH xL yH yL Print graphic1BH FAH 00H ESC ³, ESC ², ESCESC ¹ nL nH Transmit graphic page to communication portESC ³ n Reference ESC ³, ESC ², ESCAscii ESC ³ Reference ESC ·, ESC ², ESC ExampleReceive graphic page from communication port ESC ² nL nHAscii ESC ² ESC ·, ESC ³, ESCSelect character size ESC ·, ESC ², ESC ³GS ! n Start/end macro definition GS B n Name Turn white/black reverse printing mode on/offGS C 0 n m Select counter print modeESC $ and ESC \ GS C 1 aL aH bL bH n r Select count mode aGS C 1, GS C 2, GS C , GS c GS C 0, GS C 1, GS C , GS c GS C 2 nL nHSet counter Ascii GS C Select count mode BGS C sa sb sn sr sc GS H n GS C 0, GS C 2, GS C 1, GS cSelect printing position of Human Readable Interpreta Tion HRI characters= 2, Type ID GS P or GS $D0, GS W GS L nL nHSet left margin Commands using y ESC 3, ESC J GS P x y modeSet horizontal and vertical motion units Tab.A.3 GS W nL nHExecute macro GS L, GS PGS r t m Print counter GS cGS e n m Ejector commandsReference GS C 0, GS C1, GS C 2, GS C GS H, GS k GS f nSelect font for HRI characters Print bar code Set bar code heightAscii GS NUL Ascii GSBar code system No. of characters Remarks Printer Functions Reference GS H, GS f, GS h, GS w Code CGS r n Transmit statusSet bar code width DLE EOT, ESC u, ESCGS w n Set printing density GS kGS n GS ~ n GS $D0 xH xL yH yL modeSet superscript/subscript ESC !, GSDirection Enable / disable automatic Full Status backOnce enable at least one byte of the Full STATUS, for Name Reading of length cm of printed paper GsγγReading number of cuts performed from the printer Name Reading Number of retracting GSσσ Name Reading Number of power upGsσσ Set printing speed and current consumption GS∝∝ nH nLVirtual paper-end limit $14 $1A Hardware resetPaper specifications ResolutionPrinting mode Printing methodOptions 210 mm 30 cpi Character density 17 cpiShows the dimensions of the table top printer DimensionsCharacter Sets Character SetsTab.A.3 PC865 Output Specifications AccessoriesInput Specifications Fig.A.2 External roll holderFig.A.3 Assembly InstructionsFig.A.4 View from below Sensor wiring Supplies

216, KPM-210 specifications

Infinite Peripherals, a leader in mobile technology solutions, has developed the KPM-210 and KPM-216 devices, renowned for their robust design and multifunctional capabilities. These handheld devices are primarily targeted toward retail and hospitality sectors, providing an ideal solution for businesses seeking enhanced operational efficiency and customer engagement.

One of the standout features of the KPM-210 and KPM-216 is their ability to function as both a mobile point-of-sale (mPOS) and a mobile printer. This versatility allows businesses to streamline their operations by reducing the need for separate devices. Both models are equipped with high-speed printing technology that ensures quick printouts, significantly improving service times during peak hours.

The KPM-210 features a thermal printer with a 58mm printing width, while the KPM-216 offers a slightly wider 80mm option. This adaptability caters to various business needs, from printing receipts to generating tickets or labels. Additionally, the devices support multiple connectivity options, including Bluetooth, USB, and Wi-Fi, ensuring seamless integration with existing systems and easy updates.

Designed with user experience in mind, both models are compact and lightweight, making them highly portable. Their ergonomic design allows for comfortable handling, even during extended use. The devices also feature a long-lasting battery life, enabling users to operate continuously without frequent recharges, which is essential for busy retail environments or outdoor events.

In terms of durability, the KPM-210 and KPM-216 are built to withstand the rigors of daily use. They boast a solid construction that protects against drops and spills, ensuring reliability in demanding settings. Furthermore, with an IP54 rating, these devices are resistant to dust and splashes, making them suitable for use in various environments.

Another notable characteristic of Infinite Peripherals’ KPM series is their advanced software compatibility. The devices support various operating systems, including iOS, Android, and Windows, allowing businesses to integrate them into their current ecosystems effortlessly. This flexibility enables users to leverage their existing applications while benefiting from the capabilities of the KPM-210 and KPM-216.

In conclusion, the Infinite Peripherals KPM-210 and KPM-216 are innovative devices designed to meet the evolving needs of modern businesses. With their multifunctional capabilities, robust design, and user-friendly features, these handheld solutions are set to enhance operational efficiency and elevate customer experiences across various industries.