Custom Engeneering KPM150-H Specifications

Browse online or download Specifications for Print & Scan Custom Engeneering KPM150-H. Custom Engeneering KPM150-H Specifications [en] User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 102
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - COMMAND REFERENCE

STATUSNEAR PAPERENDFFCOMMAND REFERENCECOMMAND REFERENCEKPM150

Page 2 - 2 Command Reference

6 - - - RESERVED.7 - - - RESERVED. n=20: FULL status (6 bytes) 1st Byte = $10 (DLE); 2nd Byte = $0F 3rd Byte = Paper statusBIT OFF/ON HEX

Page 3 - Introduction

Blank pageCommands Index100 Command Reference

Page 5 - EMULATION

www.custom.bizCUSTOM ENGINEERING SPAWorld HeadquartersVia Berettine, 2 - 43010 Fontevivo, Parma ITALYTel. +39 0521 680111 - Fax +39 0521 610701info@cu

Page 6 - 6 Command Reference

4 - - - RESERVED.5Off 00 0 Acknowledge commandOn 20 32 Not acknowledge command error6Off 00 0 Free paper pathOn 40 64 Paper jam7Off 00 0 Notch search

Page 7

$1B $21 nPrinters: KPM150[Name] Select print modes[Format] ASCII ESC ! n Hex 1B 21 n Decimal 27 33 n[Range] 0 ≤ n ≤ 255[Description] Selects prin

Page 8 - 8 Command Reference

[Description] Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed. The distance from t

Page 9

