Download Print this page
Custom Audio Electronics TK300II Command Reference Manual

Custom Audio Electronics TK300II Command Reference Manual

Hide thumbs Also See for TK300II:

Advertisement

Quick Links

COMMAND REFERENCE

COMMAND REFERENCE
TK300II
KPM300
KUBE II
KUBE-L

Advertisement

loading
Need help?

Need help?

Do you have a question about the TK300II and is the answer not in the manual?

Questions and answers

Summary of Contents for Custom Audio Electronics TK300II

  • Page 1: Command Reference

    COMMAND REFERENCE COMMAND REFERENCE TK300II KPM300 KUBE II KUBE-L...
  • Page 2 Edit by: CUSTOM ENGINEERING S.p.A. Str. Berettine 2 - 43010 Fontevivo (PARMA) - Italy http: www.custom.biz All rights reserved Command Reference...
  • Page 3: Command Description

    Introduction 1 INTRODUCTION 1.1 Command description Each command reported in this manual is described as shown in the following picture. In the fi rst heading line (grey colour) is reported the hexadecimal command value. In the second heading line are listed the printers on which it is possible to use the command (for example printer AAAA).
  • Page 4 Introduction 1.2 Print direction The printer has two printing direction which can be selected by means of the control characters: normal e reverse. 1234567890 abcdefghilmnopqrs ABCDEFGHILMNOPQRS Normal Mode Reverse Mode Command Reference...
  • Page 5: Esc

    ESC/POS™ Emulation 2 ESC/POS EMULATION The following table lists all the commands for function management in ESC/POS Emulation 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.
  • Page 6: Esc

    ESC/POS™ Emulation $1B $44 ESC D Set horizontal tab position $1B $5C ESC \ Set relative print position $1B $61 ESC a Select justifi cation $1D $4C GS L Set left margin $1D $57 GS W Set printing area width BIT-IMAGE COMMANDS $1B $2A ESC *...
  • Page 7: Esc

    ESC/POS™ Emulation $1C $C1 FS { } Paper recovery after cut $1D $56 GS V Select cut mode MISCELLANEOUS COMMANDS $1B $63 $35 ESC c 5 Enable/Disable keys panel $1B $3D ESC = Select device $1B $40 ESC @ Initialize printer $1B $70 ESC p Generate pulse...
  • Page 8 ESC/POS™ Emulation Given below are more detailed descriptions of each command. Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Back space [Format] ASCII Decimal [Range] [Description] Moves print position to previous character. [Notes] Can be used to put two characters at the same position.
  • Page 9 ESC/POS™ Emulation Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print and carriage return [Format] ASCII Decimal [Range] [Description] When autofeed is “CR enabled”, this command functions in the same way as $0A, oth- erwise it is disregarded.
  • Page 10 ESC/POS™ Emulation n=2: Off-line status OFF/ON Decimal FUNCTION Not used. Fixed to Off Not used. Fixed to On Cover closed Cover opened Paper isn’t feeded by FEED. key Paper is feeded by FEED. key Not used. Fixed to On Paper present Printing stop due to paper end No error Error...
  • Page 11 ESC/POS™ Emulation n=20: FULL status (6 bytes) 1° Byte = $10 (DLE) 2° Byte = $0F 3° Byte = Paper status OFF/ON Decimal FUNCTION Paper present Paper not present RESERVED Paper present Near paper end RESERVED RESERVED Ticket not present in output Ticket present in output Not virtual paper end (*).
  • Page 12 ESC/POS™ Emulation 6° byte = Unrecoverable error status OFF/ON Decimal FUNCTION Cutter ok Cutter error Cutter cover ok Cutter cover open RAM ok RAM error EEPROM ok EEPROM error RESERVED RESERVED RESERVED RESERVED n=21: transmit printer ID 1° byte = $75 (refer to command $1D $49) n=22: EXTENDED FULL STATUS (10 bytes) 1°...
  • Page 13 ESC/POS™ Emulation 5° byte = Recoverable error status OFF/ON Decimal FUNCTION Head temperature ok. Head temperature error No COM error RS232 COM error RESERVED Power supply voltage ok Power supply voltage error RESERVED Acknowledge command Not acknowledge command error Free paper path Paper jam Notch search ok Error in notch search...
  • Page 14 Decimal RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Cancel current line transmitted [Format] ASCII Decimal [Description] Deletes current line transmitted. [Notes] • Sets the print position to the beginning of the line.
  • Page 15 ESC/POS™ Emulation $1B $20 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set right-side character spacing [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Sets the character spacing for the right side of the character to [n x horizontal or vertical motion units].
  • Page 16 [Default] n = 0 [Reference] $1B $2D, $1B $45, $1D $21 [Example] $1B $24 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set absolute print position [Format] ASCII Decimal [Range] 0 ≤...
  • Page 17 ESC/POS™ Emulation $1B $26 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Defi nes user-defi ned characters [Format] ASCII & Decimal [Range] y = 3 32 ≤ c1 ≤ c2 ≤ 126 0 ≤ x ≤ 16 (Font (18 × 24)) 0 ≤...
  • Page 18 ESC/POS™ Emulation $1B $28 $76 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set relative vertical print position [Format] ASCII Decimal [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Description] Sets the print vertical position based on the current position by using the horizontal or vertical motion unit.
  • Page 19 Print data Print data [Default] [Reference] [Example] $1B $2D Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Turn underline mode on/off [Format] ASCII Decimal [Range] 0 ≤ n ≤ 2 48 ≤ n ≤ 50...
  • Page 20 ESC/POS™ Emulation $1B $30 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Select 1/8-inch line spacing [Format] ASCII Decimal [Range] [Description] Selects 1/8-inch line spacing [Notes] [Default] [Reference] $1B $33 [Example] $1B $32 Printers:...
  • Page 21 ESC/POS™ Emulation $1B $3D Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Select peripheral device [Format] ASCII Decimal [Range] 1 ≤ n ≤ 3, n = 5 [Description] Select the device to which the host computer sends data, using n as follows:...
  • Page 22 ESC/POS™ Emulation $1B $44 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set horizontal tab positions [Format] ASCII n1...nk n1...nk Decimal n1...nk [Range] 1 ≤ n ≤ 255 0 ≤ k ≤ 32 [Description] Sets horizontal tab positions •...
  • Page 23 ESC/POS™ Emulation $1B $47 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Turn double-strike mode on/off [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Turns double-strike mode on or off. • When the LSB of n is 0, the double-strike mode is off.
  • Page 24 Font 20 cpi (10 × 24) [Notes] [Default] [Reference] $1B $C1 [Example] $1B $52 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Select an international character set [Format] ASCII Decimal [Range] 0 ≤ n ≤ 10...
  • Page 25 • If this command is entered in Page mode, the printer all the same save the setting. Default] n = 0 [Reference] $1B $21, $1B $2D [Example] $1B $5C Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set relative print position [Format] ASCII Decimal [Range] 0 ≤...
  • Page 26 ESC/POS™ Emulation $1B $61 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Select justifi cation [Format] ASCII Decimal [Range] 0 ≤ n ≤ 2 48 ≤ n ≤ 50 [Description] Aligns all data in one line to the specifi ed position. n selects the type of justifi cation as...
  • Page 27 ESC/POS™ Emulation $1B $64 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print and feed paper n rows [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Prints the data in the print buffer and feeds the paper n rows.
  • Page 28 • If t2 < t1, the OFF time is [ t1 × 2 ms ]. [Default] [Reference] [Example] $1B $74 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Select character code table [Format] ASCII...
  • Page 29 ESC/POS™ Emulation $1B $76 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Transmit paper sensor status [Format] ASCII Decimal [Range] [Description] When this command is received, transmit the current status of the paper sensor.
  • Page 30 ESC/POS™ Emulation $1B $C1 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set/cancel cpi mode [Format] ASCII Decimal [Range] 0 ≤ n ≤ 1, 48 ≤ n ≤ 49 [Description] Sets cpi mode based on the following values of n:...
  • Page 31 ESC/POS™ Emulation $1C $80 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Read date/time of the real time clock [Format] ASCII Decimal [Range] 0 ≤ m ≤ 3 [Description] Read date/time of the real time clock in the format specifi ed by m values as follows:...
  • Page 32 ESC/POS™ Emulation $1C $81 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Read date/time of the real time clock [Format] ASCII d0...dn d0...dn Decimal d0...dn [Range] 0 ≤ m ≤ 3 0 ≤ d0, dn ≤ 255 [Description] Read date/time of the real time clock in the format specifi...
  • Page 33 ESC/POS™ Emulation $1C $83 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print time [Format] ASCII Decimal [Range] [Description] Prints date in the format specifi ed by the command $1C $84 with the parameter n=’T’.
  • Page 34 If the date and time is 22 October 2006 at 17:35:27 (PM) the output string printed will be: 06/10/22 17:35:27 $1C $8A Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Delete the disk contents...
  • Page 35 If the sent command is valid and the contents has been correctly deleted, the printer transmits the ACK ($06), otherwise return NACK ($015). [Default] [Reference] [Example] $1C $8B Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print images saved in SD/MMC card [Format] ASCII Decimal...
  • Page 36 ASCII The printer’s answer will be : $3C $50 $4E $31 $30 $3E ASCII < > $1C $91 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Get pictures header list [Format] ASCII Decimal [Range] [Description] This command requests to the printer the list of stored logo.
  • Page 37 ESC/POS™ Emulation $1C $93 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print logo [Format] ASCII sp posH posL sp posH posL Decimal sp posH posL [Range] 0 ≤ nH, nL ≤ 255 [Description] Prints logo defi...
  • Page 38 ESC/POS™ Emulation $1C $94 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Save the image received from serial port into the fl ash [Format] ASCII FS { } nH nL xDimH xDimL yDimH yDimL TbdH TbdL Id0..Idn d0..dn >...
  • Page 39 ESC/POS™ Emulation $1C $B0 Printers: KPM300 VeriPrint (only for models with BARCODE reader), TK300II VeriPrint (only for models with BARCODE reader) [Name] Sets the barcode reader status. [Format] ASCII Decimal [Range] $30 ≤ n ≤ $36 [Description] This command sets the operating status of the barcode reader; n identifi es the status of...
  • Page 40 ESC/POS™ Emulation [Default] [Reference] [Example] $1C $B1 Printers: KPM300 VeriPrint (only for models with BARCODE reader), TK300II VeriPrint (only for models with BARCODE reader) [Name] Get barcode reader status. [Format] ASCII Decimal [Range] $30 ≤ n ≤ $34 [Description] Reads the barcode reader parameters in base of n value :...
  • Page 41 [Default] [Reference] $FS $B0 [Example] $1C $B2 Printers: KPM300 VeriPrint (only for models with BARCODE reader), TK300II VeriPrint (only for models with BARCODE reader) [Name] Barcode reader Trigger. [Format] ASCII Decimal [Range] [Description] This command execution forces a trigger of barcode reader. It returns: •...
  • Page 42 ESC/POS™ Emulation $1C $C0 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Hardware reset [Format] ASCII FS $14 $1A 14 1A Decimal 20 26 ASCII FS $14 $1B 14 1B Decimal 20 27 [Range]...
  • Page 43 ESC/POS™ Emulation $1D $21 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Select character size [Format] ASCII Decimal [Range] 0 ≤ n ≤ 7, 16 ≤ n ≤ 23, 32 ≤ n ≤ 39, 48 ≤...
  • Page 44 ESC/POS™ Emulation $1D $28 $6B Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print two-dimensional barcode [Format] ASCII cn fn cn fn Decimal cn fn [Range] [Description] Processes the data concerning two-dimensional barcode. • Symbol type is specifi ed by cn •...
  • Page 45 [Default] n = 0 [Reference] $1D $28 $6B [Example] $1D $28 $6B [function 065] Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Specify encoding scheme of AZTEC symbol [Format] ASCII cn fn cn fn...
  • Page 46 ESC/POS™ Emulation $1D $28 $6B [function 067] Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Specify the width of a module of PDF417 symbol [Format] ASCII cn fn cn fn Decimal cn fn [Range] (pL+pH ×...
  • Page 47 ESC/POS™ Emulation $1D $28 $6B [function 068] Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Specify AZTEC symbol size [Format] ASCII cn fn cn fn Decimal cn fn [Range] (pL+pH × 256) = 3...
  • Page 48 = 49, n = 1 [ratio: 10%] [Reference] $1D $28 $6B [Example] $1D $28 $6B [function 069] Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Specify the error correction level (AZTEC) [Format] ASCII...
  • Page 49 [Notes] [Default] n = 0 [Reference] [Example] $1D $28 $6B [function 080] Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Store the PDF417 symbol data in the symbol save area [Format] ASCII cn fn d1...dk...
  • Page 50 • Specify only the data code word of the symbol with this function. [Default] [Reference] [Example] $1D $28 $6B [function 081] Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Encodes and prints the PDF417 symbol data in the symbol save area [Format] ASCII...
  • Page 51 ESC/POS™ Emulation $1D $28 $6B [function 365] Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Specify the encoding scheme of DATAMATRIX symbol [Format] ASCII cn fn cn fn Decimal cn fn [Range] cn = 51 fn = 65 0 ≤...
  • Page 52 ESC/POS™ Emulation $1D $28 $6B [function 367] Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set dot size [Format] ASCII cn fn cn fn Decimal cn fn [Range] cn = 51 fn = 67 2 ≤...
  • Page 53 ESC/POS™ Emulation $1D $28 $6B [function 380] Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Store the DATAMATRIX symbol data in the symbol save area [Format] ASCII cn fn d1...dk cn fn d1...dk Decimal cn fn d1...dk...
  • Page 54 ESC/POS™ Emulation $1D $2A Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Defi ne dowloaded bit image [Format] ASCII d1...d(x × y × 8) d1...d(x × y × 8) Decimal d1...d(x × y × 8) [Range] 1 ≤...
  • Page 55 ESC/POS™ Emulation $1D $2F Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print dowloaded bit image [Format] ASCII Decimal [Range] [Description] Prints a downloaded bit image using the mode specifi ed by m. m selects a mode from...
  • Page 56 ESC/POS™ Emulation $1D $42 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Turn white/black reverse printing mode on/off [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Turns white/black reverse printing mode on or off.
  • Page 57 1 ≤ n ≤ 3, 49 ≤ n ≤ 51 [Description] Transmits the printer ID specifi ed by n follows: PRINTER ID SPECIFICATION $9D (KPM300 VeriPrint) $9D (TK300II VeriPrint) 1, 49 Printer model ID $94 (KUBE II VeriPrint) $94 (KUBE-L VeriPrint) 2, 50...
  • Page 58 ESC/POS™ Emulation $1D $4C Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set left margin [Format] ASCII Decimal [Range] 0 ≤ nL, nH ≤ 255 [Description] Sets the left margin. • The left margin is set to [(nL + nH × 256) × (horizontal motion unit)] inches.
  • Page 59: Printable Area

    ESC/POS™ Emulation $1D $56, $1D $56 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Select cut mode [Format] ASCII Decimal ASCII Decimal [Range] m = 0, 48 m = 65, 0 ≤ n ≤ 255 [Description] Selects cut mode and executes the cut command.
  • Page 60 ESC/POS™ Emulation [Default] [Reference] $1D $4C, $1D $50 [Example] $1D $5E Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Execute macro [Format] ASCII Decimal [Range] 0 ≤ r, t ≤ 255 0 ≤ m ≤ 1 [Description] Executes a macro.
  • Page 61 ESC/POS™ Emulation $1D $68 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set bar code height [Format] ASCII Decimal [Range] 1 ≤ n ≤ 255 [Description] Sets the height of the bar code. n specifi es the number of vertical dots.
  • Page 62 ESC/POS™ Emulation [Notes] • If d is outside of the specifi ed range, the printer prints the following message: “BAR CODE GENERATOR IS NOT OK!” and processes the data which follows as normal data. • If the horizontal size exceeds the printing area, the printer only feeds the paper. •...
  • Page 63 1D 6B 04 54 45 53 54 00 Example of print the Bar Code 39 1D 6B 45 04 54 45 53 54 $1D $72 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Transmit status [Format]...
  • Page 64 ESC/POS™ Emulation $1D $76 $30 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print raster bit image [Format] ASCII xL xH yL yH d1...dk xL xH yL yH d1...dk Decimal xL xH yL yH d1...dk [Range] 0 ≤...
  • Page 65 ESC/POS™ Emulation $1D $77 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set bar code width [Format] ASCII Decimal [Range] 1 ≤ n ≤ 6 [Description] Sets the horizontal size of the bar code. n specifi es the bar code width as follows: MODULE WIDTH (mm) 0.125...
  • Page 66 ESC/POS™ Emulation $1D $E0 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Enable / disable automatic FULL STATUS back [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Enable / disable automatic full status back. n specifi es the composition of FULL STATUS...
  • Page 67 [Default] [Reference] $1D $E6 [Example] $1D $E2 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Reading number of cuts performed from the printer [Format] ASCII Decimal...
  • Page 68 ESC/POS™ Emulation $1D $E6 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Virtual paper-end limit [Format] ASCII Decimal [Range] 0 ≤ nH≤ 255 0 ≤ nL ≤ 255 [Description] This command sets the limit after which is pointed out the virtual paper-end.
  • Page 69 • Printing speed reverts to the default value when the printer is reset or turned off. [Default] n = 1 [Reference] [Example] $1D $F6 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint Name] Align the print head with the notch [Format] ASCII Decimal...
  • Page 70 ESC/POS™ Emulation $1F $4D $57 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Request for paper width stored [Format] ASCII Decimal [Range] [Description] Return the LMAR and RMAR values detected and stored after the last AUTOLOAD or the last command $1C $4D $77.
  • Page 71 ESC/POS™ Emulation $1F $4D $77 Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Request for paper width detection [Format] ASCII Decimal [Range] [Description] Return the LMAR and RMAR values detected instantaneously. The answer is a string as follow: ‘w83.98,LMAR,RMARmm’...
  • Page 72 ESC/POS™ Emulation Blank page Command Reference...
  • Page 73 SVELTA Emulation 3 SVELTA EMULATION The following table lists all the commands for function management. The commands must be transmitted to the printer as command string enclosed between ‘<’ character and ‘>’ character. COMMAND DESCRIPTION TABLE Tab.2 Com. ASCII Description PRINT COMMANDS <DATE>...
  • Page 74 SVELTA Emulation <PAPW> Request for paper width stored <TB x1,y1,x2,y2> Create a TEST BOX (ghost) on scanned image (B/W) <TP x1,y1,x2,y2> Detect the n. of black dots in an image area scanned (B/W) STATUS COMMAND <AFSB x> Enable / Disable auto FULL STATUS back <AFSB yx>...
  • Page 75 SVELTA Emulation <LOAD> Reload paper <SDT m Data> Set date/time through serial port <SVEL> Change printer emulation to SVELTA TICKET MANAGEMENT COMMANDS <BA n> Change the ticket print intensity <SP n> Change speed LOGOS MANAGEMENT COMMANDS <PC HexNumLogo HexXDim HexY- Save the image in fl...
  • Page 76 SVELTA Emulation Given below are more detailed descriptions of each command. <AFSB x> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Enable / Disable auto FULL STATUS back [Format] ASCII <AFSB x> [Range] ‘0’ ≤ x ≤ ‘9’, ‘A’ ≤ x ≤ ‘F’...
  • Page 77 SVELTA Emulation 1° byte = Full status OFF/ON Decimal FUNCTION Paper present Paper not present RESERVED Paper present Near paper end RESERVED RESERVED Ticket not present in output Ticket present in output Not virtual paper end Virtual paper end Notch found Notch not found 2°...
  • Page 78 SVELTA Emulation 4° byte = Unrecoverable error status OFF/ON Decimal FUNCTION Cutter ok Cutter error Cutter cover ok Cutter cover open RAM ok RAM error EEPROM ok EEPROM error RESERVED RESERVED RESERVED RESERVED [Default] [Reference] [Example] To request the Full status (1° byte) and the User status (2°byte) proceed as follow: see bitmask: BIT3 = 0 BIT2 = 0...
  • Page 79 SVELTA Emulation <AFSB yx> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Enable / Disable auto FULL STATUS back [Format] ASCII <AFSB yx> [Range] ‘0’ ≤ y ≤ ‘9’, ‘A’ ≤ y ≤ ‘F’...
  • Page 80 SVELTA Emulation [Notes] • Once enable at least one byte of the FULL STATUS, for each change of at least one of the bits which compose the required status, the status sent in automatic from the printer will be so composed as follows: <SB yx, CHR1 ..
  • Page 81 SVELTA Emulation 3° byte = Recoverable error status OFF/ON Decimal FUNCTION Head temperature ok. Head temperature error No COM error RS232 COM error RESERVED Power supply voltage ok Power supply voltage error RESERVED Acknowledge command Not acknowledge command error Free paper path Paper jam Notch search ok Error in notch search...
  • Page 82 SVELTA Emulation 6° byte = Info2 FUNCTION OFF/ON Decimal SD/MMC card not present SD/MMC card present Used space in SD/MMC card < 80% Used space in SD/MMC card ≥ 80% SD/MMC card not full SD/MMC card full RESERVED RESERVED RESERVED RESERVED RESERVED 7°...
  • Page 83 = 0 bit1 = 0 bit0 =1 (RESERVED) (card not full) (used space < 80%) (card present) <b x> Printers: KPM300 , TK300II VeriPrint VeriPrint [Name] Set the timeout for barcode turn off [Format] ASCII <b x> [Range] [Description] Set the timeout (tenth second) for barcode turn off.
  • Page 84 Returns the scan timeout value of the barcode reader. [Notes] [Default] [Reference] [Example] <B2D k, C, x> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set the width of a module of two-dimensional barcode [Format] ASCII <B2D k, C, x>...
  • Page 85 = 1, x = 1 [ratio: 10%] [Reference] [Example] <B2D k, P, x, d1...dn> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Store the two-dimensional barcode data in the symbol save area [Format] ASCII <B2D k, P, x, d1...dn>...
  • Page 86 SVELTA Emulation <B2D l, A, x> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Specify the encoding scheme of DATAMATRIX symbol [Format] ASCII <B2D l, A, x> [Range] 0 ≤ x ≤ 6 [Description] Set the encoding scheme specifi...
  • Page 87 SVELTA Emulation <B2D l, C, x> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set symbol size (DATAMATRIX) [Format] ASCII <B2D l, C, x> [Range] 1 ≤ x ≤ 29 [Description] Set the symbol size specifi ed by x as follows:...
  • Page 88 SVELTA Emulation <B2D l, P, x, d1...dn> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Store the two-dimensional barcode data in the symbol save area (DATAMATRIX) [Format] ASCII <B2D l, P, x, d1...dn> [Range] [Description] Store the DATAMATRIX symbol data (d1...dn) in the symbol save area.
  • Page 89 SVELTA Emulation <B2D m, C, n> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Specify AZTEC symbol size [Format] ASCII <B2D m, C, n> [Range] 0 ≤ n ≤ 36 [Description] Specifi es AZTEC barcode format (rows and columns), as follows:...
  • Page 90 SVELTA Emulation <B2D m, P, n, d0...dk> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Store and prints the AZTEC symbol data in the symbol save area [Format] ASCII <B2D m, P, n, d0...dk>...
  • Page 91 SVELTA Emulation where corresponds to CR character ($0D). - x indicate the reading result ; the x value can be : ‘!’ : the barcode is read ‘#’: the barcode is not correctly read - barcode is the barcode’s characters read •...
  • Page 92 SVELTA Emulation <BEEP 1, tt> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Emits a beeb [Format] ASCII <BEEP1, tt> [Range] [Description] When this command is received, the printer emits a beeb as acoustic signalling.
  • Page 93 SVELTA Emulation <BS height, width> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Defi ne area for the box mode [Format] ASCII <BS height, width> [Range] [Description] Defi nes the area where position a character. If the box dimensions are bigger than the font, then the empty spaces are fi...
  • Page 94 SVELTA Emulation [Example] Command sent: <BU80,50,120,200> 120px 80px Paper direction <BV x1, y1, x2, y2> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Command to create empty Box [Format] ASCII <BF x1,y1,x2,y2> [Range] [Description] Create an empty box on the basis of x1, y1, x2, y2 coordinates where : x1 ->...
  • Page 95 SVELTA Emulation <BX x1, y1, x2, y2, s, t> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Command to create parametric Box [Format] ASCII <BX x1,y1,x2,y2, s, t > [Range] [Description] Create a box defi ned by the following parameters where : x1 ->...
  • Page 96 SVELTA Emulation <C1ST> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] BITS reset of the fi rst ticket (INFO1) [Format] ASCII <C1ST> [Range] [Description] Perform a reset (BIT0 and BIT1) of INFO1 byte (FULLSTATUS)
  • Page 97 [Range] [Description] Set the communication toward RFID module. [Notes] [Default] [Reference] [Example] <DATE> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print date [Format] ASCII <DATE> [Range] [Description] Prints date in the format specifi ed by the command ‘<TDF>’.
  • Page 98 SVELTA Emulation <DPRT 3, n> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print images saved in SD/MMC card [Format] ASCII <DPRT 3, n> [Range] n = 0, 1 [Description] Print images saved in SD/MMC card as follow:...
  • Page 99 ! 151006105620 > if the transmission is successfully, otherwise <DT > if the transmission is not successful <EPOS> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Change printer emulation to ESC/ POS [Format] ASCII <EPOS>...
  • Page 100 SVELTA Emulation <F n> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Select the font [Format] ASCII <F n> [Range] [Description] Selects the current font where n indicates the font to use. [Notes] [Default]...
  • Page 101 SVELTA Emulation <LHT length, height, notch, dimnotch> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set ticket dimension to print [Format] ASCII <LHT length, height, notch, dimnotch> [Range] [Description] Sets the ticket dimension to print in the following mode: lenght is the ticket length (in dot);...
  • Page 102 SVELTA Emulation <NFL s>Data Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print horizontal ITF barbode [Format] ASCII <NFL s>Data [Range] [Description] Print an ITF barcode type in horizontal. The s parameter indicates the barcode height in millimetres.
  • Page 103 SVELTA Emulation <NP s>Data Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print a vertical CODE 39 barcode [Format] ASCII <NP s>Data [Range] [Description] Print a CODE 39 barcode type in vertical. The s parameter indicates the barcode height in millimetres.
  • Page 104 SVELTA Emulation <P> Printers: KPM300 , TK300II VeriPrint VeriPrint [Name] Printing command (cut and buffer cleaning) in normal [Format] ASCII <P> [Range] [Description] This command executes the following operations : - align the ticket to notch; - barcode reader turn ON (only for models with BARCODE reader);...
  • Page 105 SVELTA Emulation M M A A G G E E F F F IL L E Paper direction <PAPW> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Request for paper width stored [Format] ASCII <PAPW>...
  • Page 106 SVELTA Emulation <PCHexNumLogo HexXDim HexYDim HexTBD Id Hexdata> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Save the image received from serial port into fl ash [Format] ASCII <PCHexNumLogo HexXDim HexYDim HexTBD Id Hexdata>...
  • Page 107 SVELTA Emulation <PE n> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Delete image [Format] ASCII <PE n> [Range] [Description] Deletes image defi ned by n. The printer returns a sequence of bytes as follows : Image n not found;...
  • Page 108 SVELTA Emulation <PN> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Get number of stored logo [Format] ASCII <PN> [Range] [Description] This command sends to the printer the request of number of stored logo; the printer returns a bytes sequence as follows : <PNn>...
  • Page 109 SVELTA Emulation <PR n, x, y, sp> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print rotated image [Format] ASCII <PR n, x, y, sp> [Range] [Description] Prints rotated image in graphic page where •...
  • Page 110 SVELTA Emulation <Q> Printers: KPM300 , TK300II VeriPrint VeriPrint [Name] Printing command (only buffer cleaning) in normal [Format] ASCII <Q> [Range] [Description] This command executes the following operations : - align the ticket to notch; - barcode reader turn ON (only for models with BARCODE reader);...
  • Page 111 SVELTA Emulation <RU> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Rotate text 180° [Format] ASCII <RU> [Range] [Description] Rotate text 180°. [Notes] [Default] [Reference] [Example] <SB x> Printers: KPM300 , KUBE II , KUBE-L...
  • Page 112 SVELTA Emulation 1° byte = Full status OFF/ON Decimal FUNCTION Paper present Paper not present RESERVED Paper present Near paper end RESERVED RESERVED Ticket not present in output Ticket present in output Not virtual paper end Virtual paper end Notch found Notch not found 2°...
  • Page 113 = 1 bit0 =0 (drag motor off) (spooling) (cover closed) (print head down) <AFSB yx> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Enable / Disable auto FULL STATUS back [Format] ASCII <AFSB yx> [Range] ‘0’...
  • Page 114 SVELTA Emulation 8° byte = Info 4 7° byte = Info 3 6° byte = Info 2 5° byte = Info 1 BIT7 BIT6 BIT5 BIT4 » » » » » » » » » » » » » » »...
  • Page 115 SVELTA Emulation 1° byte = Full status OFF/ON Decimal FUNCTION Paper present Paper not present RESERVED Paper present Near paper end RESERVED RESERVED Ticket not present in output Ticket present in output Not virtual paper end Virtual paper end Notch found Notch not found 2°...
  • Page 116 SVELTA Emulation 4° byte = Unrecoverable error status OFF/ON Decimal FUNCTION Cutter ok Cutter error Cutter cover ok Cutter cover open RAM ok RAM error EEPROM ok EEPROM error RESERVED RESERVED RESERVED RESERVED 5° byte = Info1 OFF/ON Decimal FUNCTION One or more tickets printed after turn ON No tickets printed after turn ON One or more tickets printed after AUTOLOAD...
  • Page 117 SVELTA Emulation 7° byte = Info3 FUNCTION OFF/ON Decimal RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED 8° byte = Info4 FUNCTION OFF/ON Decimal RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED [Default] [Reference] [Example] To request the Full status (1° byte), the User status (2° byte) and the Info2 (6° byte) pro- ceed as follow: see bitmask: BIT7 = 0...
  • Page 118 SVELTA Emulation <SDT m data> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set date/time of the real time clock through serial port [Format] ASCII <SDT m data> [Range] [Description] Set date/time of the real time clock through serial port, in the format specifi ed by m values...
  • Page 119 SVELTA Emulation <Sn> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Status request [Format] ASCII <Sn> [Range] [Description] The host can ask to the printer many differents status infos; the n parameter indicates which type of request :...
  • Page 120 SVELTA Emulation <SVEL> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Change printer emulation to SVELTA [Format] ASCII <SVEL> [Range] [Description] Set the SVELTA emulation. [Notes] [Default] [Reference] [Example] <T> Printers: KPM300 , KUBE II...
  • Page 121 IM M A A G G G IN N E E F L L E Paper direction <TDF m data> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Set user-defi ned date/time formats [Format] ASCII <TDF m data>...
  • Page 122 2. Send the following command to print the time : <TIME> If the date and time is 22 October 2006 at 17:35:27 (PM) the output string printed will 06/10/22 17:35:27 <TIME> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Print Time [Format] ASCII <TIME>...
  • Page 123 SVELTA Emulation <TP x1, y1, x2, y2> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Detect the n. of black dots in an image area scanned (B/W) [Format] ASCII <TP x1,y1,x2,y2> [Range] [Description] • Detect the number of black dots inside an area defi ned with x1, y1, x2, y2 coordinates (in pixel), where: x1 ->...
  • Page 124 SVELTA Emulation <X n, m> Printers: KPM300 , KUBE II , KUBE-L , TK300II VeriPrint VeriPrint VeriPrint VeriPrint [Name] Defi ne the barcode lines dimension [Format] ASCII <X n, M> [Range] [Description] n defi nes the thins lines dimension (in dot) of barcode. The M parameter defi nes the barcode printing speed if it must be printed rotated.
  • Page 125 Commands Index 4 COMMANDS INDEX ESC/POS EMULATION $1C $C0 ..............41 $08................8 $1C $C1 ..............41 $09................8 $1D $21 ..............42 $0A ................8 $1D $28 $6B............43 $0D ................9 $1D $28 $6B [function 065] ........43 $10 $04..............9 $1D $28 $6B [function 066] ........44 $18................13 $1D $28 $6B [function 067] ........44 $1B $20 ..............13 $1D $28 $6B [function 068] ........44...
  • Page 126 Commands Index SVELTA EMULATION <RC row, column> ..........104 <AFSB x> ...............72 <RL> ..............104 <AFSB yx> .............75 <RR> ..............105 <b x>...............79 <RU> ..............105 <bXnn> ..............79 <SDT m data> ............105 <B> .................79 <Sn> ..............106 <B2D k, C, x> ............80 <SP n> ..............107 <B2D k, D, x>...
  • Page 128 CUSTOM ENGINEERING SPA World Headquarters Via Berettine, 2 - 43010 Fontevivo, Parma ITALY Tel. +39 0521 680111 - Fax +39 0521 610701 info@custom.biz - www.custom.biz All rigths reserved www.custom.biz...

This manual is also suitable for:

Kpm300Kube iiKube-l