Cino VERSAJET International Edition, Rev. 2.2 Beta Release Programming Reference Manual

International edition, rev. 2.2 beta release

Advertisement

Quick Links

Programming Reference
International Edition, Rev. 2.2
Beta Release
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VERSAJET International Edition, Rev. 2.2 Beta Release and is the answer not in the manual?

Questions and answers

Summary of Contents for Cino VERSAJET International Edition, Rev. 2.2 Beta Release

  • Page 1 Programming Reference International Edition, Rev. 2.2 Beta Release...
  • Page 2 Revision Sheet VERSAJET Programming Reference Firmware Version 3.00.01 3.00.02 Command FS 2 Can only be used in Japanese 2-byte fonts Add Traditional and Simplified Chinese Define user-defined Kanji characters fonts US B Cancelled IrDA setting US C Bluetooth Setting- Bluetooth setting Cancel Enable/Disable parameter US b Cancelled...
  • Page 3 PC Worth has been advised of the possibility of such damages. Trademarks & Copyright All registered and unregistered trademarks used herein are the exclusive property of their respective owners. © Copyright PC Worth Int'l Co., Ltd. © Copyright Cino Group...
  • Page 4: Table Of Contents

    VERSAJET Table of Contents Programming Reference Chapter 1 Introduction ....................JCL Command Sets ........................... 2 Commands Comparison between JCL and ESC/POS ............... 3 ESC / POS Emulation ....................... 3 JCL Feature Command Sets ..................... 7 Chapter 2 Command Overview................... 10 Command Notation ..........................
  • Page 5 ESC !..............................36 VERSAJET ESC $............................... 37 Programming Reference ESC %.............................. 38 ESC & .............................. 39 ESC * ............................... 41 ESC -..............................43 ESC 2............................... 44 ESC 3............................... 45 ESC ?............................... 46 ESC @ ............................. 47 ESC {..............................48 ESC D .............................. 49 ESC E ..............................
  • Page 6 FS !..............................70 VERSAJET FS & ..............................72 Programming Reference FS - ..............................73 FS 2..............................74 FS S ..............................75 FS W ..............................77 FS p..............................78 FS q..............................79 GS ! ..............................82 GS $ ..............................85 GS ( K .............................. 86 GS ( k ...............................
  • Page 7 GS c ............................... 156 VERSAJET GS f ..............................158 Programming Reference GS h ............................... 159 GS k ............................... 160 GS v 0 ............................169 GS w .............................. 171 RS A ............................... 172 RS B............................... 173 RS E............................... 174 RS F ............................... 175 RS G ..............................
  • Page 8 US 4 ............................... 204 VERSAJET US 7 ............................... 205 Programming Reference US A ............................... 206 US C............................... 208 US G .............................. 209 US H............................... 210 US I ..............................211 US J ............................... 212 US K............................... 213 US L ............................... 214 US M ..............................
  • Page 9: Chapter 1 Introduction

    Introduction VERSAJET Programming Reference Thank you for choosing Cino VersaJet Mobile Printer. The VersaJet mobile printer is designed with rugged yet lightweight architecture, delivering the ultimate convenience of mobility to meet your on-demand labels and receipts printing requirements. Besides RS232 communication interfaces, the VersaJet is compatible with most Bluetooth-enabled devices by incorporating Bluetooth 2.0 wireless technology.
  • Page 10: Jcl Command Sets

    The JCL (Job Control Language) is the proprietary printer language of Cino mobile printer supporting ESC/POS emulation. This not only shortens user’s learning cycle, but also minimizes the system integration efforts.
  • Page 11: Commands Comparison Between Jcl And Esc/Pos

    Commands Comparison between JCL and ESC/POS VERSAJET Programming Reference ESC / POS Emulation Command Descriptions Horizontal tab Print and line feed Print and return to standard mode (in page mode) Print and carriage return Cancel print data in page mode Print data in page mode ESC FF Set right-side character spacing...
  • Page 12 VERSAJET Programming Reference Command Descriptions Cancel user-defined characters ESC ? Initialize printer ESC @ Turn upside-down printing mode on/off ESC { Set horizontal tab positions ESC D Turn emphasized mode on/off ESC E Turn double-strike mode on/off ESC G Print and feed paper ESC J Select page mode ESC L...
  • Page 13 VERSAJET Programming Reference Command Descriptions Set print mode(s) for Kanji characters FS ! Select Kanji character mode FS & Turn underline mode on/off for Kanji character FS - Define user-defined Kanji characters FS 2 Set left – and right –side Kanji character spacing FS S Turn quadruple-size mode on/off for Kanji characters FS W...
  • Page 14 VERSAJET Programming Reference Command Descriptions Set relative vertical print position in page mode GS \ Execute macro GS ^ Select printing position of Human Readable Interpretation (HRI) characters GS H Select font for HRI characters GS f Set bar code height GS h Print bar code GS k...
  • Page 15: Jcl Feature Command Sets

    VERSAJET JCL Feature Command Sets Programming Reference Command Descriptions Select counter print mode GS C 0 Select counter mode GS C 1 Sets the serial number counter value GS C 2 Print counter setup GS c Specify and print the symbol GS ( k Label length measurement RS A...
  • Page 16 VERSAJET Programming Reference Command Descriptions Print *.bmp image RS n Set number of copies of printing data RS p Serialization setting RS q Print serialization RS r Define flash macro RS t Execute macro RS u Top of form control US 1 Top of form offset setting US 2...
  • Page 17 VERSAJET Programming Reference Command Descriptions Feed key control US L Panel buttons control US M Get RS232 configurations US a Get Bluetooth configurations US c Get printer configurations US g Get system information US h Get head resistance US k Get printing log US m Get battery status...
  • Page 18: Chapter 2 Command Overview

    Command Overview VERSAJET Programming Reference This chapter covers following topics to present the supported commands that are used with VersaJet: Command Notation Explanations of Terms Supported Commands...
  • Page 19: Command Notation

    Command Notation VERSAJET Programming Reference The name of the command. [Name] The code sequence. [Format] Gives the allowable ranges for the arguments. [Range] Gives the default values, if any, for the command parameters. [Default] Describes the command’s function. [Description] Provides important information on setting and using the printer command, if necessary. [Notes] Hex indicates the hexadecimal equivalents.
  • Page 20: Explanation Of Terms

    Explanation of Terms VERSAJET Programming Reference Receive buffer The receive buffer is a buffer that stores, as is, the data received from the host (the reception data). The reception data is stored in the receive buffer temporarily, and is then processed sequentially. (2) Print buffer The print buffer is a buffer that stores the image data to be printed.
  • Page 21 VERSAJET Programming Reference (5) Printable area The maximum range within which printing is possible under the printer specifications. The printable area for this printer is as follows: The length of the horizontal direction in standard mode: approximately 48 mm {1.89 “} The length of the vertical direction in page mode: approximately 160 mm {6.3 “} (6) Printing area...
  • Page 22 VERSAJET Programming Reference (9) LSB Least Significant Bit (11) Base line Standard position when character data is stored in the print buffer. Normal character in standard mode and page mode: Base line * When font A (12×24 dots) is selected, this height is for 24 dots. * When font B (9×24 dots) is selected, this height is for 24 dots.
  • Page 23: Supported Commands

    Supported Commands VERSAJET Programming Reference In these tables, click any name to see the command description. Please refer following instructions before you utilize these commands to configure your VersaJet: Standard mode Enabled. Enabled only when the command is used at the beginning of command codes. Enabled only when data is not present in the printer buffer.
  • Page 24: Commands Listed By Function

    Commands Listed by Function VERSAJET Programming Reference Function Command Command Classification Standard Page Type Name Descriptions Mode Mode Print Print and line feed Executing Print Print and return to standard mode (in page mode) Executing Ignored Print Print and carriage return Executing Print ESC FF...
  • Page 25 VERSAJET Function Command Command Classification Standard Page Programming Reference Type Name Descriptions Mode Mode Character ESC M Select character font Setting Character ESC R Select an international character set Setting Character ESC V Turn 90° clockwise rotation mode on/off Setting Character ESC t Select character code table...
  • Page 26 VERSAJET Function Command Command Classification Standard Page Programming Reference Type Name Descriptions Mode Mode Bit Image ESC * Select bit-image mode Executing Bit Image GS * Define downloaded bit image Setting Bit Image GS / Print downloaded bit image Executing Bit Image GS v 0 Print raster bit image...
  • Page 27 VERSAJET Function Command Command Classification Standard Page Programming Reference Type Name Descriptions Mode Mode Kanji FS S Set left- and right-side Kanji character spacing Setting Kanji FS W Turn quadruple-size mode on/off for Kanji character Setting Executing Miscellaneous ESC @ Initialize printer Setting Miscellaneous...
  • Page 28 VERSAJET Function Command Command Classification Standard Page Programming Reference Type Name Descriptions Mode Mode Set configuration US A RS232 Setting Setting Set configuration US C Bluetooth setting Setting Set configuration US G Buzzer control Setting Set configuration US H Auto power off duration setting Setting Set configuration US I Set printing intensity (darkness)
  • Page 29 VERSAJET Function Command Command Classification Standard Page Programming Reference Type Name Descriptions Mode Mode Action Command RS A Label length measurement Executing Action Command RS B Restore factory default Executing Action Command RS E Clear buffer Executing Action Command RS F Remote power off Executing Action Command RS G...
  • Page 30: Commands Listed In Alphanumeric Order

    Commands Listed in Alphanumeric Order VERSAJET Programming Reference Command Function Command Classification Standard Page Name Type Descriptions Mode Mode Print Position Horizontal tab Executing Print Print and line feed Executing Print Print and return to standard mode (in page mode) Executing Ignored Print...
  • Page 31 VERSAJET Command Function Command Classification Standard Page Programming Reference Name Type Descriptions Mode Mode ESC { Character Turn upside-down printing mode on/off Setting ESC D Print Position Set horizontal tab positions Setting ESC E Character Turn emphasized mode on/off Setting ESC G Character Turn double-strike mode on/off...
  • Page 32 VERSAJET Command Function Command Classification Standard Page Programming Reference Name Type Descriptions Mode Mode FS - Kanji Turn underline mode on/off for Kanji characters Setting FS 2 Kanji Define user-defined Kanji characters Setting FS S Kanji Set left- and right-side Kanji character spacing Setting Turn quadruple-size mode on/off for Kanji characters FS W...
  • Page 33 VERSAJET Command Function Command Classification Standard Page Programming Reference Name Type Descriptions Mode Mode Select printing position of Human Readable GS H Bar Code Setting Interpretation (HRI) characters GS I Miscellaneous Transmit printer ID Executing GS L Print Position Set left margin Setting GS P Miscellaneous...
  • Page 34 VERSAJET Command Function Command Classification Standard Page Programming Reference Name Type Descriptions Mode Mode RS J Action Rewind command (back feed) Executing RS L Action Print self-test (pre-defined) Executing RS a Text Format Bit-map text format setting Setting RS e Linear bar code 1D bar code generic setting Setting...
  • Page 35 VERSAJET Programming Reference Command Function Command Classification Standard Page Name Type Descriptions Mode Mode US A Set Configuration RS232 setting Setting US C Set Configuration Bluetooth setting Setting US G Set Configuration Buzzer control Setting US H Set Configuration Auto power off duration setting Setting US I Set Configuration Set printing intensity (darkness)
  • Page 36: Chapter 3 Command Descriptions

    Command Descriptions VERSAJET Programming Reference This section contains the command codes for the VersaJet which allows you to configure your printer for particular application to match your specific requirements. Each command begins on a separate page with its own heading to help you find the key information about each command.
  • Page 37 VERSAJET [Name] Horizontal tab Programming Reference [Format] ASCII Decimal [Range] None [Default] None [Description] Moves the printing position to the next horizontal tab. [Notes] This command is ignored unless the next horizontal tab position has been set. Horizontal tab positions are set by ESC D. If the next horizontal tab position exceeds the printing area, the printer sets the printing position to [Printing area width + 1].
  • Page 38 VERSAJET Programming Reference [Name] Print and line feed [Format] ASCII Decimal [Range] None [Default] None [Description] Prints the data in the print buffer and feed one line [Notes] The amount of paper feed per line is based on the value set using the line spacing command (ESC 2 or ESC 3).
  • Page 39 FF (in page mode) VERSAJET Programming Reference [Name] Print and return to standard mode [Format] ASCII Decimal [Range] None [Default] None [Description] In page mode, prints the data in the printer buffer collectively and returns to standard mode. [Notes] This command is enabled only in page mode. Page mode can be selected by ESC L. The data is deleted in the printing area after being printed.
  • Page 40 VERSAJET Programming Reference [Name] Printing and carriage return [Format] ASCII Decimal [Range] None [Default] None [Description] Executes printing and one line feed as LF. [Notes] After printing, the printing position moves to the beginning of the line. When a left margin is set, the position of the left margin is the beginning of the line. When this command is processed in page mode, only the printing position moves, and the printer does not perform actual printing.
  • Page 41: Can

    VERSAJET [Name] Cancel printing data in page mode Programming Reference [Format] ASCII Decimal [Range] None [Default] None [Description] In page mode, deletes all the print data for the current printing area. [Notes] This command is only enabled in page mode. If data set in the previously specified printing area is set in the currently specified printing area, it is deleted.
  • Page 42: Esc Ff

    ESC FF VERSAJET [Name] Print data in page mode Programming Reference [Format] ASCII ESC FF 1B 0C Decimal 27 12 [Range] None [Default] None [Description] In page mode, prints all buffered data in the printable area collectively. [Notes] This command is enabled only in page mode. Page mode can be selected by ESC L. After printing, the printer does not clear the buffered data, the printing position, or values set by other command.
  • Page 43: Esc Sp

    ESC SP VERSAJET [Name] Set right-side character spacing Programming Reference [Format] ASCII ESC SP n 1B 20 n Decimal 27 32 n [Range] 0≦n≦255 [Default] n = 0 [Description] Sets the right-side character spacing to nx (horizontal or vertical motion unit). [Notes] The character spacing set by this command is effective for alphanumeric and user-defined character.
  • Page 44: Versajet Esc

    ESC ! VERSAJET Programming Reference [Name] Select print mode(s) [Format] ASCII ESC ! n 1B 21 n Decimal 27 33 n [Range] 0≦n 255 ≦ [Default] n = 0 [Description] Selects print mode(s) using n as follows: Off/On Decimal Function Character font A (12 ×...
  • Page 45: Esc

    ESC $ VERSAJET [Name] Set absolute print position Programming Reference [Format] ASCII ESC $ nL nH 1B 24 nL nH Decimal 27 36 nL nH [Range] 0≦nL 255, 0 ≦nH 255 ≦ ≦ [Default] None [Description] Sets the print starting position to (nL + nH x256) x (horizontal or vertical motion unit) from the beginning of the line.
  • Page 46: Esc

    ESC % VERSAJET [Name] Select/cancel user-defined character set Programming Reference [Format] ASCII ESC % n 1B 25 n Decimal 27 37 n [Range] 0≦n≦255 [Default] n = 0 [Description] Selects or cancels user-defined character set. When the LSB of n is 0, the user-defined character set is canceled. When the LSB of n is 1, the user-defined character set is selected.
  • Page 47: Esc

    ESC & VERSAJET [Name] Define user-defined characters Programming Reference [Format] ASCII ESC & y c1 c2 [x1 d1 d(yx x1)] [xk d1 d(yx xk)] 1B 26 y c1 c2 [x1 d1 d(yx x1)] [xk d1 d(yx xk)] Decimal 27 38 y c1 c2 [x1 d1 d(yx x1)] [xk d1 d(yx xk)] [Range] y = 3 32≦c1≦c2 126...
  • Page 48 When the value of y, c1, c2, or x is out of the range, this command is canceled, and the VERSAJET following data is processed as normal data. Programming Reference This command can define user-defined characters for each font independently. To select a font, use ESC ! or ESC M.
  • Page 49: Esc

    ESC * VERSAJET [Name] Select bit-image mode Programming Reference [Format] ASCII ESC * m nL nH d1dk 1B 2A m nL nH d1 dk Decimal 27 42 m nL nH d1 dk [Range] m = 0, 1, 32, 33 0≦nL≦255 0≦nH≦3 0≦d 255 ≦...
  • Page 50 VERSAJET [Notes] Programming Reference Data (d) specifies a bit printed to 1 and not printed to 0.   If the bit image data exceeds the number of dots to be printed on a line, the excess data is ignored. The bit-image is not affected by print mode(emphasized, double-strike, underline, character size, white/black reverse printing, or 90°...
  • Page 51: Esc

    ESC - VERSAJET [Name] Turn underline mode on/off Programming Reference [Format] ASCII ESC - n 1B 2D n Decimal 27 45 n [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Default] n = 0 [Description] Turns underline mode on or off, based on the following values of n : Function 0, 48 Turns off underline mode...
  • Page 52: Esc 2

    ESC 2 VERSAJET [Name] Select default line spacing Programming Reference [Format] ASCII ESC 2 1B 32 Decimal 27 50 [Range] None [Default] None [Description] Sets the line spacing to the “default line spacing”. [Notes] The line spacing can be independently in standard and page mode. In standard mode this command sets the line spacing of standard mode.
  • Page 53: Esc 3

    ESC 3 VERSAJET [Name] Set line spacing Programming Reference [Format] ASCII ESC 3 n 1B 33 n Decimal 27 51 n [Range] 30≦n≦255 [Default] Amount of line spacing which corresponds to “default line spacing” (See ESC 2 for the line spacing).
  • Page 54: Esc

    ESC ? VERSAJET [Name] Cancel user-defined characters Programming Reference [Format] ASCII ESC ? n 1B 3F n Decimal 27 63 n [Range] 32≦n≦126 [Default] None [Description] Cancels the user-defined characters defined for the character code n. [Notes] After user-defined characters are canceled, the resident character set is printed. This command can cancel user-defined characters for each font independently.
  • Page 55: Esc

    ESC @ VERSAJET [Name] Initialize printer Programming Reference [Format] ASCII ESC @ 1B 40 Decimal 27 64 [Range] None [Default] None [Description] The data in the print buffer is cleared, and the printer mode(s) is reset to the mode that was in effect when the power was turned on.
  • Page 56: Esc

    ESC { VERSAJET [Name] Turn upside-down printing mode on/ff Programming Reference [Format] ASCII ESC { n 1B 7B n Decimal 27 123 n [Range] 0≦n 255 ≦ [Default] n = 0 [Description] In standard mode, turns upside-down printing mode on/off When the LSB of n is 0, upside-down mode is turned off.
  • Page 57: Esc D

    ESC D VERSAJET [Name] Set horizontal tab positions Programming Reference [Format] ASCII ESC D n …nk NUL 44 n1…nk 0 Decimal 68 n1…nk 0 [Range] 1≦n 255 ≦ 0≦k 32 ≦ [Default] n = 8,16,24,32 (Every eight characters for the default font set by ESC ! or ESC M) [Description] Sets a horizontal tab to n columns from the beginning of the line.
  • Page 58 VERSAJET When [n] is less than or equal to the preceding value [n]k-1, horizontal tab setting is Programming Reference finished, and the following data is processed as normal data. k is not transmission data to the printer. Even if the character width is changed after setting the horizontal tab position, the setting of the horizontal tab positions will not be changed.
  • Page 59: Esc E

    ESC E VERSAJET [Name] Turn emphasized mode on/ff Programming Reference [Format] ASCII ESC E n 1B 45 n Decimal 27 69 n [Range] 0≦n 255 ≦ [Default] n = 0 [Description] Turns emphasized mode on/ff When the LSB of n is 0, emphasized mode is turned off. When the LSB of n is 1, emphasized mode is turned on.
  • Page 60: Esc G

    ESC G VERSAJET [Name] Turn double-strike mode on/ff Programming Reference [Format] ASCII ESC G n 1B 47 n Decimal 27 71 n [Range] 0≦n 255 ≦ [Default] n = 0 [Description] Turns double-strike mode on/off [Notes] When the LSB of n is 0, double-strike mode is turned off. When the LSB of n is 1, double-strike mode is turned on.
  • Page 61: Esc J

    ESC J VERSAJET [Name] Print and feed paper Programming Reference [Format] ASCII ESC J n 1B 4A n Decimal 27 74 n [Range] 0≦n≦255 [Default] None [Description] Prints the data in the print buffer and feeds the paper nx (vertical or horizontal motion unit). [Notes] The maximum paper feed amount is 160mm.
  • Page 62 VERSAJET When this command is processed in page mode, only the printing position moves, and Programming Reference the printer does not perform actual printing. This command is used to temporarily feed a specific length without changing the line spacing set by other commands.
  • Page 63: Esc L

    ESC L VERSAJET [Name] Select page mode Programming Reference [Format] ASCII ESC L 1B 4C Decimal 27 76 [Range] None [Default] None [Description] Switches from standard mode to page mode. [Notes] This command is only enabled when processed at the beginning of the line in standard mode.
  • Page 64 VERSAJET Standard mode is selected as the default. Programming Reference In page mode, the printer prints the data in the print buffer for the printing area specified by ESC W collectively by FF or ESC FF. When executing the print and paper feed commands, such as LF, CR, ESC J and ESC d, only the printing position moves, and the printer does not perform actual printing.
  • Page 65: Esc M

    ESC M VERSAJET [Name] Select character font Programming Reference [Format] ASCII ESC M n 1B 4D n Decimal 27 77 n [Range] 0, 1, 48, 49 [Default] n = 0 [Description] Selects a character font, using n as follows: Function 0, 48 Font A 1, 49...
  • Page 66: Esc R

    ESC R VERSAJET [Name] Select an international character set Programming Reference [Format] ASCII ESC R n 1B 52 n Decimal 27 82 n [Range] 0≦n 10 ≦ [Default] n = 0 [Description] Select an international character set n as follows: ASCII code Country Hex 23...
  • Page 67: Esc S

    ESC S VERSAJET [Name] Select standard mode Programming Reference [Format] ASCII ESC S 1B 53 Decimal 27 83 [Range] None [Default] None [Description] Switches from page mode to standard mode. [Notes] This command is only enabled in page mode. Page mode can be selected by ESC L. When this command is executed, data in all the printing area is cleared, the printing area set by ESC W returns to the default value, but the value set by ESC T is maintained.
  • Page 68: Esc T

    ESC T VERSAJET [Name] Select print direction in page mode Programming Reference [Format] ASCII ESC T n 1B 54 n Decimal 27 84 n [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Default] n = 0 [Description] In page mode, selects the print direction and starting position, using n as follows: Printing Starting Position...
  • Page 69 VERSAJET This command setting has no effect in standard mode. If this command is processed in Programming Reference standard mode, an internal flag is activated, and this flag is enabled when the printer selects page mode. The parameters for the horizontal or vertical motion unit differ, depending on the starting position of the printing area as follows: If the starting position is the upper left or lower right of the printing area: These commands use horizontal motion units: ESC SP, ESC $, ESC \.
  • Page 70: Esc V

    ESC V VERSAJET [Name] Turn 90° clockwise rotation mode on/off Programming Reference [Format] ASCII ESC V n 1B 56 n Decimal 27 86 n [Range] n = 0, 1, 48, 49 [Default] n = 0 [Description] In standard mode, turns 90° clockwise rotation mode on or off, using n as follows: Function 0, 48 Turns off 90°...
  • Page 71: Esc W

    ESC W VERSAJET [Name] Set printable area in page mode Programming Reference [Format] ASCII ESC W xL xH yL yH dxL dxH dyL dyH 1B 57 xL xH yL yH dxL dxH dyL dyH Decimal 27 87 xL xH yL yH dxL dxH dyL dyH [Range] 0 ≦...
  • Page 72 VERSAJET Programming Reference If [horizontal logical origin + printing area width] exceeds the printable area, the printing area width is automatically set to [horizontal printable area – horizontal logical origin]. If [vertical logical origin + printing area height] exceeds the printable area, the printing area height is automatically set to [vertical printable area –...
  • Page 73 VERSAJET paper Programming Reference ………………………….xLxH, yLyH page mode range dyLdyH ………………………… dxLdxH...
  • Page 74: Esc

    ESC \ VERSAJET [Name] Set relative print position Programming Reference [Format] ASCII ESC \ nL nH 1B 5C nL nH Decimal 27 92 nL nH [Range] 0≦nL 255, 0 ≦nH 255 ≦ ≦ [Description] Moves the print starting position to (nL + nH x256) x (horizontal or vertical motion unit) from the current position.
  • Page 75: Esc A

    ESC a VERSAJET Programming Reference [Name] Select justification [Format] ASCII ESC a n 1B 61 n Decimal 27 97 n [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Default] n = 0 [Description] In standard mode, aligns all the data in one line to a specified position, using n as follows: Function 0, 48 Left justification...
  • Page 76: Esc D

    ESC d VERSAJET [Name] Print and feed n lines Programming Reference [Format] ASCII ESC d n 1B 64 n Decimal 27 100 n [Range] 0≦n≦255 [Default] None [Description] Prints the data in the print buffer and feeds n lines. [Notes] The amount paper fed per line is based on the value set using the line spacing command (ESC 2 or ESC 3).
  • Page 77: Esc T

    ESC t VERSAJET [Name] Select character code table Programming Reference [Format] ASCII ESC t n 1B 74 n Decimal 27 116 n [Range] 0≤ n ≤5, n =16 [Default] n = 0 [Description] Select a page n from the character code table as follows: Character Code Table PC437(U.S.A., Standard Europe) Katakana...
  • Page 78 FS ! VERSAJET Programming Reference [Name] Select print mode(s) for Kanji characters [Format] ASCII FS ! n 1C 21 n Decimal 28 33 n [Range] 0≦n 255 ≦ [Description] Set the print mode(double-width mode, double-height mode and Kanji underline mode) for Kanji characters, using n as follows: Function Off/On...
  • Page 79 VERSAJET [Notes] Programming Reference When both double-height and double-width modes are selected (including right- and left-side character spacing), quadruple size characters are printed. The printer can underline all characters (including right – and left –side character spacing), but cannot underline the space set by HT or 90° clockwise-rotated characters. The thickness of the underline is that selected by FS -, regardless of the character size.
  • Page 80 FS & VERSAJET [Name] Select Kanji character mode Programming Reference [Format] ASCII FS & 1C 26 Decimal 28 38 [Description] Selects Kanji character mode. [Notes] Kanji codes are processed in order of the first byte and the second byte. The settings of this command are effective until ESC @ is executed, the printer is reset, or the power is turned off.
  • Page 81 FS - VERSAJET [Name] Turn underline mode on/off for Kanji characters Programming Reference [Format] ASCII FS - n 1C 2D n Decimal 28 45 n [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Default] n = 0 [Description] Turns underline mode on or off for Kanji characters, based on the following values of n: Function...
  • Page 82 FS 2 VERSAJET [Name] Define user-defined Kanji characters Programming Reference [Format] ASCII FS 2 c1 c2 d1...dk 1C 32 c1 c2 d1...dk Decimal 28 50 c1 c2 d1...dk [Range] c1 = FFH, 40H≤ c2≤ 7EH, 80H≤ c2≤ 9FH (Kanji font 24 x 24) c1 = FEH, A1H≤...
  • Page 83: Fs S

    FS S VERSAJET [Name] Set left- and right-side Kanji character spacing Programming Reference [Format] ASCII FS S n1 n2 1C 53 n1 n2 Decimal 28 83 n1 n2 [Range] 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255 [Default] n1= 0, n2= 0 [Description] Sets left- and right-side Kanji characters spacing n1 and n2.
  • Page 84 VERSAJET In page mode, the horizontal or vertical motion unit differs in page mode, depending on Programming Reference starting position of the printable area as follows: When the starting position is set to the upper left or lower right of the printable area using ESC T, the horizontal motion unit (x) is used.
  • Page 85: Fs W

    FS W VERSAJET [Name] Turn quadruple-size mode on/off for Kanji characters Programming Reference [Format] ASCII FS W n 1C 57 n Decimal 28 87 n [Range] 0 ≤ n ≤ 255 [Default] n = 0 [Description] Turn quadruple-size mode on or off for Kanji characters. When the LSB of n is 0, quadruple-size mode for Kanji characters is turned off and normal size is specified.
  • Page 86: Fs P

    FS p VERSAJET [Name] Read the image file from flash memory Programming Reference [Format] ASCII FS p n m 1C 70 n m Decimal 28 112 n m [Range] 1≤ n ≤255 0≤ m ≤3, 48≤ m ≤51 [Description] Prints a NV bit image n using the mode specified by m. Scaling for Mode Scaling for vertical...
  • Page 87: Fs Q

    FS q VERSAJET [Name] Define image, write to flash memory Programming Reference [Format] ASCII FS q n [xL xH yL yH d1 dk]1 [xL xH yL yH d1 dk] n 1C 71 n [xL xH yL yH d1 dk]1 [xL xH yL yH d1 dk] n Decimal 28 113 n [xL xH yL yH d1 dk]1 [xL xH yL yH d1 dk] n [Range]...
  • Page 88 VERSAJET [Notes] Programming Reference NV bit image means a bit image which is defined in a non-volatile memory. The NV bit image defined is effective until the next NV bit image is defined. In standard mode, this command is effective only when processed at the beginning of the line.
  • Page 89 VERSAJET Programming Reference Data is written to the non-volatile memory by this command. Note the following when using this command. The printer is BUSY when writing the data to the non-volatile memory. In this case, be sure not to transmit data from the host because the printer does not receive data. Excessive use of this function may destroy the non-volatile memory.
  • Page 90 GS ! VERSAJET Programming Reference [Name] Select character size [Format] ASCII GS ! n 1D 21 n Decimal 29 33 n [Range] 0≦n 7, 16 ≦n 23, 32 ≦n 39, 48 ≦n 55, 64 ≦n 71, 80 ≦n 87, ≦ ≦...
  • Page 91 VERSAJET Programming Reference Character height selection Bit 2 Bit 1 Bit 0 Decimal Height 1(normal) 2(double-height) [Notes] The character size set by this command is effective for alphanumeric, Kana, multilingual and user-defined characters. When the characters are enlarged with different heights on one line, all the characters on the line are aligned at the baseline.
  • Page 92 VERSAJET Programming Reference In page mode, double-height and double-width are on the character orientation. The setting of the character size of alphanumeric and Katakana is effective until ESC ! or   ESC @ is executed, the printer is reset, or the power is turned off. The setting of the character size of Kanji and multilingual characters is effective until ESC @ is executed, the printer is reset, or the power is turned off.
  • Page 93 GS $ VERSAJET [Name] Set absolute vertical print position in page mode Programming Reference [Format] ASCII GS $ nL nH 1D 24 nL nH Decimal 29 36 nL nH [Range] 0≦nL 255 , 0≦nH 255 ≦ ≦ [Default] None [Description] Sets the print starting position to (nL + nH x256) x (horizontal or vertical motion unit) from the starting position set by ESC T.
  • Page 94 GS ( K VERSAJET [Name] Select printing control Programming Reference [Description] Selects printing control as follows: Function is specified by the function code fn. Function Function 49 Selects printing density pL and pH specify parameter number after fn to (pL + pH x 256) bytes. [Notes] This command decides the function according to the function code (fn).
  • Page 95 GS ( K <Function 49> VERSAJET [Name] Selects printing density Programming Reference [Format] ASCII GS ( K pL pH fn m 1D 28 4B 02 00 31 m Decimal 29 40 75 2 0 49 m [Range] (pL + pH x 256) = 2 (pL = 2, pH = 0) fn = 49, 0 ≤...
  • Page 96 GS ( k VERSAJET [Name] Specify and print the symbol Programming Reference [Format] ASCII GS ( k 1D 28 6B Decimal 29 40 107 [Description] Processes the data concerning two-dimensional code. (PDF417, QR Code, MaxiCode). Symbol type is specified by cn ; Function is specified by fn. Function PDF 417: Specify the number of columns Function 065...
  • Page 97 VERSAJET Programming Reference Function Datamatrix: Specify the number of columns Function 765 Datamatrix: Specify the number of rows Function 766 Datamatrix: Specify the width of module Function 767 Datamatrix: Specify the Bar Code Type Function 768 Datamatrix: Specify the Data Mode Function 769 Datamatrix: Store the received data in the symbol save Function 780...
  • Page 98 VERSAJET [Notes] Programming Reference The function is specified with the function code (fn). Details of the performance differ according to the function. For processing of PDF417 symbol data (when cn = 48) The symbol data specified by Function 080 d1...dk is stored in the printer and is printed by the specification of Function 081.
  • Page 99 VERSAJET Programming Reference For process of QR Code symbol (when cn = 49) The symbol data specified by Function 080 d1...dk is stored in the printer and is printed by the specification of Function 081. The symbol data in the save area is reserved until the following processing is performed: Function 080 or 180 or 980 is executed.
  • Page 100 GS ( k PDF417<Function 065> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 30 41 n Decimal 29 40 107 3 00 48 65 n [Range] (pL + pH x 256) = 3 (pL =3, pH =0) cn = 48, fn = 65 0 ≤...
  • Page 101 GS ( k PDF417<Function 066> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 30 42 n Decimal 29 40 107 03 00 48 66 n [Range] ( pL + pH x 256) = 3 ( pL =3, pH =0) cn = 48, fn = 66 n = 0, 3 ≤...
  • Page 102 GS ( k PDF417<Function 067> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 30 43 n Decimal 29 40 107 03 00 48 67 n [Range] (pL + pH x 256) = 3 (pL =3, pH =0) cn = 48, fn = 67 1≤...
  • Page 103 GS ( k PDF417<Function 068> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 30 44 n Decimal 29 40 107 03 00 48 68 n [Range] (pL + pH x256) = 3 (pL=3, pH =0) cn = 48, fn = 68, 5 ≤...
  • Page 104 GS ( k PDF417<Function 069> VERSAJET [Format] ASCII GS ( k pL pH cn fn m n Programming Reference 1D 28 6B 04 00 30 45 m n Decimal 29 40 107 04 00 48 69 m n [Range] (pL + pH x 256) = 4 (pL = 4, pH =0) cn = 48, fn = 69 m = 48 48 ≤...
  • Page 105 VERSAJET Programming Reference The error correction code word calculated by modulus 929. Settings of this function are effective until ESC @ is executed, the printer is reset, or the power is turned off.
  • Page 106 GS ( k PDF417<Function 080> VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1 dk Programming Reference 1D 28 6B pL pH 30 50 30 d1 dk Decimal 29 40 107 pL pH 48 80 48 d1 dk [Range] 4 ≤...
  • Page 107 GS ( k PDF417<Function 081> VERSAJET [Format] ASCII GS ( k pL pH cn fn m Programming Reference 1D 28 6B 03 00 30 51 m Decimal 29 40 107 03 00 48 81 m [Range] (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 48, fn = 81 m = 48 [Description]...
  • Page 108 VERSAJET Programming Reference The data area includes the following code words. Data specified by Function 080. The descriptor of symbol length (the first code word in the data area). The error correction code word calculated by modulus 929. Pad codeword. This command is effective only in Page mode.
  • Page 109 GS ( k QR Code<Function 165> VERSAJET [Format] ASCII GS ( k pL pH cn fn n1 n2 Programming Reference 1D 28 6B 04 00 31 41 n1 n2 Decimal 29 40 107 04 00 49 65 n1 n2 [Range] (pL + pH x256) = 4 (pL = 4, pH = 0) cn = 49, fn = 65 n1 = 49, 50, 51...
  • Page 110 GS ( k QR Code <Function 167> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 31 43 n Decimal 29 40 107 03 00 49 67 n [Range] (pL + pH X 256) = 3 (pL = 3, pH = 0) cn = 49, fn = 67 2 ≤...
  • Page 111 GS ( k QR Code <Function 169> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 31 45 n Decimal 29 40 107 03 00 49 69 n [Range] (pL + pH x 256) = 3 (pL = 3, pH =0) cn = 49, fn = 69 48 ≤...
  • Page 112 GS ( k QR Code <Function 180> VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1 dk Programming Reference 1D 28 6B pL pH 31 50 30 d1 dk Decimal 29 40 107 pL pH 49 80 48 d1 dk [Range] 4 ≤...
  • Page 113 VERSAJET Programming Reference Settings of this function are effective until the following processing is performed: Function 080 or 180 is executed. ESC @ is executed. The printer is reset or the power is turned off.
  • Page 114 GS ( k QR Code <Function 181> VERSAJET [Format] ASCII GS ( k p pH cn fn m Programming Reference 1D 28 6B 03 00 31 51 m Decimal 29 40 107 03 00 49 81 m [Range] (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 49, fn = 81 m = 48 [Default]...
  • Page 115 VERSAJET The following data are added automatically by the encode processing. Programming Reference Position Detection Patterns Separators for Position Detection Patterns Timing Patterns Format Information Version Information Error Correction code words (employs the Reed-Solomon Error Detection and Correction algorithm) Pad codeword Number of bits in Character Count Indicator Mode Indicator Terminator...
  • Page 116 GS ( k MaxiCode<Function 265> VERSAJET [Format] ASCII GS ( k k pL pH cn fn n Programming Reference 1D 28 6B 03 00 32 41 n Decimal 29 40 107 03 00 50 65 n [Range] (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 50 fn = 65 50 ≤...
  • Page 117 GS ( k MaxiCode <Function 280> VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1…dk Programming Reference 1D 28 6B pL pH 32 50 30 d1…dk Decimal 29 40 107 pL pH 50 80 48 d1…dk [Range] 4 ≤...
  • Page 118 VERSAJET [Data Format] Programming Reference Item Size and Type ANSI message header [ ]> <RS> Transportation Data Format Header 01 <GS> 96 Ship-To Postal Code 5 or 9 digits in the USA (mode2), up to 6 alphanumeric characters in other countries (mode3). Ship-To Country Code 3 digits (840 for USA) Class of Service...
  • Page 119 GS ( k MaxiCode <Function 281> VERSAJET [Format] ASCII GS (k pL pH cn fn m Programming Reference 1D 28 6B 03 00 32 51 m Decimal 29 40 107 03 00 50 81 m [Range] (pL + pH x 256) = 3 (pL =3, pH=0) cn = 50 fn = 81 m = 48...
  • Page 120 GS ( k Datamatrix <Function 765> VERSAJET [Format] ASCII GS (k pL pH cn fn n Programming Reference 1D 28 6B 03 00 37 41 n Decimal 29 40 107 03 00 55 65 n [Range] (pL + pH x 256) = 3 (pL =3, pH=0) cn = 55 fn = 65 None...
  • Page 121 GS ( k Datamatrix <Function 766> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 37 42 n Decimal 29 40 10703 00 55 66 n [Range] (pL + pH x 256) = 3 (pL =3, pH=0) cn = 55 fn = 66 [Description]...
  • Page 122 GS ( k Datamatrix <Function 767> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 37 43 n Decimal 29 40 107 03 00 55 67 n [Range] (pL + pH x 256) = 3 (pL =3, pH=0) cn = 55 fn = 67 1≤...
  • Page 123 GS ( k Datamatrix <Function 768> VERSAJET Programming Reference [Format] ASCII GS ( k pL pH cn fn n 1D 28 6B 03 00 37 44 n Decimal 29 40 107 03 00 55 68 n [Range] (pL + pH x 256) = 3 (pL =3, pH=0) cn = 55 fn = 68 n = 0 or 1...
  • Page 124 GS ( k Datamatrix <Function 769> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 37 45 n Decimal 29 40 107 04 00 55 69 n [Range] (pL + pH x 256) = 3 (pL =4, pH=0) cn = 55 fn = 69 1 ≤n ≤...
  • Page 125 VERSAJET Barcode type: Rectangle Shape Programming Reference Column Capacity number alphanumeric bytes...
  • Page 126 GS ( k Datamatrix <Function 780> VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1…dk Programming Reference 1D 28 6B pL pH 37 50 30 d1…dk Decimal 29 40 107 pL pH 55 80 48 d1…dk [Range] 4≤...
  • Page 127 GS ( k Datamatrix <Function 781> VERSAJET [Format] ASCII GS ( k pL pH cn fn m Programming Reference 1D 28 6B 03 00 37 51 m Decimal 29 40 107 03 00 55 81 m [Range] (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 55 fn = 81 m = 48...
  • Page 128 VERSAJET The data area includes the following code words. Programming Reference Data specified by Function 780. The descriptor of symbol length (the first code word in the data area). The error correction code word calculated by modulus 929. Pad codeword ESC T is not effective for QR Code, Datamatrix, or MaxiCode.
  • Page 129 GS ( k RSS-14 <Function 865> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 04 00 38 41 n Decimal 29 40 107 03 00 56 65 n [Range] (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 56 fn = 65 49 ≤...
  • Page 130 GS ( k RSS-14 <Function 866> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 04 00 38 42 n Decimal 29 40 107 03 00 56 66 n [Range] (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 56 fn = 65 2 ≤...
  • Page 131 GS ( k RSS-14 <Function 867> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 04 00 38 43 n Decimal 29 40 107 03 00 56 67 n [Range] (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 56 fn = 67 1 ≤...
  • Page 132 GS ( k RSS-14 <Function 868> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 04 00 38 44 n Decimal 29 40 107 03 00 56 68 n [Range] (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 56 fn = 68 1 ≤...
  • Page 133 GS ( k RSS-14 <Function 880> VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1…dk Programming Reference 1D 28 6B pL pH 38 50 30 d1…dk Decimal 29 40 107 pL pH 56 80 48 d1…dk [Range] (4 ≤...
  • Page 134 VERSAJET 2D Composite Component CC-A capacity 56 characters. Programming Reference CC-B capacity 338 characters. For RSS-14 and RSS LIMIT, the printer automatically adds a check character at 14th digit when print. Following table shows data type and data capacity for each RSS symbol. RSS Symbol Type Data Type Data Capacity...
  • Page 135 GS ( k RSS-14 <Function 881> VERSAJET [Format] ASCII GS ( k pL pH cn fn m Programming Reference 1D 28 6B 03 00 38 51 m Decimal 29 40 107 03 00 56 81 m [Range] (pL + pH x 256) = 3 (pL = 3, pH = 0 ) cn = 56 fn = 81 m = 48...
  • Page 136 GS ( k Code49 <Function 967> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 39 43 n Decimal 29 40 107 3 00 57 67 n [Range] (pL + pH x256) = 3 (pL = 3, pH = 0) cn = 57, fn = 67 1≤...
  • Page 137 GS ( k Code49 <Function 968> VERSAJET [Format] ASCII GS ( k pL pH cn fn n Programming Reference 1D 28 6B 03 00 39 44 n Decimal 29 40 107 3 00 57 68 n [Range] (pL + pH x 256) = 3 (pL = 3, pH =0) cn = 57, fn = 68 1≤...
  • Page 138 GS ( k Code49 <Function 980> VERSAJET [Format] ASCII GS ( k pL pH cn fn m d1 dk Programming Reference 1D 28 6B pL pH 39 50 30 d1 dk Decimal 29 40 107 pL pH 57 80 48 d1 dk [Range] 4 ≤...
  • Page 139 VERSAJET Programming Reference Data capacity Characters: The characters can’t exceed 49 bytes. Following characters will spend one byte, the others will spend two bytes. Value Character Vaule Character SPACE S1(Shift1) S2(Shift2) FNC1(Function1) FNC2(Function2) FNC3(Function3) NS(Numeric Shift)
  • Page 140 VERSAJET Programming Reference For example: (1) “123ABC” ; 6 bytes (2) “123abc” ; 3 + 3*2 = 9 bytes Numeric The numeric can’t exceed 81 bytes. Settings of this function are effective until the following processing is performed. Function 080 or 180 or 280 or 780 or 880 or 980 is executed ESC @ is executed The printer is reset or the power is turned off...
  • Page 141 GS ( k Code49 <Function 981> VERSAJET [Format] ASCII GS ( k pL pH cn fn m Programming Reference 1D 28 6B 03 00 39 51 m Decimal 29 40 107 3 00 57 81 m [Range] (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 57, fn = 81 m = 48 [Default]...
  • Page 142 GS * VERSAJET [Name] Define downloaded bit image Programming Reference [Format] ASCII GS * x y d1… d(x x y x 8) 1D 2A x y d1… d(x x y x 8) Decimal 29 42 x y d1… d(x x y x 8) [Range] 1≦x≦255 1≦y 48...
  • Page 143 VERSAJET Programming Reference Once a downloaded bit image has been defined, it is maintained until another definition is made, ESC & or ESC @ is executed, the printer is reset, or the power is turned off. A downloaded bit image and a user-defined character cannot be defined simultaneously. When this command is executed, the user-defined character is cleared.
  • Page 144 GS / VERSAJET [Name] Print downloaded bit image Programming Reference [Format] ASCII GS / n 1D 2F n Decimal 29 47 n [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Default] n = 0 [Description] Prints a downloaded bit image using the mode specified by n. n selects a mode from the table below: Mode 0, 48...
  • Page 145 VERSAJET Programming Reference If the printing area width set by GS L and GS W is less than one line in vertical, the following processing is performed only on the line in question: The printing area width is extended to the right up to one line in vertical. In this case, printing does not exceed the printable area.
  • Page 146 GS : VERSAJET [Name] Start/end macro definition Programming Reference [Format] ASCII GS : 1D 3A Decimal 29 58 [Range] None [Default] None [Description] Starts or ends macro definition [Notes] Macro definition starts when this command is processed during normal operation and ends when it is processed during macro definition.
  • Page 147 VERSAJET Programming Reference Macro is not defined when the power is turned on.   The following commands cannot be contained in a macro. Do not use these commands while the macro is being defined: FS q, GS ^, and GS v 0.
  • Page 148 GS ^ VERSAJET [Name] Execute macro Programming Reference [Format] ASCII GS ^ r t m 1D 5E r t m Decimal 29 94 r t m [Range] 1 ≦ r ≦ 255 0 ≦ t ≦ m = 0, 1 [Default] None [Description]...
  • Page 149 VERSAJET Programming Reference Macro function is useful to print the same data repeatedly. To define a macro definition, send GS : just before and after the data desired to be repeated. And then execute macro by using GS ^ to print the same data repeatedly. Macro function eliminates the need for sending all the print data every time.
  • Page 150: Gs B

    GS B VERSAJET [Name] Turn white/black reverse printing mode on/ff Programming Reference [Format] ASCII GS B n 1D 42 n Decimal 29 66 n [Range] 0≦n 255 ≦ [Default] n = 0 [Description] Turns white/black reverse printing mode on/ff When the LSB of n is 0, white/black reverse printing mode is turned off. When the LSB of n is 1, white/black reverse printing mode is turned on.
  • Page 151: Gs C 0

    GS C 0 VERSAJET [Name] Select counter print mode Programming Reference [Format] ASCII GS C 0 n m 1D 43 30 n m Decimal 29 67 48 n m [Range] 0 ≤ n ≤ 5, 0 ≤ m ≤ 2, 48 ≤ m ≤ 50 [Default] n = 0, m = 0 [Description]...
  • Page 152 VERSAJET Programming Reference [Notes] The serial number counter is stored in the print buffer by GS c. Settings of this command are effective until ESC @ is executed, the printer is reset, or the power is turned off.
  • Page 153: Gs C 1

    GS C 1 VERSAJET [Name] Select counter mode Programming Reference [Format] ASCII GS C 1 aL aH bL bH n r 1D 43 31 aL aH bL bH n r Decimal 29 67 49 aL aH bL bH n r [Range] 0 ≤...
  • Page 154 VERSAJET [Notes] Programming Reference In a count-up setting, when the GS c is executed, the counter value exceeds the maximum value( bL+bH x 256), restart counting from the minimum value ( aL + aH x 256). In a count-down setting, when GS c is executed, the counter value is below minimum value( bL+bH x 256), restart counting from the maximum value ( aL + aH x 256).
  • Page 155: Gs C 2

    GS C 2 VERSAJET [Name] Select the serial number counter value Programming Reference [Format] ASCII GS C 2 nL nH 1D 43 32 nL nH Decimal 29 67 50 nL nH [Range] 0 ≤ (nL + nH x 256) ≤65535 (0≤ nL ≤255, 0≤ nH ≤255) [Default] (nL + nH x 256) = 1 (nL = 1, nH = 0) [Description]...
  • Page 156: Gs H

    GS H VERSAJET [Name] Select printing position of Human Readable Interpretation (HRI) characters Programming Reference [Format] ASCII GS H n 1D 48 n Decimal 29 72 n [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Default] n = 0 [Description] Selects whether the printer prints the HRI character or not and printing position of HRI character when printing a bar code, using n as follows:...
  • Page 157: Gs I

    GS I VERSAJET [Name] Transmit print IS Programming Reference [Format] ASCII GS I n 1D 49 n Decimal 29 73 n [Range] n = 65 [Default] None [Description] Transmits printer information, using n as follows: Printer ID Firmware version [Notes] With a serial interface printer, be sure to use this function when the host can receive data.
  • Page 158: Gs L

    GS L VERSAJET [Name] Set left margin Programming Reference [Format] ASCII GS L nL nH 1D 4C nL nH Decimal 29 76 nL nH [Range] ≦ nL + nH x 256) 65535 (0 ≦nL 255, 0 ≦nH 255) ≦ ≦ ≦...
  • Page 159 VERSAJET Programming Reference Left margin setting is effective until ESC @ is executed, the printer is reset, or the power is turned off. Left margin position is left edge of the printable area. If left margin setting is changed, left edge of the printable area will move.
  • Page 160: Gs P

    GS P VERSAJET [Name] Set horizontal and vertical motion units Programming Reference [Format] ASCII GS P x y 1D 50 x y Decimal 29 80 x y [Range] 0 ≤ x ≤ 255, 0 ≤ y ≤ 255 [Default] x = 203, y = 203 [Description] Sets the horizontal and vertical motion units to 1/x and 1/y inch, respectively.
  • Page 161 VERSAJET Programming Reference The setting of this command is effective until ESC @ is executed, the printer is reset, or the power is turned off. The calculated result from combining this command with others is truncated to the minimum value of the mechanical pitch. This command does not affect the current setting values.
  • Page 162: Gs W

    GS W VERSAJET [Name] Set printable area width Programming Reference [Format] ASCII GS W nL nH 1D 57 nL nH Decimal 29 87 nL nH [Range] ≦ nL + nH x 256) 65535 (0 ≦nL 255, 0 ≦nH 255) ≦ ≦...
  • Page 163 GS \ VERSAJET [Name] Set relative vertical print position in page mode Programming Reference [Format] ASCII GS \ nL nH 1D 5C nL nH Decimal 29 92 nL nH [Range] 0≦nL 255, 0 ≦nH 255 ≦ ≦ [Default] None [Description] In page mode, moves the vertical printing starting position to (nL + nH x256) x (horizontal or vertical motion unit) from the current position.
  • Page 164 GS c VERSAJET [Name] Print counter Programming Reference [Format] ASCII GS c 1D 63 Decimal 29 99 [Range] None [Default] None [Description] Sets the serial counter value in the print buffer and increments or decrements the counter value. [Notes] After setting the current counter value in the print buffer as print data (a character string), the printer updates counter value based on the count mode set.
  • Page 165 VERSAJET Programming Reference The counter mode (count-up, count-down, count-stop) and details of counter (maximum value, minimum value, stepping amount of incrementing or decrementing of a counter value, the repetition number of printing) are set by GS C 1. The counter value is set by GS C 2.
  • Page 166 GS f VERSAJET [Name] Select font for HRI characters Programming Reference [Format] ASCII GS f n 1D 66 n Decimal 29 102 n [Range] n = 0, 1, 48, 49 [Default] n = 0 [Description] Selects a font for Human Readable Interpretation (HRI) characters when printing a bar code, using n as follows: Font of HRI characters 0, 48...
  • Page 167 GS h VERSAJET [Name] Set bar code height Programming Reference [Format] ASCII GS h n 1D 68 n Decimal 29 104 n [Range] 1 ≤ n ≤ 255 [Default] n = 162 [Description] Sets the height of a bar code. n specifies number of dots in the vertical direction of a bar code.
  • Page 168 GS k VERSAJET [Name] Print bar code Programming Reference [Format] I. ASCII GS k m d1… dk NULL 1D 6B m d1… dk NULL Decimal 29 107 m d1… dk NULL II. ASCII GS k m n d1… dn 1D 6B m n d1… dn Decimal 29 107 m n d1…...
  • Page 169 VERSAJET Programming Reference Bar code Number of Number of Characters Character code (d) system data (k, n) characters UPC-A Fixed 11 ≤ k ≤12 48 ≤ d ≤ 57 UPC-E Fixed 11 ≤ k ≤12 48 ≤ d ≤ 57 JAN13 Fixed 12 ≤...
  • Page 170 VERSAJET [Notes] For I and II Programming Reference When standard mode is selected, this command is enabled only when the printing position is at the head of a line or when no data exists in the print buffer. When page mode is selected, this command develops the bar code data in the print buffer but the printer does not print the bar code data.
  • Page 171 VERSAJET For UPC-A (m = 0, 65) process Programming Reference Modular check character is processed as follows: Automatically added when processing data is 11 bytes. The 12th byte data is processed as a modular check character when processing data is 12 bytes. In this case, modular check character is not checked. Left guard bar/center bar/right guard bar are added automatically.
  • Page 172 VERSAJET Prints a 6-column short code from 10 digit (d2.d11) except NSC and modular check Programming Reference characters. Data of transmitted by host PC Printing data d10 d11 0~9 0~9 0~9 0~9 0~9 d10 d11 0~9 0~9 0~9 0~9 0~9 d10 d11 0~9 0~9 0~9 0~9...
  • Page 173 VERSAJET For JAN8/EAN8 (m = 3, 68) process Programming Reference Modular check character is processed as follows: Automatically added when processing data is 7 bytes. The 8th byte data is processed as a modular check character when processing data is 8 bytes. In this case, modular check character is not checked. Left guard bar/center bar/right guard bar are added automatically.
  • Page 174 VERSAJET For ITF (Interleaved 2 of 5) (m = 5, 70) process Programming Reference Start code and stop code are added automatically. Check digits are not calculated and added. For CODEBAR (NW-7) (m = 6, 71) process Start code and stop code are not added automatically. Transmit data including the codes.
  • Page 175 VERSAJET For CODE128 ( m = 73) process Programming Reference Make sure to specify start character. The start character must be code set selection character (any of CODE A, CODE B, or CODE C) which selects the first code set. Stop character is added automatically.
  • Page 176 VERSAJET Special characters are defined by combining two characters "{+ an alphanumeric Programming Reference character." The ASCII character "{" is defined by transmitting "{" twice consecutively. Transmit data Specific Character ASCII Decimal SHIFT 7B, 53 123, 83 CODE A 7B, 41 123, 65 CODE B 7B, 42...
  • Page 177 GS v 0 VERSAJET [Name] Print raster bit image Programming Reference [Format] ASCII GS v 0 n xL xH yL yH d1 dk 1D 76 30 n xL xH yL yH d1 dk Decimal 29 118 48 n xL xH yL yH d1 dk [Range] 0 ≤...
  • Page 178 VERSAJET [Notes] Programming Reference In standard mode, this command is effective only when there is no data in the print buffer. This command has no effect in the print modes (emphasized, double-strike, underline, character size, or white/black reverse printing) for raster bit image. If the printing area width set by GS L and GS W is less than the minimum width, the printing area is extended to the minimum width only on the line in question.
  • Page 179 GS w VERSAJET [Name] Set bar code width Programming Reference [Format] ASCII GS w n 1D 77 n Decimal 29 119 n [Range] 1 ≤ n ≤ 6 [Default] n = 2 [Description] Sets the horizontal size of a bar code. n specifies the bar code module width. [Notes] This command setting is effective until ESC @ is executed, the printer is reset, or the power is turned off.
  • Page 180 RS A VERSAJET [Name] Label length measurement Programming Reference [Format] ASCII RS A 1E 41 Decimal 30 65 [Range] None [Default] None [Description] Label Length Measurement [Notes] When processing the automatic measurement of the label length, the printer feeds the current roll paper to measure the label length.
  • Page 181 RS B VERSAJET [Name] Restore factory default Programming Reference [Format] ASCII RS B 1E 42 Decimal 30 66 [Range] None [Default] None [Description] Restore Factory Default. [Notes] This command will reset the setting values of commands stored in the volatile memory. Therefore, the printer buffer is cleared, and each setting returns to the default value.
  • Page 182 RS E VERSAJET Programming Reference [Name] Clear buffer [Format] ASCII RS E 1E 45 Decimal 30 69 [Range] None [Default] None [Description] Clear buffer [Notes] If this command is sent while another command is processing, processing of the other command is canceled. This command does not change or initialize settings of other commands.
  • Page 183 RS F VERSAJET Programming Reference [Name] Remote power off [Format] ASCII RS F 1E 46 Decimal 30 70 [Range] None [Default] None [Description] Remote power off [Notes] This is a real-time command that the printer executes power off processing upon receiving it.
  • Page 184 RS G VERSAJET Programming Reference [Name] Paper feed to TOF position [Format] ASCII RS G 1E 47 Decimal 30 71 [Range] None [Default] None [Description] Paper feed to TOF position. [Description] Paper feed to the print position specified by the paper length measurement is executed. [Notes] Use this function by using “...
  • Page 185 RS J VERSAJET Programming Reference [Name] Rewind command (back feed) [Format] ASCII RS J 1E 4A n Decimal 30 74 n [Range] 10 ≤ n ≤100, the unit is 0.1mm. [Default] None [Description] Rewind command (back feed) [Notes] This command is used to make motor rewind. The paper feed back is ended when no paper is detected.
  • Page 186 RS L VERSAJET Programming Reference [Name] Print self-test [Format] ASCII RS L 1E 4C Decimal 30 76 [Range] None [Default] None [Description] Executes a specified test print. [Notes] If this command is processed while a macro is being defined, the printer cancels macro definition and starts processing this command.
  • Page 187 RS a VERSAJET [Name] Bit-map text format setting Programming Reference [Format] ASCII RS a n1 n2 n3 n4 n5 1E 61 n1 n2 n3 n4 n5 Decimal 30 97 n1 n2 n3 n4 n5 [Range] 0 ≤ n1 ≤ 1 ; 0 ≤ n2 ≤ 2 ; 0 ≤ n3 ≤ 5 ; 0 ≤ n4 ≤ 255 ; 0 ≤ n5 ≤ 1 [Default] n1 = 0 , n2 = 0 , n3 = 0 , n4 = 0 , n5 = 0 [Description]...
  • Page 188 VERSAJET n4: Character Magnification setup Programming Reference n5: Turn white/black reverse printing mode on/off Description Disable bold Enable bold...
  • Page 189 RS e VERSAJET Programming Reference [Name] 1D bar code generic setting [Format] ASCII RS e n1 n2 n3 n4 1E 65 n1 n2 n3 n4 Decimal 30 101 n1 n2 n3 n4 [Range] 0 ≤ n1 ≤ 3 or 48 ≤ n1 ≤ 51 ; 0 ≤ n2 ≤ 1 or 48 ≤ n2 ≤ 49 ; 1 ≤ n3 ≤ 255 ; 1 ≤ n4 ≤ 6 [Default] n1 = 0 , n2 = 0 , n3 = 162 , n4 = 2 [Description]...
  • Page 190 RS i VERSAJET [Name] Draw graphics Programming Reference [Description] Draw graphics specified by the function code fn. fn: Graphic type Description Line Circle [Notes] This command decides the function according to the function code (fn). Performance of the functions differs, depending on the function. This command is effective until ESC @ is executed, the printer is reset, or the power is turned off.
  • Page 191 RS i <Function 0> VERSAJET [Name] Draw line Programming Reference [Format] ASCII RS i n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH 1E 69 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH Decimal 30 105 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH [Range]...
  • Page 192 VERSAJET [Notes] Programming Reference This command can draw lines of flexible length, thickness, and patterns. X1: x-coordinate of start position. Y1: y-coordinate of start position. X2: x-coordinate of end position. Y2: y-coordinate of end position. The line pattern is repetition of 16 dots which defined by pL and pH. pL and pH specifies “1”...
  • Page 193 RS i <Function 1> VERSAJET [Name] Draw box Programming Reference [Format] ASCII RS i n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH 1E 69 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH Decimal 30 105 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH [Range]...
  • Page 194 VERSAJET For drawing box, (x1, y1) is coordinate of inner top left corner, (x2, y2) is coordinate of Programming Reference inner bottom right corner. For box pattern, using pL and pH as the followings:   pH=0 Description Black frame, white background White frame, white background White frame, black background...
  • Page 195 RS i <Function 2> VERSAJET [Name] Draw circle Programming Reference [Format] ASCII RS i n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH 1E 69 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH Decimal 30 105 n1 x1L x1H y1L y1H x2L x2H y2L y2H w pL pH [Range]...
  • Page 196   VERSAJET For box pattern, using pL and pH as the followings: Programming Reference pH=0 Description Black frame, white background White frame, black background Filled with horizontal lines in the circle. Filled with vertical lines in the circle. Filled with cross in the circle.
  • Page 197 RS m VERSAJET [Name] Save *.bmp image into flash Programming Reference [Format] ASCII RS m n1 d1…..dk 1E 6D n1 d1…..dk Decimal 30 109 n1 d1…..dk [Range] 1 ≤ n1 ≤ 4 [Default] None [Description] (1) Save *.bmp image into flash. (2) n1: ID no (3) d1…..dk: image contents (4) Max 16k...
  • Page 198 RS n VERSAJET Programming Reference [Name] Print *.bmp image [Format] ASCII RS n n1 n2 1E 6E n1 n2 Decimal 30 110 n1 n2 [Range] 1 ≤ n1 ≤ 4 ; 0 ≤ n2 ≤ 2 or 48 ≤ n2 ≤ 50 [Default] None [Description]...
  • Page 199 VERSAJET If the printing area width set by GS L and GS W is less than one line in vertical, the Programming Reference following processing is performed only on the line in question: The printing area width is extended to the right up to one line in vertical. In this case, printing does not exceed the printable area.
  • Page 200 RS p VERSAJET [Name] Set number of copies of printing data Programming Reference [Format] ASCII RS p n 1E 70 n Decimal 30 112 n [Range] 1 ≤ n ≤ 255 [Default] None [Description] Set number of copies of printing data. [Notes] This command can process printing data from page buffer.
  • Page 201 RS q VERSAJET Programming Reference [Name] Serialization setting [Format] ASCII RS q n1 n2 n3 n4 n5 n6 n7 d1…..dn7 1E 71 n1 n2 n3 n4 n5 n6 n7 d1…..dn7 Decimal 30 113 n1 n2 n3 n4 n5 n6 n7 d1…..dn7 [Range] 1 ≤...
  • Page 202 VERSAJET [Notes] Programming Reference This command allows three kinds of data, numeric, alphabetic and alphanumeric to be used. For numeric data, integers 0123456789 can be used. For alphabetic data, capital letters A to Z can be used. Lowercase letters cannot be used in a serial number.
  • Page 203 RS r VERSAJET Programming Reference [Name] Print serialization [Format] ASCII RS r n1 n2 1E 72 n1 n2 Decimal 30 114 n1 n2 [Range] 1 ≤ n1 ≤ 8, n2 = 1, 0x41~0x49 [Default] None [Description] Print serialization. n1: ID no n2: Printing type Description 0x01...
  • Page 204 VERSAJET Programming Reference [Notes] After setting the current serialization value in the print buffer as print data, the printer updates serialization value based on the count mode set before stored in the print buffer. In count-up mode, the serialization value is updated as [serialization value + increment value] In count-down mode, the serialization value is updated as [serialization value –...
  • Page 205 RS t VERSAJET Programming Reference [Name] Define flash macro [Format] ASCII RS t n d1…..dk 1E 74 n d1…..dk Decimal 30 116 n d1…..dk [Range] 1 ≤ n ≤ 8 [Default] None [Description] Define flash macro. [Notes] Macro definition starts when this command is processed during normal operation and ends when it is processed during macro definition.
  • Page 206 VERSAJET Programming Reference The following commands cannot be contained in a macro. Do not use these commands while the macro is being defined: FS q, GS ^, and GS v 0. Excessive use of this function may destroy the non-volatile memory. As a guideline, do not use this command more than 10 times per day for writing data to the non-volatile memory.
  • Page 207 RS u VERSAJET Programming Reference [Name] Execute macro [Format] ASCII RS t n1 r t m 1E 75 n1 r t m Decimal 30 117 n1 r t m [Range] 1 ≤ n1 ≤ 8, 1 ≤ r ≤ 255, 0 ≤ t ≤ 255, 0 ≤ m ≤ 2 [Default] None [Description]...
  • Page 208 VERSAJET When m = 1, the printer waits for the period specified by t, blinks the LED, and then Programming Reference waits for the paper feed button to be pressed. After this button is pressed, the printer executes the macro once. The printer repeats this operation r times. When m = 2, the printer prints the first page, stops and waits for taking one page.
  • Page 209 US 1 VERSAJET Programming Reference [Name] Top of Form Control [Format] ASCII US 1 n 1F 31 n Decimal 31 49 n [Range] 0 ≤ n ≤ 1 [Default] n = 1 [Description] Enable/Disable TOF when power on (page mode only) Description Disable Enable...
  • Page 210 US 2 VERSAJET [Name] Top of Form Offset Setting Programming Reference [Format] ASCII US 2 n1 n2 1F 32 n1 n2 Decimal 31 50 n1 n2 [Range] 0 ≤ n1 ≤ 1, 0 ≤ n2 ≤ 100 (unit is 0.1 mm) [Default] n1 = 0, n2 = 0 [Description]...
  • Page 211 US 3 VERSAJET [Name] Auto tear-off control Programming Reference [Format] ASCII US 3 n 1F 33 n Decimal 31 51 n [Range] 0≤ n ≤1 [Default] n = 0 [Description] Disable/Enable the paper-tearing position of the label under page mode by using auto tear-off setup.
  • Page 212 US 4 VERSAJET [Name] Auto Tear-off offset setting Programming Reference [Format] ASCII US 4 n1 n2 1F 34 n1 n2 Decimal 31 52 n1 n2 [Range] n1 = 0, 0 ≤ n2 ≤ 100 (unit is 0.1mm) [Default] n1 = 0, n2 = 0 [Description] Auto Tear-off offset setting.
  • Page 213 US 7 VERSAJET Programming Reference [Name] Paper sensor setting [Format] ASCII US 7 n1 n2 1F 37 n1 n2 Decimal 31 55 n1 n2 [Range] 0 ≤ n1 ≤ 1, 0 ≤ n2 ≤ 1 [Default] n1 = 1, n2 = 1 [Description] Paper sensor setting.
  • Page 214 US A VERSAJET [Name] RS232 Setting Programming Reference [Format] ASCII US A n1 n2 n3 n4 n5 1F 41 n1 n2 n3 n4 n5 Decimal 31 65 n1 n2 n3 n4 n5 [Range] 0 ≤ n1 ≤ 3, 0 ≤ n2 ≤ 1, 0 ≤ n3 ≤ 2, 0 ≤ n4 ≤ 1, 0 ≤ n5 ≤ 1 [Default] n1 = 0, n2 = 0, n3 = 0, n4 = 0, n5 = 0 [Description]...
  • Page 215 VERSAJET n4: Stop bit Programming Reference Description 1 bit 2 bit n5: Flow control Description RTS / CTS Xon / Xoff...
  • Page 216 US C VERSAJET [Name] Bluetooth setting Programming Reference [Format] ASCII US C n2 n3 d11…..d1k 00 d21…..d2k 00 1F 43 n2 n3 d11…..d1k 00 d21…..d2k 00 Decimal 31 67 n2 n3 d11…..d1k 00 d21…..d2k 00 [Range] 0 ≤ n2 ≤ 2, 0 ≤n3 ≤ 1 1 ≤...
  • Page 217 US G VERSAJET Programming Reference [Name] Buzzer control [Format] ASCII US G n 1F 47 n Decimal 31 71 n [Range] 0≤ n ≤255 [Default] n = 255 [Description] Turn buzzer on/off, using n as follows: Function Off/On Decimal Disable Power on/off beep Enable Power on/off beep Disable Battery-low on/off beep Enable Battery-low beep...
  • Page 218 US H VERSAJET [Name] Auto power off duration setting Programming Reference [Format] ASCII US H n1 n2 1F 48 n1 n2 Decimal 31 72 n1 n2 [Range] 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255 [Default] n1 = 01, n2 = 04 [Description] Auto power off duration setting.
  • Page 219 US I VERSAJET [Name] Set printing intensity (darkness) Programming Reference [Format] ASCII US I n 1F 49 n Decimal 31 73 n [Range] 0≤ n ≤15 [Default] n = 8 [Description] Set printing intensity (darkness). [Notes] When a standard mode is selected, all the data in a line is printed in the same density. When a page mode is selected, all the data printed collectively by FF or ESC FF is printed in the same density.
  • Page 220 US J VERSAJET Programming Reference [Name] Automatic status feedback [Format] ASCII US J n 1F 4A n Decimal 31 74 n [Range] 0≤ n ≤1 [Default] n = 1 [Description] Automatic status feedback. n: Enable/Disable Description Disable Enable [Notes] Automatic status feedback is the function that transmit the status from the printer automatically.
  • Page 221 US K VERSAJET [Name] Default operation mode setup Programming Reference [Format] ASCII US K n 1F 4B n Decimal 31 75 n [Range] 0≤ n ≤1 [Default] n = 1 [Description] Default Operation Mode setup. n: Enable/Disable Description Page mode Line mode...
  • Page 222 US L VERSAJET Programming Reference [Name] Feed key control [Format] ASCII US L n 1F 4C n Decimal 31 76 n [Range] 0 ≤ n ≤ 1 [Default] n = 0 [Description] Feed key control. (line mode only) n: Enable/Disable Description Feed one line Feed one page...
  • Page 223 US M VERSAJET Programming Reference [Name] Panel buttons control [Format] ASCII US M n 1F 4D n Decimal 31 77 n [Range] 0 ≤ n ≤ 255 [Default] n = 3 [Description] Panel Buttons Control. n: Enable/Disable Function Off/On Decimal Disable Power Enable Power Disable Feed...
  • Page 224 US a VERSAJET Programming Reference [Name] Get RS232 configurations [Format] ASCII US a 1F 61 Decimal 31 97 [Return value] Function Length(Byte) Value Start byte 0x5F Contents 0~255 End byte 0x00 [Description] Get RS232 configurations. Contents: Function Value (Hex) 0x00: RTS/CTS Flow control 0x01: XON/Xoff 0x00: 1bit...
  • Page 225 VERSAJET Programming Reference [Notes] This is a real-time command that the printer executes upon receiving it. The printer returns 3 bytes, the first and third bytes are fixed values. Make sure the host computer can receive data from receiving buffer.
  • Page 226 US c VERSAJET [Name] Get Bluetooth configurations Programming Reference [Format] ASCII US c 1F 63 Decimal 31 99 [Return value] Function Length (Byte) Value Start Byte 0x5F Enable/Disable Reserve Bluetooth Profile 0x00: SPP 0x00: Disable Authentication 1 0x01: Enable PIN Code 0x20~0x7E + 0x00 (Null) Device Name 15 0x20~0x7E + 0x00 (Null)
  • Page 227 VERSAJET The return value of device name is a fixed length of 15 bytes, filled with char 0x00(Null) Programming Reference for remaining bytes if the length of real data is smaller than 15.
  • Page 228 US g VERSAJET Programming Reference [Name] Get printer configuration [Format] ASCII US g 1F 67 Decimal 31 103 [Return value] Function Bytes Value Start Byte 0x5F Buzzer 0x00: Disable all 0xFF: Enable all Operation Mode 0x00: Page mode 0x01: Line mode Top Of Form Offset Value Offset Direction Bit 7 : (0: +) / (1: -)
  • Page 229 0x05: Reflective bottom to top Reserved VERSAJET Power Off Duration When 0x00~0xFF Programming Reference Connected Power Off Duration When 0x00~0xFF Disconnected Printing Intensity Printing Intensity Bit: 4~7 (1~15) Reserved Bit: 0~3 Automatic Status 0x00: Disable Feedback (ASB) 0x01: Enable Feed Key Control 0x00: Feed a line 0x01: Feed one page Panel Buttons Control...
  • Page 230 US h VERSAJET Programming Reference [Name] Get system information [Format] ASCII US h 1F 68 Decimal 31 104 [Return value] Function Length (Byte) Value Start byte 0x5F Customer name 0x20~0x7E Model name 0x20~0x7E Firmware version 0x20~0x7E End byte 0x00 [Description] Get system information.
  • Page 231 VERSAJET Programming Reference The return value of firmware version is a fixed length of 15 bytes, filled with char 0x00(Null) for remaining bytes if the length of real data is smaller than 15.
  • Page 232 US k VERSAJET Programming Reference [Name] Get head resistance [Format] ASCII US k 1F 6B Decimal 31 107 [Return value] Function Length (Byte) Value Start byte 0x5F Head max 0x00~0xFF Head min 0x00~0xFF Head average 0x00~0xFF End byte 0x00 [Description] Get head resistance.
  • Page 233 US m VERSAJET Programming Reference [Name] Get printing log [Format] ASCII US m 1F 6D Decimal 31 109 [Return value] Function Length (Byte) Value Start byte 0x5F Printing log 0x00~0xFF End byte 0x00 [Description] Get printing log. [Notes] This is a real-time command that the printer executes upon receiving it. The printer returns 12 bytes, the first and last bytes are fixed values.
  • Page 234 US n VERSAJET Programming Reference [Name] Get battery status [Format] ASCII US n 1F 6E Decimal 31 110 [Return value] Function Length (Byte) Value Start byte 0x5F Battery status 0x30: less than 10% 0x31: less than 20% 0x32: more than 20% 0x33: more than 30% 0x39: more than 90% 0x3A: 100%...
  • Page 235 US r VERSAJET Programming Reference [Name] Get printer status [Format] ASCII US r 1F 72 Decimal 31 114 [Return value] Function Length (Byte) Value Start byte 0x5F Status 0x30: Idle 0x31: Paper empty 0x32: Cover opened 0x33: Command error 0x34: Paper jam 0x36: Thermal head broken 0x37: Thermal head overheated 0x38: Low battery...

This manual is also suitable for:

Versajet

Table of Contents