8-dot bit image 24-dot bit image d1Print datad3d2MSBLSBBit-imagedataPrint dataMSBLSBBit-imagedatad4d6d5d1d3d9d8d2d7[Default][Reference][Exam

Page 10 - 10 Command Reference

[Default][Reference] $1B $33[Example]$1B $33 nPrinters: KPM150[Name] Set line spacing[Format] ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n[Range]

Page 11 - ESC/POS™ Emulation

[Description] Select the device to which the host computer sends data, using n as follows:n Function1 Printer enabled2 Printer disabled3 Printer enab

Page 12 - 12 Command Reference

[Reference] $09[Example]$1B $45 nPrinters: KPM150[Name] Select emphasized mode[Format] ASCII ESC E n Hex 1B 45 n Decimal 27 69 n[Range] 0 ≤ n ≤ 255

Page 13

• $1D $50 can change the vertical (and horizontal) motion unit. However, the value cannot be less than the minimum vertical movement amount. • In s

Page 14 - 14 Command Reference

[Notes][Default] n = 0[Reference][Example]$1B $56 nPrinters: KPM150[Name] Select print mode 90° turned[Format] ASCII ESC V n Hex 1B 56 n Decimal 2

Page 15

Edit by:CUSTOM ENGINEERING S.p.A.Str. Berettine 2 - 43010 Fontevivo (PARMA) - Italyhttp: www.custom.bizAll rights reserved 2 Command Reference

Page 16 - 16 Command Reference

$1B $61 nPrinters: KPM150[Name] Select justifi cation[Format] ASCII ESC a n Hex 1B 61 n Decimal 27 97 n[Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50[Description] A

Page 17

[Description] Prints the data in the print buffer and feeds the paper n rows.[Notes] • n rows paper feed is equivalent to (n × char height + line sp

Page 18 - 18 Command Reference

$1B $76Printers: KPM150[Name] Transmit paper sensor status[Format] ASCII ESC v Hex 1B 76 Decimal 27 118[Description] When this command is received,

Page 19

• When the LSB of n is 1, the upside-down printing mode is on.[Notes] • Only the LSB of n is effective. • This command is valid only if entered at

Page 20 - 20 Command Reference

[Description] Enables / disables current ticket. • When the LSB of n is 0, validate the ticket. • When the LSB of n is 1, the current ticket is inv

Page 21

[Notes] • Set n = 26 to complete recover the paper. • WARNING: setting n = 26 is not recommended for paper roll with low weight.[Default] n = 15 mm

Page 22 - 22 Command Reference

OFFSET FIELD SIZE CONTENTS0000h Identifi ed 2 bytesThe characters identifying the bitmap. The following entries are possible :‘BM’ - Windows 2K3, XP, V

Page 23

$1D $42 nPrinters: KPM150[Name] Turn white/black reverse printing mode on/off[Format] ASCII GS B n Hex 1D 42 n Decimal 29 66 n[Range] 0 ≤ n ≤ 255[D

Page 24 - 24 Command Reference

n PRINTER ID SPECIFICATION1, 49 Printer model ID $A92, 50 Type ID Undefi ned3, 51 ROM version ID Depends on ROM version (4 character)5, 53 Printer mod

Page 25

$1D $50 x yPrinters: KPM150[Name] Set horizontal and vertical motion units[Format] ASCII GS P x y Hex 1D 50 x y Decimal 29 80 x y[Range] 0 ≤ x, y

Page 26 - 26 Command Reference

1 INTRODUCTION1.1 Command descriptionEach command reported in this manual is described as shown in the following picture. In the fi rst heading line (g

Page 27

$1D $57 nL nHPrinters: KPM150[Name] Set printing area width[Format] ASCII GS W nL nH Hex 1D 57 nL nH Decimal 29 87 nL nH[Range] 0 ≤ nL, nH ≤ 255 0 ≤

Page 28 - 28 Command Reference

$1D $68 nPrinters: KPM150[Name] Set bar code height[Format] ASCII GS h n Hex 1D 68 n Decimal 29 104 n[Range] 1 ≤ n ≤ 255[Description] Sets the heigh

Page 29

o65 UPC-A 11≤ n ≤12 48≤ d ≤ 5766 UPC-E 11≤ n ≤12 48≤ d ≤ 5767 EAN13 ( JAN) 12≤ n ≤13 48≤ d ≤ 5768 EAN8 ( JAN) 7≤ n ≤8 48≤ d ≤ 5769 CODE39 1≤ n

Page 30 - 30 Command Reference

FNC2 {2 7B, 32 123, 50FNC3 {3 7B, 33 123, 51FNC4 {4 7B, 34 123, 52‘{‘ {{ 7B, 7B 123, 123[Default][Reference] $1D $48, $1D $66, $1D $68, $1D $77 [Exam

Page 31

6 - - - Undefi ned.7 Off 00 0 Not used. Fixed to Off.[Notes] • This command is executed when the data is processed in the data buffer. Therefore, ther

Page 32 - 32 Command Reference

n PRINTING DENSITY0, 48 - 50%1, 49 - 37%2, 50 - 25%3, 51 - 12%4, 52 0%5, 53 + 12%6, 54 + 25%7, 55 + 37%8,56 + 50%[Notes] • Printing density reverts t

Page 33

$1D $E1Printers: KPM150[Name] Reading of length paper (cm) available before virtual paper-end[Format] ASCII GS { } Hex 1D E1 Decimal 29 225[Range][De

Page 34 - 34 Command Reference

1D $E4Printers: KPM150[Name] Reading number of retracting[Format] ASCII GS { } Hex 1D E4 Decimal 29 228[Range][Description] Reading number of retrac

Page 35

$1D $E7Printers: KPM150[Name] Set notch distance[Format] ASCII GS { } nL nH Hex 1D E7 nL nH Decimal 29 231 nL nH[Range] 0 ≤ nH ≤ 255 0 ≤ nL ≤

Page 36 - 36 Command Reference

$1D $F8Printers: KPM150[Name] Align the autocutter with the notch[Format] ASCII GS { } Hex 1D F8 Decimal 29 248[Range][Description] Set the autocutt

Page 37

1.2 Print directionThe printer has two printing direction which can be selected by means of the control characters: normal and reverse. PAPER OUTFEED

Page 38 - 38 Command Reference

3 SVELTA EMULATIONThe following table lists all the commands for function management. The commands must be transmitted to the printer as command strin

Page 39

<NFL s> Print horizontal ITF barcode<NFP s> Print a vertical ITF barcode<NL s> Print an horizontal code 39 barcode<NP s> Print

Page 40 - 40 Command Reference

Given below are more detailed descriptions of each command.<AFSB x>Printers: KPM150[Name] Enable / Disable auto FULL STATUS back[Format] ASCII

Page 41 - SVELTA Emulation

2° byte = User statusBIT OFF/ON HEX Decimal FUNCTION0 Off 00 0 Printing head downOn 01 1 Printing head up error1 Off 00 0 Cover closedOn 02

Page 42 - 42 Command Reference

where: 1°byte0 = 0000 bit7 = 0 bit6 = 0 bit5 = 0 bit4 =0(notch found) (not virtual paper end) (ticket not present) (RESERVED)5 = 0101 bit3 = 0 bit2 =

Page 43

[Reference] <OXY x, y>[Example] Ticket example that use a fi lled box <CB><BA8> <BF800,50,1000,250> <q>(800, 50)(1000,

Page 44 - 44 Command Reference

<BX x1, y1, x2, y2, s, t>Printers: KPM150[Name] Command to create parametric Box[Format] ASCII <BX x1,y1,x2,y2, s, t >[Range][Descrip

Page 45

<CB>Printers: KPM150[Name] Clear data in the print buffer[Format] ASCII <CB>[Range][Description] Clear data in the print buffer, move

Page 46 - 46 Command Reference

7: Font dimension ×78: Font dimension ×8[Notes] The command is ignored if height or width has different value from that reported above.[Default][

Page 47

<LOAD>Printers: KPM150[Name] Reload paper[Format] ASCII <LOAD>[Range][Description] When this command is received, the printer perf

Page 48 - 48 Command Reference

2 ESC/POSTM EMULATION The following table lists all the commands for function management in ESC/POS Emulation of the printer. The commands can be tran

Page 49

<NCP x,y>DataPrinters: KPM150[Name] Print vertical CODE 128 barcode[Format] ASCII <NCP x, y>Data[Range][Description] Print a CODE

Page 50 - 50 Command Reference

[Notes][Default][Reference][Example]<NL s>DataPrinters: KPM150[Name] Print an horizontal CODE 39 barcode[Format] ASCII <NL s>Data[Ra

Page 51

[Range][Description] Sets an offset that will be added to all the transmitted positions. This command is useful to adjusting the printout positions,

Page 52 - 52 Command Reference

<P>Printers: KPM150[Name] Printing command (cut and buffer cleaning) in normal[Format] ASCII <P>[Range][Description] This command

Page 53

• y indicates the vertical position inside the graphic page • sp indicates the thickness value of the image border (express in dot).[Notes] • i

Page 54 - 54 Command Reference

<RC row, column>Printers: KPM150[Name] Position the cursor[Format] ASCII <RC row, column>[Range][Description] Moves the cursor at

Page 55

<SB x>Printers: KPM150[Name] FULL STATUS back request[Format] ASCII <SB x y>[Range] ‘0’ ≤ x ≤ ‘9’, ‘A’ ≤ x ≤ ‘F’[Description] • FULL S

Page 56 - 56 Command Reference

2nd byte = User statusBIT OFF/ON HEX Decimal FUNCTION0 Off 00 0 Printing head downOn 01 1 Printing head up error1 Off 00 0 Cover closedOn 02

Page 57

[Default][Reference][Example] <SBF, 00000000> no errors <SBF, 04000000> near paper end <SBF, 01030000> paper not present, prin

Page 58 - 58 Command Reference

<SP n>Printers: KPM150[Name] Change speed[Format] ASCII <SP n>[Range][Description] Sets printing speed using n as follows :n PRINT

Page 59

$1D $72 GS r Transmit status$1D $E0 GS { } Enable / disable automatic FULL STATUS back$1D $E1 GS { } Reading of length paper (cm) available before vi

Page 60 - 60 Command Reference

<VT>Printers: KPM150[Name] Validate the ticket[Format] ASCII <VT>[Range][Description] When this command is received, the current ticket

Page 61 - KPM54 Emulation

4 KPM54 EMULATIONThe following table lists all the commands for function management in KPM54 Emulation of the printer. The commands can be transmitted

Page 62 - 62 Command Reference

$1B $2A ESC * Select image print modeSTATUS COMMANDS$10 $04 DLE EOT Real-time status transmission$1B $76 ESC v Transmit paper sensor status$1D $72 GS

Page 63

Given below are more detailed descriptions of each command.$08Printers: KPM150[Name] Back space[Format] ASCII BS Hex 08 Decimal 8[Range][Description]

Page 64 - 64 Command Reference

$0DPrinters: KPM150[Name] Print and carriage return[Format] ASCII CR Hex 0D Decimal 13[Range][Description] When autofeed is “CR enabled”, this comma

Page 65

n=2: Off-line statusBIT OFF/ON HEX Decimal FUNCTION0 Off 00 0 Not used. Fixed to Off1 On 02 2 Not used. Fixed to On2 Off 00 0 Not used.

Page 66 - 66 Command Reference

7 Off 00 0 Not used. Fixed to Off n=20: FULL status (6 bytes 1st Byte = $10 (DLE) 2nd Byte = $0F 3rd Byte = Paper statusBIT OFF/ON HEX Decimal

Page 67

6th byte = Unrecoverable error statusBIT OFF/ON HEX Decimal FUNCTION0 Off 00 0 Cutter okOn 01 1 Cutter error1 Off 00 0 Not used. Fixed to Off2

Page 68 - 68 Command Reference

3 Off 00 0 Cutter motor off.On 08 8 Cutter motor on.4 On 10 16 Not used. Fixed to On.5 Off 00 0 Not used. Fixed to Off.6 Off 00 0 Paper

Page 69

$1B $21Printers: KPM150[Name] Select print modes[Format] ASCII ESC ! n Hex 1B 21 n Decimal 27 33 n[Range] 0 ≤ n ≤ 255[Description] Selects print

Page 70 - 70 Command Reference

Given below are more detailed descriptions of each command.$08Printers: KPM150[Name] Back space[Format] ASCII BS Hex 08 Decimal 8[Range][Description]

Page 71

[Description] Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed. The distance from t

Page 72 - 72 Command Reference

character is desired, use c1 = c2. • If c2 < c1, the command is not executed. • d is the dot data for the characters. The dot pattern is in the

Page 73

[Reference] $1D $50[Example]$1B $2APrinters: KPM150[Name] Select bit image mode[Format] ASCII ESC * m nL nH d1...dk Hex 1B 2A m nL nH d1...dk Decima

Page 74 - 74 Command Reference

[Example]$1B $2DPrinters: KPM150[Name] Turn underline mode on/off[Format] ASCII ESC - n Hex 1B 2D n Decimal 27 45 n[Range] 0 ≤ n ≤ 2 48 ≤ n ≤ 50[D

Page 75

$1B $33Printers: KPM150[Name] Set line spacing[Format] ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n[Range] 0 ≤ n ≤ 255[Description] Sets line spacing

Page 76 - 76 Command Reference

BIT OFF/ON HEX Decimal FUNCTION 0 Off 00 0 Printer DisabledOn 01 1 Printer Enabled1 - - - Undefi ned.2 - - - Undefi ned.3 - - - Undefi ned.4 - - - Un

Page 77

$1B $44Printers: KPM150[Name] Set horizontal tab positions[Format] ASCII ESC D n1...nk NUL Hex 1B 44 n1...nk $00 Decimal 27 68 n1...

Page 78 - 78 Command Reference

$1B $47Printers: KPM150[Name] Turn double-strike mode on/off[Format] ASCII ESC G n Hex 1B 47 n Decimal 27 71 n[Range] 0 ≤ n ≤ 255[Description] Tur

Page 79

HEX 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7En CHARACTER SER0 U.S.A. # $ @ [ \ ] ^ ` { | } ~1 France # $ à ° ç § ^ ` é ù è “2 Germany # $ § Ä Ö Ü ^ ` äöüb3

Page 80 - 80 Command Reference

[Notes] • Any setting that exceeds the printable area is ignored. • When the starting position is specifi ed by n motion units to the right: nL + nH ×

Page 81

$0DPrinters: KPM150[Name] Print and carriage return[Format] ASCII CR Hex 0D Decimal 13[Description] When autofeed is “CR enabled”, this command func

Page 82 - 82 Command Reference

• On the printer, the panel buttons are LINE FEED and FORM FEED. • When the keys panel is disabled, the keys may only be used after the printer has

Page 83

[Notes] [Default] n = 0[Reference] See character code tables, $1C $65, $1C, $66[Example] $1B $76Printers: KPM150[Name] Transmit paper sensor status

Page 84 - 84 Command Reference

$1B $7BPrinters: KPM150[Name] Turn upside-down printing mode on/off[Format] ASCII ESC { n Hex 1B 7B n Decimal 27 123 n[Range] 0 ≤ n ≤ 255[Descripti

Page 85

[Reference] $1B $21[Example]$1D $3APrinters: KPM150[Name] Set start/end of macro defi nition[Format] ASCII GS : Hex 1D 3A Decimal 29 58[Range][Descrip

Page 86 - 86 Command Reference

$1D $43 $30Printers: KPM150[Name] Select counter print mode[Format] ASCII GS C 0 n m Hex 1D 43 30 n m Decimal 29 67 48 n m[Range] 0 ≤ n ≤ 5

Page 87

• When this command is executed, the internal count that indicates the repetition number specifi ed by r is cleared. [Default] aL = 1, aH = 0, bL =

Page 88 - 88 Command Reference

• In setting count-down mode, the maximum value of the counter is sa and the minimum value is sb. If counting down reaches a value less than the min

Page 89

n = 2, 50 Type IDBIT OFF/ON HEX Decimal FUNCTION0 Off 00 0 2-byte characters codes not supported1Off 00 0 Autocutter not suppliedOn 02 2 Autocu

Page 90 - 90 Command Reference

$1D $50Printers: KPM150[Name] Set horizontal and vertical motion units[Format] ASCII GS P x y Hex 1D 50 x y Decimal 29 80 x y[Range] 0 ≤ x, y ≤ 25

Page 91

[Default] If Font A : nL = 192 nH = 1 If Font B : nL = 164 nH = 1[Reference] $1D $4C, $1D $50[Example]$1D $5EPrinters: KPM150[Name] Execute ma

Page 92 - 92 Command Reference

n=2: Off-line statusBIT OFF/ON HEX Decimal FUNCTION0 Off 00 0 Not used. Fixed to Off1 On 02 2 Not used. Fixed to On2Off 00 0 Cover closedOn 04 4 C

Page 93

• In count-down mode, if the counter value set by this command goes out of the counter operation range set by $1D $43 $31 or $1D $43 $3B; it is forc

Page 94 - 94 Command Reference

[Description] Selects a bar code system and prints the bar code. m selects a bar code system as follows:nm BARCODE SYSTEM No. OF CHARACTERS REMARKS0 U

Page 95

• The printer prints an HRI character ( n ) as a control character ( $00 to $1F and $7F). When CODE128 is used: • When using CODE128 in this print

Page 96 - 96 Command Reference

$1D $77Printers: KPM150[Name] Set bar code width[Format] ASCII GS w n Hex 1D 77 n Decimal 29 119 n[Range] 2 ≤ n ≤ 6[Description] Sets the horizontal

Page 97

n FUNCTION0, 48 Subscript character position1, 49 Superscript character position[Notes] • This command is executed if there are characters of differe

Page 98 - 98 Command Reference

[Description] Reading of length (cm) of printed paper.[Notes] The command return a string pointing out how much paper is printed, for example if the

Page 99 - Commands Index

$1D $F2Printers: KPM150[Name] Set the discrimination level of the alignment notch[Format] ASCII GS { } n m Hex 1D F2 n m Decimal 29 242 n m[Range] 0

Page 100 - 100 Command Reference

• In the $10 $04 n command, with n = 17, the fourth bit of the returned byte, identifi es that the notch alignment procedure is in running, while the

Page 101

5 COMMANDS INDEXESC/POSTM EMULATION$08......7$09...

Page 102 - CUSTOM ENGINEERING SPA

KPM54 EMULATION$08..................63$09..............

Comments to this Manuals

No comments