Download Print this page
POSBank A11 Standard Command Manual

POSBank A11 Standard Command Manual

Pos thermal receipt printer

Advertisement

Quick Links

A11-Prime/Standard-E(Rev001)
POS Thermal Receipt Printer
A11 Standard/Prime
Command Manual

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for POSBank A11 Standard

  • Page 1 A11-Prime/Standard-E(Rev001) POS Thermal Receipt Printer A11 Standard/Prime Command Manual...
  • Page 2 Table of Contents 1. Notice ..............................................3 2. Control Commands List in Alphanumeric Order ................................. 4 2-1 Command Description Items ......................................6 2-2 Details of Control Commands ....................................... 7...
  • Page 3: Notice

    POSBANK Corporation. POSBANK has no liability for loss or damage arising from or relating to your use of or reliance on the information in the document.
  • Page 4: Control Commands List In Alphanumeric Order

    2. Control Commands List in Alphanumeric Order Command Function Command Function Horizontal tab ESC R Specify an international character set Print and line feed ESC S Select standard mode Form feed (in page mode) Select print direction in page mode ESC T Print and carriage return Turn 90°...
  • Page 5 Command Function GS H Select print position of HRI characters Transmit printer ID GS I GS L Set left margin GS V Select cut mode and executes a partial cut Set print area width GS W GS ^ Execute macro GS a Enable/Disable Automatic Status Back (ASB) GS f...
  • Page 6: Command Description Items

    2-1 Command Description Items Command Function: Command function outline Code: Command format expressed in ASCII, hexadecimal, and decimal codes Range: Argument value (Setting range) for the command Default: Initial argument value for the command Description: Detailed command function description Remarks: Additional information about using the command Differences: Variations depending on the printer model...
  • Page 7: Details Of Control Commands

    2-2 Details of Control Commands Function: Horizontal tab Code: ASCII Decimal Range: None Default: None Description: This command moves the print position to the next horizontal tab position. If the next horizontal tab position is not specified, this command will be void. Remarks: ■...
  • Page 8 Function: Print and line feed Code: ASCII Decimal Range: None Default: None Description: This command prints the data in the print buffer and feeds one line based on the current set line spacing in standard mode. ■ In page mode, the printer does not perform actual printing, but moving only the print position to the next line. Remarks: Differences: None...
  • Page 9 Function: Form feed (in page mode) Code: ASCII Decimal Range: None Default: None Description: This commands prints all data collected in the printer buffer In page mode. After completion of printing, the printer is returned to standard mode. ■ The printer is returned to standard mode after completion of printing. Remarks: ■...
  • Page 10 Function: Print and carriage return Code: ASCII Decimal Range: None Default: None Description: This command prints the data. With auto line feed enabled, it performs printing and one line feeding same as LF. Differences: None...
  • Page 11 Function: Cancel the print data in page mode Code: ASCII Decimal Range: None Default: None Description: This command clears the receive buffer and print buffers in page mode. ■ This command is effective only in page mode that is set by ESC L. Remarks: None Differences:...
  • Page 12 DLE EOT Function: Transmit real-time status Code: ASCII Decimal 1 ≤ n ≤ 4 Range: Default: None Description: This command enables commands to be operable in real-time. This command transmits the printer-related status specified by n as follows: Function Transmit printer status Transmit off-line status Tran mit error status Transmit paper roll sensor status...
  • Page 13 n=2: Off-line status Off/On Decimal Status Fixed Fixed Cover is closed Cover is open Paper is not being fed by using the paper FEED button Paper is being fed by the paper FEED button Fixed No paper-end stop Printing is being stopped No error Error has occurred Fixed...
  • Page 14 n=4: paper sensor status Binary Decimal Status Not used. Fixed to Off Not used. Fixed to On Not used. Fixed to Off Not used. Fixed to On Paper end sensor: paper present Paper end sensor: paper not present Not used. Fixed to Off ■...
  • Page 15 DLE DC4 Function: Generate pulse at real-time Code: ASCII Decimal n = 1, m=0,1, 1 ≤ t ≤ 8 Range: Default: None ■ Output the pulse specified by t to connector pin m as following: Description: Connector pin Drawer kick-out connector pin 2 Drawer kick-out connector pin 5 ■...
  • Page 16 ESC SP Function: Set the character right space Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This command sets the size of space to right of character. Description: • Right space = n × [horizontal motion units]. ■...
  • Page 17 ESC ! Function: Set print mode Code: ASCII Decimal 0 ≤ n ≤ 255 Range: n = 0 Default: This command selects print mode(s) with bits having following meanings. Description: Off/On Decimal Function Character font A selected Character font B selected Reserved Emphasized mode not selected Emphasized mode selected...
  • Page 18 ESC $ Function: Set absolute print position Code: ASCII Decimal 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nH ≤ 255, 0 ≤ nL ≤ 255) Range: Default: None Description: This command specifies the next print starting position in reference to the left edge of the print area. The printing start position is calculated using (nL + nH x 256) x (vertical or horizontal motion units).
  • Page 19 ESC % Function: Select/cancel user-defined character set Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This command selects/deselects user-defined character set that is downloaded by user. To make it valid, the least Description: significant bit should be defined like following. •...
  • Page 20 ESC & Function: Define user-defined character set Code: ASCII & y c1 c2 [x1 d1 ... d(yⅹx1)]... [xk d1 ... d(yⅹxk)] y c1 c2 [x1 d1 ... d(yⅹx1)]... [xk d1 ... d(yⅹxk)] Decimal y c1 c2 [x1 d1 ... d(yⅹx1)]... [xk d1 ... d(yⅹxk)] y = 3 Range: 32 ≤...
  • Page 21 ESC * Function: Specify bit image mode Code: ASCII d1...dk d1...dk Decimal d1...dk Range: m = 0, 1, 32, 33 0 ≤ nL ≤ 255 0 ≤ nH ≤ 3 0 ≤ d ≤ 255 k = nL + nH × 256 [in case of m = 0, 1] k = (nL + nH ×...
  • Page 22 ESC – Function: Turn underline mode on/off Code: ASCII Decimal 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Range: Default: n = 0 ■ This command enables the print data following it to be printer out underlined. Description: •...
  • Page 23 ESC 2 Function: Select default line spacing Code: ASCII Decimal Range: None Default: None Description: This command sets the default line spacing The default line spacing is approximately 3.75 mm, which is equivalent to 30 dots. ■ The line spacing can be set independently in standard mode and in page mode. Remarks: ■...
  • Page 24 ESC 3 Function: Set line spacing Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: Corresponding to the default line spacing defined by ESC 2 ■ This command sets the line spacing using a following rule. Description: • Line spacing = n x (vertical or horizontal motion units) ■...
  • Page 25 ESC = Function: Select peripheral device Code: ASCII Decimal 1 ≤ n ≤ 3 Range: Default: None Description: This command selects the device to which the host computer communicates according to n as follows: Function Enables the printer Disables the printer Enables the printer ■...
  • Page 26 ESC ? Function: Cancel user-defined characters Code: ASCII Decimal 32 ≤ n ≤ 126 Range: Default: None Description: This command removes user-defined character specified by character code n. ■ In place of the deleted user-defined character, the cooresponding resident character is printed. Remarks: ■...
  • Page 27 ESC @ Function: Initialize printer Code: ASCII Decimal Range: None Default: None Description: This command cancels conditions previously set and initializes the printer to the conditions having existed at power on. ■ The data in the printer buffer is cleared. Remarks: ■...
  • Page 28 ESC D Function: Set horizontal tab position Code: ASCII n1...nk n1...nk Decimal n1...nk 1 ≤ n ≤ 255 , 0 ≤ k ≤ 32 Range: Default: n = 8, 16, 24, 32, 40,.., 232, 240, 248 ■ This command sets the horizontal tab position. Description: •...
  • Page 29 ESC E Function: Turn emphasized mode on / off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This command turns emphasized mode on or off by toggling the least significant bit of n like following. Description: •...
  • Page 30 ESC G Function: Turn double-strike mode on/off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This command turns double-strike mode on or off by toggling the least significant bit of n like following. Description: •...
  • Page 31 ESC J Function: Print and feed paper Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: None Description: This command prints the data in the print buffer and feeds the paper [n X vertical motion unit]. ■ The maximum feed amount available varies depending on the printer model. Remarks: ■...
  • Page 32 ESC L Function: Select page mode Code: ASCII Decimal Range: None Default: None Description: This command switches from standard mode to page mode. ■ For printing in page mode, ESC T defines the print direction and starting position that is within the print area specified Remarks: by ESC W.
  • Page 33 ESC M Function: Select character font Code: ASCII Decimal Range: n = 0, 1, 48, 49 Default: n = 0 Description: This command selects only-byte character fonts using n as following. Function 0, 48 Character font A selected 1, 49 Character font B selected ■...
  • Page 34 ESC R Function: Specify international character set Code: ASCII Decimal 0 ≤ n ≤ 13 Range: Default: n = 0 Description: This command specifies international characters according to n values. Character set Character set U.S.A Spain I France Japan Germany Norway Denmark II Denmark I...
  • Page 35 ESC S Function: Select standard mode Code: ASCII Decimal Range: None Default: None Description: This command enables standard mode. ■ The data in the printer buffer is cleared and the setting by ESC W returns to the default. Remarks: ■ The conditions by the following commands are defined independently in standard mode and page mode. •...
  • Page 36 ESC T Function: Select print direction in page mode Code: ASCII Decimal 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 Range: Default: n = 0 This command selects the print direction and starting position in page mode. Description: Print Direction Starting Position 0,48...
  • Page 37 ESC V Function: Turn 90°clockwise rotation mode on/off Code: ASCII Decimal 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Range: Default: n = 0 ■ This command turns 90° clockwise rotation mode on/off in standard mode according to the value of n as following Description: •...
  • Page 38 ESC W Function: Set print area in page mode Code: ASCII Decimal 0 ≤ (xL + xH x 256) ≤ 65535 (0 ≤ xL ≤ 255, 0 ≤ xH ≤ 255) Range: 0 ≤ (yL + yH x 256) ≤ 65535 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 255) 1 ≤...
  • Page 39 The maximum printable area(Max horizontal printable area, Max vertical printable area): Differences: Max horizontal printable area Max vertical printable area 72.2mm(512dots) 234.3mm(1662dots)
  • Page 40 ESC \ Function: Set relative print position \ Code: ASCII Decimal 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL 255, 0 ≤ nH ≤ 255) Range: None Default: ■ This command sets the print starting position based on the current position to [(nL + nH × 256) × horizontal or vertical Description: motion unit].
  • Page 41 ESC a Function: Set position alignment Code: ASCII Decimal 0 ≤ n ≤2, 48 ≤ n ≤50 Range: Default: n = 0 Description: This command specifies position alignment for all data in one line in standard mode, using n as follows: Alignment 0, 48 Left alignment...
  • Page 42 ESC d Function: Print and feed n lines Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: None Description: This command feeds the paper by n lines after printing the data in the print buffer. ■ The per-line paper feed amount is based on the value set by the line spacing related commands, ESC 2 and ESC 3. Remarks: ■...
  • Page 43 ESC i Function: Partial cut Code: ASCII Decimal Range: None Default: None Description: This command executes a partial cut of the paper with one point left uncut. ■ The same partial cut as this command is executed using ESC m and GS V. Remarks: ■...
  • Page 44 ESC m Function: Partial cut Code: ASCII Decimal Range: None Default: None Description: This command executes a partial cut of the paper with one point left uncut. ■ The same partial cut as this command is executed using ESC i and GS V. Remarks: ■...
  • Page 45 ESC p Function: Generate pulse Code: ASCII Decimal Range: m = 0, 1, 48, 49 0 ≤ t1 ≤ 255, 0 ≤ t2 ≤ 255 None Default: Description: This command outputs the signals specified with t1 and t2 to the connector pins defined by m. Connector pin 0, 48 Drawer kick-out connector pin 2...
  • Page 46 ESC t Function: Select character code table Code: ASCII Decimal 0 ≤ n ≤ 5, 16 ≤ n ≤ 19, 21 ≤ n ≤ 31, 33 ≤ n ≤ 41, n=255 Range: Default: For model not supporting Thai character: n=0 For model supporting Thai character support: n = 20 Description: This command specifies code page according to the value of n as follows:...
  • Page 47 Code page Page 26 1257 (Baltic) Page 27 Farsi Page 28 1251 (Cyrillic) Page 29 737 (Greek) Page 30 775 (Baltic) Page 31 Thai14 Page 33 1255 (Hebrew New code) Page 34 Thai 11 Page 35 Thai 18 Page 36 855 (Cyrillic) Page 37 857 (Turkish) Page 38 928 (Greek) Page 39 Thai 16...
  • Page 48 ESC v Function: Transmit paper sensor status Code: ASCII Decimal Range: None Default: None ■ This command transmits a byte of data specifying the paper sensor status. Description: ■ The status of paper near end and paper end sensors is sent to the host as follows: •...
  • Page 49 ESC { Function: Turns upside-down printing mode on/off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 Description: This command selects/deselects upside-down printing mode according to the least significant bit as follows. Upside-down mode Turned off Turned on Remarks: ■...
  • Page 50 FS p Function: Print NV bit image Code: ASCII Decimal 1 ≤ n ≤ 255 Range: 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 None Default: Description: This command prints NV bit image n using the mode specified by m as follows: Mode 0, 48 Normal...
  • Page 51 DPI : Dots per Inch (25.4mm) Differences: Mode Vertical Dot Density (DPI) Horizontal Dot Density (DPI) Normal Double-width Double-height Quadruple...
  • Page 52 FS q Function: Define NV bit image Code: ASCII [xL xH yL d1...dk]1... [xL xH yL d1...dk]n [xL xH yL d1...dk]1... [xL xH yL d1...dk]n Decimal [xL xH yL d1...dk]1... [xL xH yL d1...dk]n 1 ≤ n ≤ 255 Range: 1 ≤...
  • Page 53 … dY+1 … dY+2 dk-2 … dk-1 … dY x 2 ■ The capacity of NV memory area is 256KB. Differences: None...
  • Page 54 GS ! Function: Select character size Code: ASCII Decimal 0 ≤ n ≤ 255 Range: (1 ≤ Vertical enlargement ≤ 8, 1 ≤ Horizontal enlargement ≤ 8) n = 0 Default: ■ This command selects the character height and width using bits 0 to 3, and bits 4 to 7 respectively as follows: Description: Function Setting...
  • Page 55 • Table 1 [Enlarged in horizontal direction] Decimal Enlargement 1 time (standard) 2 times 3 times 4 times 5 times 6 times 7 times 8 times • Table 2 [Enlarged in vertical direction] Decimal Enlargement 1 time (standard) 2 times 3 times 4 times 5 times...
  • Page 56 GS $ Function: Set absolute vertical print position in page mode Code: ASCII Decimal 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255) Range: Default: None Description: This command sets the absolute vertical print starting position to [(nL + nH × 256) × (vertical or horizontal motion unit)]. ■...
  • Page 57 GS ( A Function: Execute test print Code: ASCII Decimal Range: (pL + pH x 256) = 2 (pL=2, pH=0) 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 1 ≤ m ≤ 2, 49 ≤ m ≤ 50 Default: None ■...
  • Page 58 GS ( L, GS 8 L Function: Select graphics data Code: [parameter] ASCII [parameter] [parameter] Decimal [parameter] ASCII [parameter] [parameter] Decimal Range: None Default: None This command processes graphics data according to the function code (fn). Description: Format Function 0, 48 GS ( L pL pH m fn Transmits the NV graphics momory capacity 2, 50...
  • Page 59 ■ This command is adapted to print image data. Remarks: ■ pL, pH specifies the number of bytes following pH using (pL + pH x 256). ■ Since frequent writing operation could cause the damage to the NV memory, it is recommended to write only when being required.
  • Page 60 <Function 48> GS ( L pL pH m fn (fn=0, 48) Code: ASCII Decimal (pL + pH x 256) = 1 (pL=2, pH=0) Range: m=48 fn=0, 48 Default: None Description: Tramsmits the total capacityu of the NV bit-image momory (number of bytes in the memory area). Remarks: Hexadecimal Decimal...
  • Page 61 <Function 50> GS ( L pL pH m fn (fn=2, 50) Code: ASCII Decimal (pL + pH x 256) = 1 (pL=2, pH=0) Range: m=48 fn=2, 50 Default: None Description: This command prints the graphics data defined by the process of Function 112. ■...
  • Page 62 <Function 51> GS ( L pL pH m fn (fn=3, 51) Code: ASCII Decimal (pL + pH x 256) = 2 (pL=2, pH=0) Range: m=48 fn=3, 51 Default: None Description: This command transmits the setting value of the memory switch corresponding to a. Hexadecimal Decimal Amount of Data...
  • Page 63 <Function 64> GS ( L pL pH m fn d1 d2 (fn=64) Code: ASCII Decimal (pL + pH x 256) = 4 (pL=4, pH=0) Range: m=48 fn=64 d1=75, d2=67 None Default: ■ Transmits the defined NV graphics key code list. Description: Hexadecimal Decimal...
  • Page 64 ■ If the number of the key code exceed 40, the key code is transmitted dividing up to 40. Remarks: - The status if the continuous transmission data block is present is 41H. - The status if the continuous transmission data block is not present is 40H. ■...
  • Page 65 <Function 65> GS ( L pL pH m fn d1 d2 d3 (fn=65) Code: ASCII Decimal (pL + pH x 256) = 5 (pL=5, pH=0) Range: fn=65 d1=67, d2=76, d3=82 Default: None Description: This command removes all defined NV graphics data. ■...
  • Page 66 <Function 66> GS ( L pL pH m fn kc1 kc2 (fn=66) Code: ASCII Decimal (pL + pH x 256) = 4 (pL=4, pH=0) Range: m=48 fn=66 32 ≤ kc1 ≤ 126 32 ≤ kc2 ≤ 126 Default: None Description: Deletes the NV graphics data defined by the codes kc1 and kc2.
  • Page 67 <Function 67> GS ( L pL pH m fn a kc1 kc2 b xL xH yL yH [c d1…dk]1…[c d1…dk]b (fn=67) kc1 kc2 b xL xH yL yH [c d1…dk]1…[c d1…dk]b Code: ASCII kc1 kc2 b xL xH yL yH [c d1…dk]1…[cd1…dk]b kc1 kc2 b xL xH yL yH [c d1…dk]1…[c d1…dk]b Decimal GS ( L parameter...
  • Page 68 ■ If new NV graphics data is saved or the existing data is modified, all of the existing data in NV graphics memory are Remarks: flushed and updated using this command. The rest of NV graphics data groups having no change should be redefined along with the new group stored.
  • Page 69 <Function 69> GS ( L pL pH m fn kc1 kc2 x y (fn=69) Code: ASCII Decimal (pL + pH x 256) = 6 (pL=6, pH=0) Range: m=48, fn=69 32 ≤ kc1 ≤ 126 32 ≤ kc2 ≤ 126 x=1, 2 y=1, 2 Default: None...
  • Page 70 <Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1…dk (fn=112) a bx by c xL xH yL yH d1…dk Code: ASCII a bx by c xL xH yL yH d1…dk a bx by c xL xH yL yH d1…dk Decimal GS ( L parameter Range:...
  • Page 71 ■ This command stores the raster graphics data in the print buffer, enlarged by bx and by in the horizontal and vertical Description: directions. • xL, xH specifies the raster graphics data in the horizontal directionas (xL + xH x 256) dots. •...
  • Page 72 GS ( k Function: Specify and print the symbol None Code: Range: None None Default: ■ This command processes the data concerning two-dimensional code. Description: • Symbol type is specified by cn. • Function code is specified by fn. Type of Symbo PDF417 (2-dimensional code) QR CODE (2-dimensional code) Function...
  • Page 73 PDF417 symbol data (when cn=48) Remarks: ■ The symbol data is defined, stored to the symbol storage area by Function 080 and printed by the specification of Function 081. The symbol data in the area remains reserved until the following processes are executed: •...
  • Page 74 <Function 065> GS ( k pL pH cn fn n (fn=65) Code: ASCII Decimal (pL + pH x 256) = 3 (pL=3, pH=0) Range: cn=48, fn=65 0 ≤ n ≤ 30 Default: n = 0 ■ This command specifies the number of columns in the data area of PDF417. Description: •...
  • Page 75 <Function 066> GS ( k pL pH cn fn n (fn=66) Code: ASCII Decimal (pL + pH x 256) = 3 (pL=3, pH=0) Range: cn=48, fn=66 n=0, 3 ≤ n ≤ 90 Default: n = 0 ■ This command specifies the number of rows in the data area of PDF417. Description: •...
  • Page 76 <Function 067> GS ( k pL pH cn fn n (fn=67) Code: ASCII Decimal (pL + pH x 256) = 3 (pL=3, pH=0) Range: cn=48 fn=67 1 ≤ n ≤ 4 n = 3 Default: Description: This command sets the width of the module of PDF417 symbol to n dots. ■...
  • Page 77 <Function 068> GS ( k pL pH cn fn n (fn=68) Code: ASCII Decimal (pL + pH x 256) = 3 (pL=3, pH=0) Range: cn=48 fn=68 2 ≤ n ≤ 8 n = 3 Default: Description: This command sets the module height of PDF417 to [the module width x n]. ■...
  • Page 78 <Function 069> GS ( k pL pH cn fn m n (fn=69) Code: ASCII Decimal Range: (pL + pH x 256) = 4 (pL=4, pH=0) cn=48 fn=69 m=48 48 ≤ n ≤ 56 Default: None ■ This command specifies the error correction level for PDF417. Description: The error correction level is set by “level”.
  • Page 79 <Function 070> GS ( k pL pH cn fn m (fn=70) Code: ASCII Decimal (pL + pH x 256) = 3 (pL=3, pH=0) Range: cn=48 fn=70 m=0,1 m = 0 Default: Description: This command selects the option for PDF417. Function Select the standard PDF417 Select the simplified PDF417 ■...
  • Page 80 <Function 080> GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII d1...dk d1...dk d1...dk Decimal 4 ≤ (pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255) Range: cn=48 fn=80 m=48 0 ≤...
  • Page 81 <Function 081> GS ( k pL pH cn fn m (fn=81) Code: ASCII Decimal (pL + pH x 256) = 3 (pL=3, pH=0) Range: cn=48 fn=81 m=48 None Default: Description: This command encodes and prints the PDF417 symbol data in the symbol save area. ■...
  • Page 82 ■ The data area includes the following codewords: • 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. ■...
  • Page 83 <Function 165> GS ( k pL pH cn fn n1 n2 (fn=65) Code: ASCII Decimal (pL + pH x 256) = 3 (pL=3, pH=0) Range: cn=49 fn=65 n1 = 49, 50 n2 =0 Default: n1 = 50, n2 = 0 Description: This command sets the QR Code model as follows: Function...
  • Page 84 <Function 167> GS ( k pL pH cn fn n (fn=67) Code: ASCII Decimal (pL + pH x 256) = 3 (pL=3, pH=0) Range: cn=49 fn=67 1<=n<8 n = 3 Default: Description: This command sets the size of the QR Code module to n dots. ■...
  • Page 85 <Function 169> GS ( k pL pH cn fn n (fn=69) Code: ASCII Decimal (pL + pH x 256) = 3 (pL=3, pH=0) Range: cn=49 fn=69 48≤n≤51 n = 48 Default: Description: This command sets the error correction level for QR Code. Function Recovery Amount (%) Error Correction Level L...
  • Page 86 <Function 180> GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII d1...dk d1...dk d1...dk Decimal 4 ≤ (pL + pH x 256) ≤7092 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 27) Range: cn=49 fn=80 m=48 0 ≤...
  • Page 87 <Function 181> GS ( k pL pH cn fn m (fn=81) Code: ASCII Decimal (pL + pH x 256) = 3 (pL=3, pH=0) Range: cn=49 fn=81 m=48 None Default: Description: This command encodes and prints QR Code symbol data saved in the symbol storage area. ■...
  • Page 88 ■ The following data is automatically added by the encoding processing: • Position sensor pattern • Segregator for the position sensor pattern • Timing pattern • Format information • Version information • Error correction code text • Pad code text •...
  • Page 89 GS * Function: Define downloaded bit image Code: ASCII [d1...d(x x y x 8)] [d1...d(x x y x 8)] Decimal [d1...d(x x y x 8)] 1 ≤ x ≤ 255 Range: 1 ≤ y ≤ 48 (where x x y ≤ 1536) 0 ≤...
  • Page 90 GS / Function: Print downloaded bit image Code: ASCII Decimal 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 Range: Default: None Description: This command prints the downloaded bit image defined by GS * according to the mode denoted by m. DPI : Dots per Inch (25.4mm) Mode Vertical dot density(DPI)
  • Page 91 DPI : Dots per Inch (25.4mm) Differences: Mode Vertical dot density(DPI) Horizontal dot density(DPI) 0, 48 Normal 1, 49 Double-width 2, 50 Double-height 3, 51 Quadruple...
  • Page 92 GS : Function: Start/end macro definition Code: ASCII Decimal Range: None Default: None ■ This command starts or ends macro definition. Description: ■ The printer starts macro definition during normal operation and finishes it during macro definition upon receiving this Remarks: command.
  • Page 93 GS B Function: Turns white/black reverse printing mode on / off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This command selects white/black reverse printing mode by setting the least significant bit of n. Description: •...
  • Page 94 GS H Function: Selects print position of HRI characters Code: ASCII Decimal 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 Range: Default: n = 0 ■ This command selects the printing position of HRI (Human Readable Interpretation) characters when printing a bar code. Description: •...
  • Page 95 Transmits specified printer information, using n as follows: Printer ID type Specification Firmware version Firmware version Manufacturer POSBANK Printer model Printer model Code page Currently enabled code page ■ Printer information (When n = 65, 66, 67, 69) consist of [Header ~ NULL] data as shown below:...
  • Page 96 - 0x03 (Autocutter + Multi-byte character) 3(Printer feature ID) 0x63(when 3inch),0x62(when 2inch) 65(Firmware Version) Depend on firmware version information 66(Manufacturer) POSBANK 67(Printer model) A11 Standard or A11 Prime 69(Language of Font) Code page currently being used. Refer to cod page setting command, ESC t.
  • Page 97 GS L Function: Set left margin Code: ASCII Decimal 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Range: Default: (nL + nH x 256)=0 (nL=0, nH=0) Description: This command sets the left margin specified to [(nL + nH x 256) x (horizontal motion units)]. ■...
  • Page 98 GS V Function: Select cut mode and cut paper Code: ASCII ① Decimal ASCII ② Decimal ① m=0, 1, 48, 49 ② m=65, 66, 0 ≤ n ≤ 255 Range: Default: None Description: This command cuts paper in the specified mode as follows. Function 0,48 ①...
  • Page 99 GS W Function: Set printing area width Code: ASCII Decimal 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Range: Default: (nL + nH x 256)=512 (nL=0, nH=2) (When 80mm width of paper used) Description: This command sets the printing area width to [(nL + nH x 256) x (horizontal motion units)]. ■...
  • Page 100 GS ^ Function: Execute macro Code: ASCII Decimal 0 ≤ r ≤ 255 Range: 0 ≤ t ≤ 255 m=0, 1 Default: None ■ This command executes a macro using parameters as following: Description: • r specifies the number of times to execute the macro. •...
  • Page 101 GS a Function: Enable/Disable Automatic Status Back (ASB) Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This enables or disables ASB (Automatic Status Back) according to n. Description: • ASB is enabled when n > 0. ■...
  • Page 102 ■ The printer information transmitted is comprised of 4 bytes as follows: • First byte(printer information) Off/On Decimal Function Not used. Fixed to Off Not used. Fixed to Off Drawer kick-out connector pin 3 is LOW Drawer kick-out connector pin 3 is HIGH On-line Off-line Not used.
  • Page 103 • Third byte (paper sensor information) Off/On Decimal Function Paper near end sensor: paper adequate Paper near end sensor: paper near end Paper end sensor: paper present Paper end sensor: no paper present Not used. Fixed to Off Not used. Fixed to Off Not used.
  • Page 104 GS f Function: Select font for HRI characters Code: ASCII Decimal Range: n = 0, 1, 48, 49 Default: n = 0 Description: This command selects a font for the HRI(Human Readable Interpretation) characters used when printing a bar code, using n as follows: Font 0, 48...
  • Page 105 GS h Function: Selects bar code height Code: ASCII Decimal 1 ≤ n ≤ 255 Range: Default: n = 162 Description: This command sets the height of the bar code to n dots. ■ The unit of n depends on the printer model. Remarks: ■...
  • Page 106 GS k Function: Print bar code Code: ASCII d1...dk ① d1...dk Decimal d1...dk d1...dn ASCII ② d1...dn Decimal d1...dn ① 0 ≤ m ≤ 6 ② 65 ≤ m ≤ 73 Range: K, m, n depend on the barcode system Default: None ■...
  • Page 107 For range ② Bar Code System Range of k Range of d 11 ≤ n ≤ 12 48 ≤ d ≤ 57 UPC-A 11 ≤ n ≤ 12 48 ≤ d ≤ 57 UPC-E 12 ≤ n ≤ 13 48 ≤ d ≤ 57 JAN13(EAN) 7 ≤...
  • Page 108 GS r Function: Transmit status Code: ASCII Decimal Range: n = 1, 2, 49, 50 Default: None Description: The command transmits the status specified by n as follows: Function 1, 49 Transmits paper sensor status 2, 50 Transmits drawer kick-out connector status ■...
  • Page 109 Bits 2 and 3: This command can not be executed when the printer is offline due to the lack of paper. Therefore, the status of bit 2 (1) and bit 3 (1) is not transmitted. • Drawer kick-out connector status (n=2, 50): Off/On Decimal Function...
  • Page 110 GS v 0 Function: Print raster bit image Code: ASCII xL xH yL yH d1...dk xL xH yL yH d1...dk Decimal xL xH yL yH d1...dk 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 Range: 1 ≤ (xL + xH x 256) ≤ 128 (0 ≤ xL ≤ 128, xh=0) 1 ≤...
  • Page 111 DPI : Dots per Inch (25.4mm) Differences: Mode Vertical dot density (DPI) Horizontal dot density (DPI) 0, 48 Normal 1, 49 Double-width 2, 50 Double-height 3, 51 Quadruple...
  • Page 112 GS w Function: Set bar code width Code: ASCII Decimal 2 ≤ n ≤ 6 Range: Default: n = 3 ■ This command sets the horizontal size of the bar code, using n as follows: Description: Multi-level bar code module Binary-level bar code width (mm) Thin element width (mm)
  • Page 113 BS M Function: Select device font type Code: ASCII Decimal 65 ≤ m ≤ 67 ( m = 65,66,67) Range: Default: n = 0 ■ This command selects print mode(s) with bits having following meanings: Description: Off/On Decimal Function Resident ASCII font selected Customized ASCII font selected Resident codepage font selected Customized character font selected...
  • Page 114 BS V Function: Select cut mode and cut paper Code: ASCII ① Decimal ASCII ② Decimal ① m=0, 1, 48, 49 ② m=65, 66, 0 ≤ n ≤ 255 Range: Default: None Description: This command cuts paper in the specified mode as follows. For ①...
  • Page 115 BS ^ P Function: Set power saving mode Code: ASCII Decimal Range: None Default: None ■ Set the power saving mode for low power consumption. Description: ■ When the printer is entered power saving mode, printer is wait external interrupt. ■...
  • Page 116 <Function 48> BS ^ P fn (fn=0,48) Code: ASCII Decimal fn=0,48, 0 ≤ m ≤ 1 Range: 5 ≤ t ≤ 255 Default: m = 1, t = 20 ■ Set the power saving mode and time to change the sataus of printer. Description: ■...
  • Page 117 <Function 49> BS ^ P fn (fn=1,49) Code: ASCII Decimal fn=1,49 Range: Default: None ■ Read the power saving mode satatus and sleep time. Description: ■ Power saving data is consist of [Header ~ NULL] data as shown below: Remarks: Transmitted data Decimal Amount of data...
  • Page 118 Function: Turn melody on/off Code: ASCII Decimal Range: n = 0, 1, 48, 49 n = 0 Default: Description: Turns melody on or off Function 0, 48 Turns melody off 1, 49 Turns melody on...
  • Page 119 GS FF Function: Top of form of mark paper Code: ASCII Decimal ■ This command is effective only when BM is valid. This command is ignored when BM is invalid. Description: ■ This command is enabled only when at the top of the line. ■...
  • Page 120 GS < Function: Mechanically initialize printer Code: ASCII < Decimal ■ Cuts paper after feeding to the TOP(black mark) Description: ■ Does not affect other settings. ■ This command is effective in standard mode and page mode. ■ The TOP positon(black mark) varies according to the paper used and to customer specifications.
  • Page 121 GS A Function: Marked Paper Form Feed Position Corrent Code: ASCII Decimal 0 ≤ m ≤ 3, 48 ≤ m ≤ 51, 0 ≤ n ≤ 255 Range: ■ Sets the amount of correction for the marked paper from feed position in relation to the initial position. Description: ■...
  • Page 122 GS ( F Function: Set black mark adjustment value Code: ASCII Decimal Range: (pL+pHx256) = 4, pL = 4, pH = 0 1≤ a ≤ 2 m = 0, 48 0 ≤ nL + nH x 256 ≤ 65535, 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Default: All adjustment value = 0 ■...
  • Page 123 ■ On POSBANK printers, the default value of the black mark detection position is center from the top edge of the mark so, to make it the different position as on EPSON printers, it is necessary to adjust the position using this command.
  • Page 124 GS ( M Function: Save/load black mark adjustment value Code: ASCII Decimal Range: None None Default: Description: Sets the black mark adjustment value according to the function code (n). Format Function 1, 49 GS ( M pL pH n m Save black mark adjustment value 2, 50 GS ( M pL pH n m...
  • Page 125 <Function 1,49> GS ( M pL pH n m (n=1,49) Function: Save black mark adjustment value Code: ASCII Decimal Range: (pL+pHx256) = 2, pL = 2, pH = 0 n = 1, 49 1 ≤ m ≤ 3, 49 ≤ m ≤ 51 Description: ■...
  • Page 126 <Function 2,50> GS ( M pL pH n m (n=2,50) Function: Load black mark adjustment value Code: ASCII Decimal Range: (pL+pHx256) = 2, pL = 2, pH = 0 n = 2, 50 1 ≤ m ≤ 3, 49 ≤ m ≤ 51 Description: Loads the m position black mark adjustment value in the volatile memory.
  • Page 127 <Function 3,51> GS ( M pL pH n m (n=3,51) Function: Set black mark adjustment value auto-load when powering on Code: ASCII Decimal Range: (pL+pHx256) = 2, pL = 2, pH = 0 n = 3, 51 1 ≤ m ≤ 3, 49 ≤ m ≤ 51 Description: ■...

This manual is also suitable for:

A11 prime