SPRT SP-T8 User Manual

Portable thermal printer

Advertisement

Quick Links

SPRT
R
SP-T8
Portable Thermal
Printer
User's Manual
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SP-T8 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SPRT SP-T8

  • Page 1 SPRT SP-T8 Portable Thermal Printer User’s Manual...
  • Page 2: Table Of Contents

    Content Content................. 2 Operating Precautions............7 Notes on Safety ............7 Notes on Using ............. 8 Notes on Handling............9 Chapter 1 Outer Appearance ..........10 1.1 Outer Appearance ..........10 1.2 Standard Accessories......... 10 Chapter 2 Specifications..........10 Chapter 3 Operation ............12 3.1 Using Preparation..........
  • Page 3 3.4 Other Functions............. 19 3.4.1 Sleeping Mode ..........19 3.4.2 Paper End Alarming ........19 3.4.3 Black Mark ..........19 3.5 Indicators .............. 20 Chapter 4 Printing Control Commands ......21 Summary..............21 HT ................21 LF................22 FF................22 CR................
  • Page 4 ESC ? n............... 48 ESC @ ................ 49 ESC D n1...nk NUL ............. 49 ESC E n ..............51 ESC G n..............51 ESC J n............... 52 ESC L................53 ESC M n..............55 ESC S ................. 55 ESC T n ..............56 ESC V n ..............
  • Page 5 GS $ nL nH ..............82 GS ( A pL pH n m............83 GS   x y d1...d(x  y  8 ) ..........84     GS / m................. 86 GS :................88 GS B n ................ 89 GS H n ................
  • Page 6 FS S n1 n2 ..............122 FS W n ..............124...
  • Page 7: Operating Precautions

    Operating Precautions This section presents important information intended to ensure safe and effective use of the printer. Please read the following carefully. Notes on Safety Be sure to use the specified battery and power source provided by our company. Connection to an improper power source may cause fire, explosion or damage to the printer.
  • Page 8: Notes On Using

    Notes on Using Be sure not to print continuously over 1 meter, otherwise may cause damage to the print head. Water or other liquid should not spill into the printer, also the printer should not be appeared in the rain, or else may cause printer damage.
  • Page 9: Notes On Handling

    may reduce the print quality even damage the printer. In the black mark detecting mode, the printer requires that the ready-print black mark is accordant with the black mark printing rules (details please refer to Chapter 5), otherwise the black mark can not be detected correctly. Be sure to use up the electricity of the battery before charge it, as it can ensure the using life of the battery.
  • Page 10: Chapter 1 Outer Appearance

    environment and point-blank sunshine. Chapter 1 Outer Appearance 1.1 Outer Appearance Paper Case 纸仓盖 Open Door Button 开门键 Status Indicator 状态指示灯 Power Button 电源键 IrDA Window 红外窗 FEED Button 走纸键 充电指示灯 Charging Indicator 1.2 Standard Accessories Power Adaptor (1 unit) Rechargeable battery (1 unit) Thermal Paper (1 roll) Leather Case (1 unit)
  • Page 11 Model Outline Dimension 153×120×80(L×W×H) Weight 516g(paper roll excluded) Printing Method Thermal Printing Paper 80±0.5mm or 76±0.5mm x ≤60mm Dot/line 576dots Printing Speed 60mm /s (Average);80mm/s (Max) Paper Thickness 0.06~0.085mm Black Mark Support Reliability 100 Km Character Set ASCII(8×8 / 12×12) GB18030( 16×16 / 24×24) Interface RS-232, IrDA , Bluetooth...
  • Page 12: Chapter 3 Operation

    Chapter 3 Operation 3.1 Using Preparation 3.1.1 Battery Installation Battery Bottom Case 机器背面 电池 3.1.2 Paper Installation Arrow 箭头 Under the direction of the arrow 按箭头的方向 to pull the Open Door key to 推开门键,便 能打开纸仓盖 open the paper case.
  • Page 13: Operation Instructions

    Power Button 电源键 FEED Button 走纸键 3.2 Operation Instructions 3.2.1 Printer On/Off The printer is powered on by pressing the power button about 1 second; and the status indicator is on with red color. The printer is powered off by pressing the power button about 1 second;...
  • Page 14: Paper Feeding

    while holding down the FEED button, the self-test begins. The self-test prints the current printer status and settings. The self-test automatically ends. The printer is ready to receive data as soon as it completes the self-test. 3.2.3 Paper Feeding When the printer works normally, hold down【FEED】button, the paper feeding begins, and stops when hold down 【FEED】...
  • Page 15: Communication Interface

    After the printer is used for a period of time, the power of battery will be run out. When the battery is low, the power indicator blinks with red color and the buzzer rings 3 times; if the printer is in sleeping mode, the printer will cut off power after the buzzer rings 3 times.
  • Page 16 interface. The specification of serial interface of T8 as below: Data Transfer: Serial Synchro Mode: asynchronous Handshaking: Hardware RST/CTS or Xon/Xoff optional Signal Level: RS-232 Baud Rate:1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200bps optional Data Bit: 7 bit, 8 bit optional Parity: Odd, Even, None optional Stop Bit: 1 bit The ex-factory default setting is:...
  • Page 17: Irda Connection

    1.TXD: send data 2.DTR: ready signal 3.RXD: receive data 4.RTS: when the signal is “MARK”, means printer is busy, can’t receive data; when the signal is “SPACE”, means the printer is ready to receive data. 5.GND: ground 6.NC: reserved 3.3.2 IrDA Connection The hardware of T8 with infrared port printer is compatible with IrDA1.1.
  • Page 18: Bluetooth Connection

    port. Make sure the two ports are in front of each other with an angle of not more than 30° on the four side. 3.3.3 Bluetooth Connection PDA, Laptop and other communication devices with Bluetooth can drive T8-BT to print by the Bluetooth interface. T8-BT is compatible with Bluetooth 2.0 protocol.
  • Page 19: Other Functions

    Binding: once the printer remembers the device’s address, it only can connect with the device and can’t connect with others. So in this case, if the printer needs to connect with other device, user can delete the remembered address. No binding: in this case, the printer can be searched or paired by any other device.
  • Page 20: Indicators

    Print position: as the following figure shows, the black mark should be printed on the right of the word side. Width range: ≥18mm Height range: 4mm≤height≤6mm Reflectivity to infrared ray: <10% (the reflectivity of the other parts of the paper black mark width to infrared ray >65%) 3.5 Indicators There are two indicators for T8 printer.
  • Page 21: Chapter 4 Printing Control Commands

    Chapter 4 Printing Control Commands Summary T8 offers ESC/POS print command set. Each command is described in following format: Name Function Format: ASCII: the standard ASCII character sequence Hex: the Hexadecimal number sequence Decimal: the Decimal number sequence Range: the range of n; Description: the detailed explanation of the command;...
  • Page 22 the printer sets the printing position to [Printing area width +  Horizontal tab positions are set with ESC D.    If this command is received when the printing position is at   [printing area width+ 1], the printer executes print buffer-full printing of the current line and horizontal tab processing from the beginning of the next line.
  • Page 23 Decimal [Description] Prints the data in the print buffer collectively and returns to standard mode. [Notes]  T he buffer data is deleted after being printed.    T he printer does not execute paper cutting.    T his command sets the print position to the beginning of  ...
  • Page 24: Can

    [Reference] LF [Name] Cancel print data in page mode [Format] ASCII Decimal [Description] In page mode, deletes all the print data in the current printable area. [Notes]  T his com mand is enabled only in page mode.    I f data that existed in the previously specified printing area  ...
  • Page 25 n = 3: Transmit error status n = 4: Transmit paper roll sensor status [Notes]  T he status is transmitted whenever the data sequence of   <10>H<04>H< n> (1  n  4 ) is received.     Example: In ESC ...
  • Page 26  W ith a parallel interface model, this command can not be   executed when the printer is busy. This command is executed even when the printer is off-line or there is an error status when DIP switch 2-1 is on with a parallel interface model.
  • Page 27 Bit 5: Becomes on when the paper end sensor detects paper end and printing stops. n = 3: Error status...
  • Page 28: Dle Enq N

    Bit 3: If these errors occur due to paper jams or the like, it is possible to recover by correcting the cause of the error and executing DLE ENQ n (1  n  2 ). If an error due to a circuit  ...
  • Page 29 [Description] Responds to a request from the host computer. n specifies the requests as follows: [Notes]  T his command is effective only when an auto -cutter error   occurs.  T he printer starts processing data upon receiving this  ...
  • Page 30: Dle Dc4 N M T

    If you attempt to transmit ESC 3 n to the printer, but DTR (DSR for the host computer) goes to MARK before n is transmitted, and DLE ENQ 2 interrupts before n is received, the code <10>H for DLE ENQ 2 is processed as the code for ESC 3 <10>H.
  • Page 31 The pulse ON time is [ t  1 00 ms] and the OFF time is [ t    1 00ms].   [Notes]  W hen the printer is in an error status when this command   is processed, this command is ignored. ...
  • Page 32: Esc Ff

     T his command is effective even when the printer is   disabled with ESC = (Select peripheral device). [Reference] ESC p ESC FF [Name] Print data in page mode [Format] ASCII Decimal 27 [Description] In page mode, prints all buffered data in the printing area collectively.
  • Page 33 [Notes]  T he right -side character spacing for double-width mode is   twice the normal value. When characters are enlarged, the right-side character spacing is n times normal value.  T his command does not affect the setting of  ...
  • Page 34: Esc ! N

    setting exceeding the maximum is converted to the maximum automatically. [Default] n = 0 [Reference] GS P ESC ! n [Name] Select print mode(s) [Format] ASCII 21 n Decimal 27 33 n [Range] 0  n  2 55     [Description] Selects print mode(s) using n as follows:...
  • Page 35: Esc $ Nl Nh

    [Notes]  W hen both double -height and double-width modes are   selected, quadruple size characters are printed.  T he printer can underline all characters, but can not   underline the space set by HT or 90  c lockwise rotated  ...
  • Page 36 Decimal 27 36 nL nH [Range] 0  n L  2 55; 0  n H  2 55         [Description] Sets the distance from the beginning of the line to the position at which subsequent characters are to be printed.
  • Page 37: Esc % N

    [Reference] ESC \, GS $, GS \, GS P ESC % n [Name] Select/cancel user-defined character set [Format] ASCII ESC % n 25 n Decimal 27 37 n [Range] 0  n  2 55     [Description] Selects or cancels the user-defined character set.
  • Page 38  x 1)]...[xk d1...d(y  x k)]     Decimal 27 38 y c1 c2 [x1 d1...d(y  x 1)]...[xk d1...d(y  x k)]     [Range] y = 3;  c 1  c 2  1 26;    ...
  • Page 39 patterns by each fonts. To select a font, use ESC !  A user -defined character and a downloaded bit image   cannot be defined simultaneously. When this command is executed, the downloaded bit image is cleared.  T he user -defined character definition is cleared when:  ...
  • Page 40  W hen font B (9  1 7) is selected.    ...
  • Page 41: Esc   M Nl Nh D1

    ESC   m nL nH d1... dk [Name] Select bit-image mode [Format] ASCII ESC     m nL nH d1...dk 2A m nL nH d1...dk Decimal 27 42 m nL nH d1...dk [Range] m = 0, 1, 32, 33 ...
  • Page 42 as follows: [Notes]  I f the values of m is out of t he specified range, nL and data   following are processed as normal data.  T he nL and nH indicate the number of dots of the bit image  ...
  • Page 43 left margin is reduced to accommodate the data.  A fter printing a bit image, the printer returns to normal data   processing mode.  T his command is not affected by print modes (emphasized,   double-strike, underline, character size or white/black reverse printing), except upside-down printing mode.
  • Page 44: Esc - N

     W hen 24 -dot bit image is selected:   ESC – n [Name] Turn underline mode on/off [Format] ASCII ESC - n 2D n Decimal 27 45 n [Range] 0  n  2 , 48  n  5 0  ...
  • Page 45 [Notes]  T he printer can underline all characters (including   right-side character spacing),but cannot underline the space set by HT.  T he printer cannot underline 9 0  c lockwise rotated     characters and white/black inverted characters. ...
  • Page 46: Esc 2

    ESC 2 [Name] Select default line spacing [Format] ASCII Decimal 27 [Description] Selects 1/6-inch line (approximately 4.23mm) spacing. [Notes]  T he line spacing can be set independently in   standard mode and in page mode. [Reference] ESC 3 ESC 3 n [Name] Set line spacing [Format] ASCII...
  • Page 47: Esc = N

    vertical) motion unit. However, the value cannot be less than the minimum vertical movement amount, and it must be in even units of the minimum vertical movement amount.  I n standard mode, the vertical motion unit (y) is used.  ...
  • Page 48: Esc ? N

    [Description] Selects device to which host computer sends data, using n as follows: [Notes]  W hen the printer is disabled, it ignores all data except for   error-recovery commands (DLE EOT, DLE ENQ, DLE DC4) until it is enabled by this command. [Default] n = 1 ESC ? n [Name] Cancel user-defined characters...
  • Page 49: Esc

    code in the font selected by ESC !.  I f a user -defined character has not been defined for the   specified character code, the printer ignores this command. [Reference] ESC &, ESC % ESC @ [Name] Initialize printer [Format] ASCII Decimal 27...
  • Page 50  n specifies the column number for setting a horizontal tab   position from the beginning of the line.  k indicates the total number of horizontal tab positions to   be set. [Notes]  T he horizontal tab position is stored as a value of  ...
  • Page 51: Esc E N

    page mode. [Default] The default tab positions are at intervals of 8 characters (columns 9, 17, 25,...) for font A (12  2 4).   [Reference] HT ESC E n [Name] Turn emphasized mode on/off [Format] ASCII ESC E n 45 n Decimal 27 69 n...
  • Page 52: Esc J N

    Decimal 27 [Range] 0  n  2 55     [Description] Turns double-strike mode on or off.  W hen the LSB of n is 0, double -strike mode is turned off.    W hen the LSB of n is 1, double -strike mode is turned on.
  • Page 53: Esc L

     T he GS P command can change the vertical (and   horizontal) motion unit. However, the value cannot be less than the minimum vertical movement amount, and it must be in even units of the minimum vertical movement amount. ...
  • Page 54  T his command is ena bled only when processed at the   beginning of a line in standard mode.  T his command has no effect in page mode.    A fter printing by FF is completed or by using ESC S, the  ...
  • Page 55: Esc M N

     P rint raster bit image: GS v 0 ④  T he printer returns to standard mode when power is turned   on, the printer is reset, or ESC @ is used. [Reference] FF, CAN, ESC FF, ESC S, ESC T, ESC W, GS $, GS \ ESC M n [Name] Select character font...
  • Page 56: Esc T N

     T his command is effective only in page mode.    D ata buffered in page mode are cleared.    T his command sets the print position to the beginning of   the line.  T he printing area set by ESC W are initialized.
  • Page 57 [Range] 0  n  3 ; 48  n  5 1         [Description] Selects the print direction and starting position in page mode. n specifies the print direction and starting position as follows: [Notes]  W hen the command is input in standard mode, the printer  ...
  • Page 58: Esc V N

    printing area, data is buffered in the paper feed direction: Commands using horizontal motion units: ESC 3, ESC J, GS $, GS \ Commands using vertical motion units: ESC SP, ESC $, ESC \ [Default] n = 0 [Reference] ESC $, ESC L, ESC W, ESC \, GS $, GS P, GS \ ESC V n [Name] Turn 90 ...
  • Page 59: Esc W Xl Xh Yl Yh Dxl Dxh Dyl Dyh

    double-height and double- width commands in normal mode. [Default] n = 0 [Reference] ESC !, ESC  ESC W xL xH yL yH dxL dxH dyL dyH [Name] Set printing area in page mode [Format] ASC II xL xH yL yH dxL dxH dyL dyH xL xH yL yH dxL dxH dyL dyH...
  • Page 60  I f this command is input in standard mode, the printer   executes only internal flag operation. This command does not affect printing in standard mode.  I f the horizontal or vertical starting position is set outside   the printable area, the printer stops command processing and processes the following data as normal data.
  • Page 61 starting position and printing area width, and use the vertical motion unit ( y) for setting the vertical starting position and printing area height.  W hen the horizontal starting positio n , vertical starting   position, printing area width, and printing area height are defined as X, Y, Dx, and Dy respectively, the printing area is set as shown in the figure below.
  • Page 62: Esc \ Nl Nh

    For 58 mm paper width model; dxL = 104, dxH = 1 [Reference] CAN, ESC L, ESC T, GS P ESC \ nL nH [Name] Set relative print position [Format] ASCII nL nH 5C nL nH Decimal 27 nL nH [Range] 0 ...
  • Page 63: Esc A N

    vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount, and it must be in even units of the minimum horizontal movement amount.  I n standard mode, the horizontal motion unit is used.   ...
  • Page 64: Esc C 0 N

    [Notes]  T he command is enabled only when processed at the   beginning of the line in standard mode.  I f this command is input in page mode, the printer performs   only internal flag operations.  T his command has no effect in page mode.  ...
  • Page 65: Esc C 3 N

    [Range] 0  n  2     [Description] Select paper type. n = 0, select common paper; n = 1,2, select black mark paper. n selects the justification as follows: [Notes]  B lack mark paper is the paper with black mark.  ...
  • Page 66 [Notes]  I t is possible to select multiple sensors to output signals.   Then, if any of the sensors detects a paper end, the paper end signal is output.  T he command is available only with a parallel interface and  ...
  • Page 67: Esc C 4 N

    ESC c 4 n [Name] Select paper sensor(s) to stop printing [Format] ASCII 63 34 Decimal 27 99 52 [Range] 0  n  2 55     [Description] Selects the paper sensor(s) used to stop printing when a paper-end is detected, using n as follows: [Notes] ...
  • Page 68: Esc D N

    [Format] ASCII 63 35 n Decimal 27 99 53 n [Range] 0  n  2 55     [Description] Enables or disables the panel buttons.  W hen the LSB of n is 0, the panel buttons are enabled.  ...
  • Page 69: Esc P M T1 T2

     T his command sets the print starting position to the   beginning of the line.  T his command does not affect the line spacing set by   2 or ESC 3.  T he maximum paper feed amount is 1016 mm (40 inches).  ...
  • Page 70: Esc { N

     I f t2 < t1, the OFF time is [ t1  2 ms]     [Reference] DLE DC4 ESC { n [Name] Turns on/off upside-down printing mode [Format] ASCII Decimal 27 123 [Range] 0  n  2 55  ...
  • Page 71: Fs P N M

    Paper feed direction FS p n m [Name] Print NV bit image [Format] ASCII 1C 70 Decimal 28 112 n [Range] 1  n  2 55; 0  m  3 , 48  m  5 1      ...
  • Page 72  T his command is not effective when the specified NV bit   image has not been defined.  I n standard mode, this command is effective only whe   there is no data in the print buffer.  I n page mode, this command is not effective.  ...
  • Page 73: Fs Q N [Xl Xh Yl Yh D1...Dk]1...[Xl Xh Yl Yh D1...Dk]N

    height n  2 of the NV bit -image) in doubleheight and   quadruple modes, regardless of the line spacing specified by ESC 2 or ESC 3.  A fter printing the bit image, this command sets the print   position to the beginning of the line and processes the data that follows as normal data.
  • Page 74 direction for the NV bit image you are defining.  y L, yH specifies ( yL   y H  2 56)  8 dots in the vertical       direction for the NV bit image you are defining. [Notes] ...
  • Page 75 including the real-time commands during the execution of this command.  N V bit image means a bit image which is defined in a   non-volatile memory by FS q and printed by FS p.  I n standard mode, this command is effective only when  ...
  • Page 76 first data group [xL xH yL yH d1...dk] is NV bit image 01H, and the last data group [xL xH yL yH d1...dk] is NV bit image n. The total agrees with the number of NV bit images specified by command FS p. ...
  • Page 77 performed by the FS p command. [Reference] FS p [Example] When xL = 64, xH = 0, yL = 96, yH = 0...
  • Page 79: Fs Q N [Xl Xh Yl Yh D1

    GS FF [Name] Black mark paper localization [Format] ASCII GS FF Decimal 29 [Description] The printer feeds paper to the position of the next black mark. [Notes]  T his command is only effective for black mark paper.    W hen black mark paper is selected, please don’t use  ...
  • Page 80 [Notes]  T his command is a ll characters (alphanumeric and   Chinese) effective except for HRI characters.  I f n is outside of the defined range, this command is   ignored.  I n standard mode, the vertical direction is the paper feed  ...
  • Page 81: Gs # N

    paper feed direction. However,when character orientation changes in 90  c lockwise -rotation mode, the relationship   between vertical and horizontal directions is reversed.  I n page mode, vertical and horizontal directions are based   on the character orientation. ...
  • Page 82: Gs $ Nl Nh

    GS $ nL nH [Name] Set absolute vertical print position in page mode [Format] ASCII 24 nL Decimal 29 36 nL [Range] 0  n L  2 55, 0  n H  2 55         [Description] ...
  • Page 83: Gs ( A Pl Ph N M)

     T he GS P command can change the horizontal and vertical   motion unit. However, the value cannot be less than the minimum horizontal movement amount, and it must be in even units of the minimum horizontal movement amount. [Reference] ESC $, ESC T, ESC W, ESC \, GS P, GS \ GS ( A pL pH n m [Name] Execute test print...
  • Page 84: Gs   X Y D1

    [Description]  T his command is enabled only when processed at the   beginning of a line in standard mode.  T his command is no effect in page mode.    W hen this command is received during macro definition,  ...
  • Page 85 Decimal 29 42 x d1 ...d(x  y    8 )   [Range] 1  x  2 55      y  4 8      y  1 536      d  2 55  ...
  • Page 86: Gs / M

    [Reference] GS / GS / m [Name] Print downloaded bit image [Format] ASCII 2F m Decimal 29 47 m [Range] 0  m  3 , 48  m  5 1         [Description] Prints a downloaded bit image using the mode...
  • Page 87 specified by m. m selects a mode from the table below: Mode Vertical Dot Horizontal Dot Density(DPI) Density(DPI) Normal Double-width Double-height Quadruple [Notes]  T his command is ignored if a downloaded bit image has   not been defined.  I n standard mode, this command is effective only when  ...
  • Page 88 than one line in vertical, the following processing is performed only on the line in question:  T he printin g area width is extended to the right up to one ① line in vertical. In this case, printing does not exceed the printable area.
  • Page 89: Gs B N

     I f the printer receives GS : again immediately after   previously receiving GS : the printer remains in the macro undefined state.  T he contents of the macro can be defined up to 2048 bytes.   If the macro definition exceed 2048 bytes, excess data is not stored.
  • Page 90: Gs H N

     T his command does not affect bit image, user -defined bit   image, bar code, HRI characters, and spacing skipped by HT, ESC $, and ESC \.  T his comm and does not affect the space between lines.  ...
  • Page 91: Gs I N

    Printer ID Specification (hexadecimal) 1,49 Printer model SP-POS88IV series 2,50 Printer model See table below 3,51 ROM version Depends on ROM version Firmware Depends on Firmware version version ID Manufacturer SPRT Printer name SP-POS88IV Serial number Depends on serial number...
  • Page 92 Support type Japan model: KANJI JAPANESE China model: CHINA GB2312 Taiwan model:TAIWAN BIG-5 Thai model: THAI 3 PASS n = 2, Type ID [Notes]   W hen DTR/DSR control is selected in the serial interface model, the printer transmits only 1 byte after confirming that the host is ready to receive data (DSR signal is SPACE).
  • Page 93: Gs L Nl Nh

    depending on the receive buffer status.  W hen the printer ID transmission is specified with (1  n      3 ) or (49  n  5 1),one byte code is tr ansmitted.        W hen Auto Status Back (ASB) is enabled using GS a, the  ...
  • Page 94: Gs P X Y

     T he left margin is set to [( nL + nH  2 56)  h orizontal       motion unit)] inches. Printable area [Notes]  T his command is effective only processed at the beginning   of the line in standard mode. ...
  • Page 95 [Format] ASCII Decimal 29 [Range] 0  x  2 55; 0  y  2 55         [Description] Sets the horizontal and vertical motion units to approximately 25.4/ x mm { 1/ x inches} and approximately 25.4/ y mm {1/ y inches}, respectively.
  • Page 96: G S V M  G S V M N

     W hen the print starting position is set to the upper right or ② lower left of the printing area using ESC T (data is buffered in the paper feed direction): Commands using x: ESC 3, ESC J, ESC W, GS $, GS \ Commands using y: ESC SP, ESC $, ESC W, ESC \,FS S, GS V ...
  • Page 97: Gs W Nl Nh

    [Notes for  a nd ① ②  T his command is effective only processed at the beginning   of a line. [Notes for ②  W hen m = 0,48,1, 49, the printer feeds the paper to the   cutting position and cuts it.
  • Page 98 by nL and nH.  T he printing area width is set to [( nL + nH  2 56)      h orizontal motion unit)]   inches. Printable area [Notes]  T his command is effective only processed at the beginning  ...
  • Page 99: Gs \ Nl Nh

    GS \ nL nH [Name] Set relative vertical print position in page mode [Format] ASCII Decimal 29 [Range] 0  n L  2 55; 0  n H  2 55         [Description] Sets the relative vertical print starting position from the current position in page mode.
  • Page 100: Gs ^ R T M

    left of the printing area, the horizontal motion unit (x) is used.  T he horizontal and vertical motion unit are specified by    T he GS P command can change the horizontal (and   vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount, and it must be in even units of the minimum horizontal movement amount.
  • Page 101: Gs A N

    executes the macro once. The printer repeats the operation r times. [Notes]  T he waiting time is t  1 00 ms for every macro execution.      I f this command is received while a m acro is being defined,  ...
  • Page 102 [Notes]  I f any of the status items in the table above are enabled,   printer transmits the status when this command is executed. The printer automatically transmits the status whenever the enabled status item changes. The disabled status items may change, in this case, because each status transmission represents the current status.
  • Page 103 processed in the receive buffer, there may be a time lag between data reception and status transmission.  W h en the printer is disabled by ESC = (Select peripheral   device), the four status bytes are transmitted whenever the status changes.
  • Page 104 Bit 3: If these errors occur due to paper jams or the like, it is possible to recover by correcting the cause of the error and executing DLE ENQ n (1  n  2 ). If an error due  ...
  • Page 105: Gs F N

    Fourth byte (paper sensor information) [Default] n = 0 when DIP SW 2-1 is off, n = 2 when DIP SW 2-1 is on. [Reference] DLE EOT, GS r GS f n [Name] Select font for Human Readable Interpretation (HRI) characters [Format] ASCII...
  • Page 106: Gs H N

    n selects a font from the following table: [Notes]  H RI indicates Human Readable Interpretation.    H RI characters are printed at the position specified   by GS H. [Default] n = 0 [Reference] GS H, GS k GS h n [Name] Select bar code height [Format]...
  • Page 107: Bar Code

    1D 6B d1...d k Decimal 29 107 m d1...d k ASCII d1... dn ② n d1... dn Decimal 29 107 n d1... dn [Range]  0  m  6 (k and d depends on the bar code system used) ①...
  • Page 108 CODE39 1 ≤ n ≤ 255 45 ≤ d ≤ 57, 65 ≤ d ≤ 90, 32, 36, 37,43 d1 = dk = 42 1 ≤ n≤ 255 48 ≤ d ≤ 57 CODABAR 1 ≤ n≤ 255 48 ≤ d ≤ 57 65 ≤ d ≤ 68, 36, 43,45,46,47 58 CODE93 1 ≤...
  • Page 109  I f n is outside of the specified range, the printer stops   command processing and processes the following data as normal data. [Notes in standard mode]  I f d is outside of the specified range, the printer only feeds  ...
  • Page 110  I f bar code width exceeds the printing area, this command   is ignored. When CODE128 (m = 73) is used:   efer to Appendix A for the information of the CODE 128  R bar code and its code table. ...
  • Page 111 [Example] Example data for printing "No. 123456" In this example, the printer first prints "No." using CODE B, then prints the following numbers using CODE C. GS k 73 10 123 66 78 111 46 123 67 12 34 56 ...
  • Page 112: Gs R N

    different depending on the types of the bar code.) [Reference] GS H, GS f, GS h, GS w GS r n [Name] Transmit status [Format] ASCII Decimal 29 114 n [Range] n = 1, 2, 49, 50 [Description] Transmits the status specified by n as follows: [Notes] ...
  • Page 113: Gs V 0 M Xl Xh Yl Yh D1

    Bits 2 and 3: When the paper end sensor detects a paper end, the printer goes off-line and does not execute this command. Therefore, bits 2 and 3 do not transmit the status of paper end. Drawer kick-out connector status ( n = 2, 50): [Reference] DLE EOT, GS a GS v 0 m xL xH yL yH d1..dk [Name] Print raster bit image...
  • Page 114 [Range] 0  m  3 , 48  m  5 1          x L  2 55      x H  2 55      y L  2 55    ...
  • Page 115 minimum width only on the line in question. The minimum width means 1 dot in normal (m=0, 48) and double-height (m=2, 50), 2 dots in double-width (m=1, 49) and quadruple (m=3, 51) modes.  D ata outside the printing area is rea d in and discarded on a  ...
  • Page 116: Gs W N

    GS w n [Name] Set bar code width [Format] ASCII Decimal 29 [Range] 2  n  6     [Description] Set the horizontal size of the bar code. n specifies the bar code width as follows:  M ulti -level bar codes are as follows: UPC-A, UPC-E,  ...
  • Page 117 Decimal 28 33 n [Range] 0  n  2 55     [Description] Sets the print mode for Chinese characters, using n as follows: [Notes]  W hen both double -width and double-height modes are set   (including right- and left-side character spacing), quadruple-size characters are printed.
  • Page 118 baseline.  I t is possible to emphasize the Chinese character using   W or GS !, the setting of the last received command is effective.  I t is possible to turn under line mode o n or off using FS  ,  ...
  • Page 119: Fs - N

    FS – n [Name] Turn underline mode on/off for Chinese characters [Format] ASCII Decimal [Range] 0 2, 48         [Description] Turns underline mode for Chinese characters on or off, based on the following values of n. Function 0, 48 Turns off underline mode for Chinese characters 1, 49...
  • Page 120: Fs 2 C1 C2 D1

    It is possible to tu rn underline mode on or off using FS !,   and the last received command is effective. [Default] n = 0 [Reference] FS ! FS . [Name] Cancel Chinese character mode [Format] ASCII Decimal [Description] Cancels Chinese character mode. [Notes] ...
  • Page 121 c1 = FEH A1H ≤ c2 ≤ FEH 0 ≤ d ≤ 255 k = 72 [Description] Defines user-defined Chinese characters for the character codes specified by c1 and c2. [Notes]  c 1 and c2 indicate character codes for the defined  ...
  • Page 122 FS S n1 n2 [Name] Set left- and right-side Chinese character spacing [Format] ASCII n1 n2 53 n1 n2 Decimal 28 83 n1 n2 [Range] 0  n 1  2 55; 0  n 2  2 55    ...
  • Page 123 spacing n1 and n2, respectively.  W hen the printer model used supports GS P, the left-side   character spacing is [ n1  h orizontal or vertical motion units],   and the right-side character spacing is [ n2  h orizontal or  ...
  • Page 124 paper roll and is approximately 35.983 mm {255/150 inches}. Any setting exceeding the maximum is converted to the maximum automatically. [Default] n1 = 0, n2 = 0 [Reference] GS P FS W n [Name] Turn quadruple-size mode on/off for Chinese characters [Format] ASCII...
  • Page 125 size.  W hen some of the charac ters on a line are different in   height, all the characters on the line are aligned at the baseline.   FS ! or GS ! can also select and cancel quadruple-size mode by selecting double-height and double-width modes, and the setting of the last received command is effective.

Table of Contents