Page 2
Programmer Manual Format Description This manual applies to company's 80mm Series Thermal Receipt Printer POS-80XX series. Command description of the programming manual includes the following sections: 1) an overview of the command names and functions. This is the first part of the command description. ASCII code is given command of the form and function of the commandCan be summarized.
Page 3
Programmer Manual FF(*) [Name] Print and return to standard mode in page mode [Format] ASCII Decimal [Description] Prints the data in the print buffer collectively and returns to standard mode. [Details] • The buffer data is deleted after being printed. •...
Programmer Manual • Even though the printer is not selected using ESC = (select peripheral device), this command is effective. • The printer transmits the current status. Each status is represented by onebyte data. • The printer transmits the status without confirming whether the host computer can receive data. •...
Programmer Manual n = 4: Continuous paper sensor Status Off/On Decimal Function Not used.Fixed to Off. Not used Fixed to On. Paper roll near-end sensor:paper adequate. 2, 3 Paper near-end is detected by the paper roll near-end sensor. Not used.Fixed to On. Paper roll sensor:Paper present.
Programmer Manual Connector pin Drawer kick-out connector pin 2. Drawer kick-out connector pin 5. pulse ON time is [ t × 100 ms] and the OFF time is [ t × 100ms]. [Details] • When the printer is in an error status when this command is processed, this command is ignored. •...
Programmer Manual ESC ! n [Name] Select print mode(s) [Format] ASCII Decimal [Range] 0 ≤n ≤255 [Description] Selects print mode(s) using n as follows: Off/On Decimal Function Character font A (12 ×24). Character font B (9 ×17). Undefined. Undefined. Emphasized mode not selected. Emphasized mode selected.
Page 8
Programmer Manual ESC % n [Name] Select/cancel user-defined character set [Format] ASCII ESC % Decimal [Range] 0 ≤ nL ≤ 255 [Description] • Selects or cancels the user-defined character set. • When the LSB of n is 0, the user-defined character set is canceled. •...
Page 9
Programmer Manual 12dot d1 d4 d7 24dot d2 d5 d3 d6 <OF> H d4= <30> H d4= <40> H ... d2= <03> H d5= <80> H d5= <40> H ... d3= <00> H d6= <00> H d6= <20> H ... •...
Page 10
Programmer Manual ESC * m nL nH d1... dk [Name] Select bit-image mode [Format] ASCII ESC * m nL nH d1...dk m nL nH d1...dk Decimal 42 m nL nH d1...dk [Range] m = 0, 1, 32, 33 0 ≤ nL ≤ 255 0 ≤...
Page 11
Programmer Manual • When 24-dot bit image is selected: Bit-image data d1 d4 d7 Bit-image data d2 d5 d8 d3 d6 d9 Print data Print data 1 dot Single density Double density ESC – n [Name] Turn underline mode on/off [Format] ASCII Decimal ≤...
Page 12
Programmer Manual ESC 3 n [Name] Set line spacing [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] Sets the line spacing to [ n ×vertical or horizontal motion unit] inches. [Details] • The line spacing can be set independently in standard mode and in page mode. •...
Page 13
Programmer Manual ESC @ [Name] Initialize printer [Format] ASCII Decimal 27 [Description] Clears the data in the print buffer and resets the printer mode to the mode that was in effect when the power was turned on. [Details] • The DIP switch settings are not checked again. •...
Page 14
Programmer Manual ESC G n [Name] Turn on/off double-strike mode [Format] ASCII Decimal [Range] 0 ≤ n ≤ 255 [Description] • Turns double-strike mode on or off. • When the LSB of n is 0, double-strike mode is turned off. •...
Page 15
Programmer Manual ④ Set left margin: GS L ⑤ Set printable area width: GS W • The following command is ignored in page mode: ① Execute test print: GS ( A • The following command is not available in page mode: ①...
Page 16
Programmer Manual Spain Japan Norway Denmark Spain Latin Korea Sloveina/Croatia Chinese The character sets for Slovenia/Croatia and China are supported only in the Simplified Chinese model. [Default] Simplified Chinese model: n = 15 Models other than the Simplified Chinese model: n = 0 ESC S (*) [Name] Select standard mode [Format] ASCII...
Page 17
Programmer Manual [Details] • When the command is input in standard mode, the printer executes only internal flag operation. This command does not affect printing in standard mode. • This command sets the position where data is buffered within the printing area set by ESC W. •...
Page 18
Programmer Manual set to (vertical printable area - vertical starting position). • The horizontal and vertical motion unit are specified by GS P. Changing the horizontal or vertical motion unit does not affect the current printing area. • The 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 minimum hori-zontal movement amount.
Page 19
Programmer Manual ESC a n [Name] Select justification [Format] ASCII Decimal [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Description] Aligns all the data in one line to the specified position n selects the justification as follows: Justification Left justification 0,48...
Page 20
Programmer Manual ESC c 4 n (*) [Name] Select paper sensor(s) to stop printing [Format] ASCII Decimal [Range] 0 ≤ n ≤255 [Description] Selects the paper sensor(s) used to stop printing when a paper-end is detected, using n as follows: Off/On Decimal Function...
Page 21
Programmer Manual ESC p m t1 t2 [Name] Generate pulse [Format] ASCII m t1 t2 m t1 t2 Decimal 27 112 m t1 t2 [Range] m = 0, 1, 48, 49 0 ≤ t1 ≤ 255, 0≤ t2 ≤ 255 [Description] Outputs the pulse specified by t1 and t2 to connector pin m as follows: Connector pin Drawer kick-out connector pin 2.
Page 22
Programmer Manual • When the LSB of n is 0, upside-down printing mode is turned off. • When the LSB of n is 1, upside-down printing mode is turned on. [Details] • Only the lowest bit of n is valid. •...
Page 24
Programmer Manual defined characters, downloaded bit images, and macros should be defined only after completing this command. The printer clears the receive and print buffers and resets the mode to the mode that was in effect at power on. At this time, DIP switch settings are checked again.
Page 25
Programmer Manual [Details] • This command is all characters (alphanumeric and Kanji) effective except for HRI characters. • If n is outside of the defined range, this command is ignored. • In standard mode, the vertical direction is the paper feed direction, and the horizontal direction is perpendicular to the paper feed direction.
Page 26
Programmer Manual x × 8dot dy+1 dy×2+1 y × 8dot × dx×y 8 dy×2 [Reference] GS / GS / m [Name] Print downloaded bit image [Format] ASCII Decimal [Range] 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 [Description] Prints a downloaded bit image using the mode specified by m. m selects a mode from the table below: Mode Vertical Dot Density (DPI)
Page 27
Programmer Manual GS: (*) [Name] Start/end macro definition [Format] ASCII Decimal 29 [Description] Starts or ends macro definition. [Details] • Macro definition starts when this command is received during normal operation. Macro definition ends when this command is received during macro definition. •...
Page 28
Programmer Manual GS L nL nH [Name] Set left margin [Format] ASCII nL nH nL nH Decimal nL nH [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Description] • Sets the left margin using nL and nH. •...
Page 29
Programmer Manual ① GS V m ② GS V m n [Name] Select cut mode and cut paper [Format] ① ASCII Decimal 29 ② ASCII Decimal 29 [Range] ① m=0,48 , m =1,49 ② m = 66, 0 ≤ n ≤ 255 [Description] Selects a mode for cutting paper and executes paper cutting.
Page 30
Programmer Manual line in question when data other than character data (e.g., bit image, user-defined bit image) is developed: The printing area width is extended to the right to accommodate one line in vertical for the bit image within the printable area.
Page 31
Programmer Manual • m specifies macro executing mode. When the LSB of m = 0: The macro executes r times continuously at the interval specified by t. When the LSB of m = 1: After waiting for the period specified by t, the PAPER OUT LED indicators blink and the printer waits for the FEED button to be pressed.
Page 32
Programmer Manual GS f n (*) [Name] Select font for Human Readable Interpretation (HRI) characters [Format] ASCII Decimal [Range] n = 0, 1, 48, 49 [Description] Selects a font for the HRI characters used when printing a bar code. n selects a font from the following table: Typeface Standard ASCII characters (12 ×...
Page 33
Programmer Manual Bar Code System Numder of characters Character Remarks 11 ≤ n ≤ 12 48 ≤ d ≤ 57 UPC-A 11 ≤ n ≤ 12 48 ≤ d ≤ 57 UPC-E JAN13 (EAN13) 12 ≤ n ≤ 13 48 ≤ d ≤ 57 JAN8 (EAN8) 7 ≤...
Page 34
Programmer Manual 7B, 32 123, 50 FNC2 7B, 33 123, 51 FNC3 7B, 34 123, 52 FNC4 "{" 7B, 7B 123, 123 ·The printer prints an HRI character ( ) as start character at the beginning of the HRI character string. ·The printer prints an HRI character ( ) as a stop character at the end of the HRI character string.
Page 35
Programmer Manual Off/On Decimal Status for ABS Cash drawer opening. No cash drawer opening. — — Undefined. Not used. Fixed to Off. — — Undefined. Not used. Fixed to Off. [Reference] DLE EOT, GS a GS v 0 m xL xH yL yH d1...dk [Name] Print raster bit image [Format] ASCII m xL xH yL yH d1 ...
Page 36
Programmer Manual GS w n [Name] Set bar code width [Format] ASCII Decimal 29 119 n [Range] 2≤ n≤ 6 [Description] Set the horizontal size of the bar code. n specifies the bar code width as follows: Module Width (mm) for Binary-level bar codes Thin element width (mm) Multi-level Bar Code...
Page 37
Programmer Manual FS & [Name] Select Kanji character mode [Format] ASCII & Decimal 28 [Description] Selects Kanji character mode. [Reference] FS ., FS – n [Name] Turn underline mode on/off for Kanji characters [Format] ASCII Decimal 28 [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Description] Turns underline mode for Kanji characters on or off, based on the following values of n.
Page 38
Programmer Manual 24dot d1 d4 d7 24dot d2 d5 d3 d6 D1=00H, D4=00H, D7=00H, D10=00H ..D2=1FH, D5=78H, D8=60H, D11=00H ..D3=C0H, D6=30H, D9=38H, D12=70H ..FS S n1 n2 [Name] Set left- and right-side Kanji character spacing [Format] ASCII S n1 n2 53 n1 n2 Decimal 28...
Page 39
Programmer Manual motion unit ( x) is used. ② When the starting position is set to the upper right or lower left of the printable area using ESC T, the vertical motion unit ( y) is used. ③ The maximum right-side spacing is 255/180 inches for the paper roll and is approximately 35.983 mm {255/150 inches}.
Page 40
Programmer Manual Appendix X: 128 Code X.1 128 Yard Review 128 yards through the alternate character sets A, B character set and character set C, capable of 128 and 100 ASCII characters from 00 to 99 digits , and some special characters are encoded . Each character set encoding of characters is as follows : •...
Page 41
Programmer Manual B set of characters Send data Send data Send data Characters Characters Characters Decimal Decimal Decimal " & 7B,7B 123,123 — 7B,31 123,49 7B,32 123,50 7B,33 123,51 7B,34 123,52 7B,53 123,83 7B,41 123,65 7B,43 123,67 SHIF < >...
Page 42
Programmer Manual Characters in the character set C Send data Send data Send data Characters Characters Characters Decimal Decimal Decimal 7B,31 123,49 7B,41 123,65 7B,42 123,66 Appendix Y: print mode and its conversion Y.1 Summary printer has two operating modes: standard mode and page mode. In standard mode , as long as the line printer buffer is full , or received Print or feed command, the printer will print the paper in hand .
Page 43
Programmer Manual Switching Y.1 standard mode and page mode between Y. 2 set various values in standard mode and page mode 1 ) Some commands ( eg : ESC SP, ESC 2, ESC 3, and FS S) can be used both in standard mode and can be used in page mode , and their arguments are the same.
Page 44
Programmer Manual Processing Direction (x0, y0) base line A dot [unit: Dot] (dx, dy) Printing chea Barcode (GS k m) User-defined bitmaps 24×2=48 (GS xy) GS h n 6×8=48 nH×256=nL bitmap (ESC + m nL NH) HRI Character base line B dot B dot B dot...
Need help?
Do you have a question about the RPT008 and is the answer not in the manual?
Questions and answers