Revision list Date Details 10/12/2004 Original version (tentative version) - ESC~SI: Low baud rate support for serial interface 5/24/2005 - ESC~SI: Added the ‘Image generation speed’ setting.
Contents Revision list..............................2 Contents................................3 Setting the top of form (TOF) /ESC~B ......................7 Setting power OFF time/ESC~O........................8 Registering the bit map data/ESC~b ....................... 9 Printing the bit map data /ESC~b........................10 Specifing the font size /ESC~f ........................11 Setting in PAGE MODE/ESC~L........................
Page 4
Setting the n/180-inch line feed rate/ESC 3 ....................63 Setting the n/360-inch line feed rate/ESC +....................63 Specifying horizontal tab positions/ESC D....................64 Execution of horizontal tab/HT........................65 Setting vertical tab positions/ESC B ......................66 Execution of vertical tab/VT ......................... 66 Specifying the absolute position/ESC $ ......................
Page 5
Cancelling high order side control code/ESC 6 .................... 99 Setting high order side control code/ESC 7 ....................100 Cancelling data/CAN ..........................101 Deleting one character/DEL........................101 Appendix b: Black Mark Specification ....................... 102...
Setting the top of form (TOF) /ESC~B [ASCII] [Decimal] [Hexadecimal] [Parameter] m = 1, 3 m = 255: Checking the setting rate [Description] ● For setting, only binary data are acceptable. m = 1: Setting the normal form feed 3. Setting the form feed at marker detection ●...
Setting power OFF time/ESC [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 255 [Description] ● Specifies the auto power OFF time. If no data is received or operated during a set period of time after the last receive of data or the last operation of the FEED button, the printer power will be automatically turned off. ●...
Registering the bit map data/ESC~b [ASCII] d3 … dn [Decimal] d3 … dn [Hexadecimal] d3 … dn [Description] ● Stores Windows bitmap data into the flash memory. The structure of bitmap data is the same as that of BMP file data. Refer to Windows-related references for more details about BMP files.
Printing the bit map data /ESC~b [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 254 [Description] ● Prints out BMP file data registered in the flash memory. ● Specify the number of the BMP data to be printed in the parameter ‘n’. ●...
Specifing the font size /ESC~f [ASCII] [Decimal] [Hexadecimal] [Parameter] m=0 or 30h n=0,2 or 30h, 32h [Description] ● m=0: ANK font ● n= 0: 24 dot size character font 2: 16 dot size character font ● Default is 24 dot size font. ●...
Setting in PAGE MODE/ESC~L [ASCII] [Decimal] [Hexadecimal] [Parameter] n1: Specify 1 for line printing mode (normal mode). Specify 3 for page printing mode or line print page-length setting mode. n2: Specify 0. d1: Specify 0 for portrait line printing mode (normal mode). Specify 1 for landscape page printing mode. Specify 2 for portrait page printing mode.
Page 13
Print width: 832 dots Logical paper length: 832 dots Logical paper Print width: length: 2374 2374 dots max dots max ● At power-ON, page printing mode is canceled and the printer is switched to line printing mode. ● Printing density cannot be set by line in page printing mode. Sets the printing density for the entire page. ●...
Page 14
● In page printing mode, when a print data is specified at a position that exceeds a logical paper length, the data is decoded after automatic form feed. ● In page printing mode, when ANK double-height character printing (ESC w) is executed at the head of a page, the double height characters cannot be fully printed, with their top area missed.
Page feed (only for PAGE MODE marker detection) /ESC FF [ASCII] [Decimal] [Hexadecimal] [Description] ● Executes page feed while in page printing mode. ● The difference with FF page feed in ESC/P Emulation command is that, in ESC FF, form feed will not be executed when print data is unavailable in the printer.
Setting printing paper/FS H [ASCII] [Decimal] [Hexadecimal] [Parameter] n=1, 2, 3 or 31h, 32h, 33h [Description] Switches the paper type. n = 1: Regular paper (the setting value at power-on) n=2: 2 sheets of carbon paper ● Printing paper can be set by line unit. ●...
Printer operating status report command / FS G [ASCII] [Decimal] [Hexadecimal] [Description] ● When using the command, set the printer operating status return control to enable in the internal setting of the printer. ● This command prints the printer operation status. ●...
Printing the compressed bit image/ ESC~G [ASCII] data [Decimal] data [Hexadecimal] data [Data format] There are following 4 types of data. ● String image data ● Repeat image data ● EOL (End Of Line) ● EOD (End Of Data) (1) String image data String image data prints the desired bit map data.
Page 20
(2) Repeat image data Repeat image data repeats printing of the same bitmap data on a 1-byte basis. Format ‘c’ indicates that the data in the following data format is repeat data and specifies the number of repetition of the data. Specify an image data with the following ‘d’...
Page 21
LPRINT CHR$(27); "~G"; LPRINT CHR$(&H80 + W); CHR$(&HFF); CHR$(0); FOR L = 1 TO 100 LPRINT CHR$(1); CHR$(&H80); LPRINT CHR$(W - 2 + &H80); CHR$(0); LPRINT CHR$(1); CHR$(&H1); LPRINT CHR$(0); 'EOL NEXT L LPRINT CHR$(&H80 + W); CHR$(&HFF); CHR$(0); LPRINT CHR$(&H80); 'EOD...
Specifying the coordinate of printing position/ESC~X [ASCII] [Decimal] [Hexadecimal] [Parameter] Specifies the y1, y2Y coordinates. Specifies in y1 the remainder of Y-coordinate value divided by 256. Specifies in y2 the quotient of Y-coordinate value divided by 256. Specifies the x1, x2X coordinates. Specifies in x1 the remainder of X-coordinate value divided by 256.
Setting the printing position of barcode character/GS H [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1, 2, 3 or 30h, 31h, 32h, 33h [Description] ● Selects the printing position of barcode character when printing the barcode ● “n” means as follows: printing position 0, 30h Cannot print...
Setting the height of barcode/GS h [ASCII] [Decimal] [Hexadecimal] [Parameter] 1 ≤ n ≤ FFh [Description] ● Selects the height of barcode. ● “n” indicates the number of dots in vertical direction. The initial value is n=A2h (162 dots) ● Returns to default value with initializing command. Setting the width of barcode/ GS w [ASCII] [Decimal]...
Selecting the type of l barcode/ GS k [ASCII] [Decimal] [Hexadecimal] [Parameter] 1 ≤ n ≤ FFh [Description] ● Code: [1D] h + [6B] h + n + Ds + [00] h ..1 0 ≤ n ≤ 6 ● Code: [1D] h + [6B] h + n + s + Ds ......2 41h ≤...
Page 26
In case of 2: Barcode system Definition area of s Definition area of D UPC - A ≤ ≤ ≤ ≤ UPC - C ≤ ≤ ≤ ≤ JAN13 (EAN13) ≤ ≤ ≤ ≤ 30h ≤ D ≤ 39h, 41h ≤ D ≤ 5Ah, 24h JAN8 (EAN8) ≤...
Page 27
FNC1 7B,31 123,49 FNC2 7B32 123,50 FNC3 7B,33 123,51 FNC4 7B,34 123,52 7B,7B 123,123 ● Refer to barcode-related books, etc. for the code set character structure of CODE-A, CODE-B, and CODE- ● As an example, a case for printing 10-digit data in CODE 128 is shown. When CODE A is specified and the barcode data is 1234567890, to send data to the printer: [1D] [6B] [49] ---------- GS k n...
Selecting the type of two-dimensional barcode/GS~ k [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1 [Description] ● Two-dimensional barcode is selected from ‘n’ ● n = 0: PDF417 1: QR ● Detail of each barcode is illustrated as follows PDF417 command format data ●...
Page 29
based on the number of vertical symbol columns and the number of all data code words. At this time, if the number of horizontal code words exceeds 30, add some vertical columns and obtain the number of horizontal code words again. Repeat this procedure until all code words fall into place.
Page 30
● s: Size of character-string data repetition Example) When s = 3: 3 <t + data + NUL > <t + data + NUL > <t + data + NUL> ● Division mode 1 and division mode 2 can be specified in QR division mode of the internal setting menu. Use division mode 1 when the user divides data in advance before sending the data.
Setting the width of module of two-dimensional barcode/ GS~w [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1 [Description] ● The size of two-dimensional barcode modules can be specified with the value of ‘n’. The unit is dot. n = 0: PDF417 module width specification 1: QR module width specification ●...
Printer power OFF/ ESC~p [ASCII] [Decimal] [Hexadecimal] [Parameter] None [Description] ● Turns OFF the power of the printer. ● When already edited but not printed image data exist, the data are printed and then the power is turned OFF. [Caution] ●...
Selecting Windows character/ ESC~s [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 255 [Description] ●Selects the Windows 3.1 character set n = 0: US ANSI 1: CYRILLIC ANSI 2: EASTERN EUROPE ANSI...
Printing the sequential character/ ESC~¥ [ASCII] ¥ [Decimal] [Hexadecimal] [Parameter] 0 ≤ n1, n2 ≤ 255 [Description] ● The number of data specified in n1, n2 will be processed as character code and not as control code ● n1, n2: Indicates the number of data specified as character Assign the remainder of the number of data divided by 256 in n1.
Enabling/disabling the black mark function/ ESC~E [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0: Mark function disabled (the setting saved) 1: Mark function enabled (the setting saved) 3: Mark function disabled (temporary setting) 4: Mark function enabled (temporary setting) [Description] ● Selects the enabling/disabling of the black mark function. ●...
Setting the marker detection level/ESC~e [ASCII] [Decimal] [Hexadecimal] [Parameter] n=0, 1: Sets the detection level. 128: Sets the mark width 255: Checks the internal setting. [Description] ● Sets the detection level. n = 0: Setting the upper sensor detection level 1: Setting the lower sensor detection level [Sensor Output] Marker center position...
Page 40
● Default mark width is 5mm (40 dots). ● Do not use this command together with other print commands because it writes data into the flash memory. ● After data is stored in the flash memory, the printer is automatically powered OFF. The setting becomes effective when the power is turned ON again.
Printer operating status report command 2/ ESC~Y [ASCII] [Decimal] [Hexadecimal] [Description] ● When using this command, set the printer operating status return control to enable in the internal setting of the printer. ● On receiving this command, the printer prints out the data in the buffer and outputs its operation status. ●...
Starting registering the printer command and flash memory/ ESC~CS [ASCII] d2 … dn [Decimal] d2 … dn [Hexadecimal] d2 … dn [Description] ● Registers a series of printer commands in the flash memory. ● {d1 d2 ... dn} is a data string to be registered. ●...
Calling from printer command and flash memory/ ESC~CL [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 255 [Description] ● Calls out a printer command group registered in the flash memory. ● ‘n’ specifies the number of the command group to be called out. ●...
Reading the factory setting/ ESC~SF [ASCII] [Decimal] [Hexadecimal] [Description] ● Reads the factory setting of the printer’s internal setting ● The command is used in conjunction with Flash memory writing command (ESC~SS) ESC~SF ←Reads the factory setting ESC~SS ←Writes the setting for flash memory Printer can be restored to factory setting with the above command.
Reading the default setting value/ ESC~SL [ASCII] [Decimal] [Hexadecimal] [Description] ● Reads the default value of printer’s internal setting. The difference between factory setting values and default setting values is that while factory setting values are set during manufacturing, default setting values are set when the user changes the internal setting of the printer and settings are stored in the internal setting user area of the flash memory.
Writing the printer’s internal setting to flash memory / ESC~SS [ASCII] [Decimal] [Hexadecimal] [Description] ● Writes the internal setting of the printer to flash memory. ● Do not use this command together with other print commands because it writes data into the flash memory. ●...
Setting the inside of printer/ESC~SI [ASCII] [Decimal] [Hexadecimal] [Parameter] n: Setting category m: Setting value by category [Description] ● Sets the internal setting of the printer. ● Set the factory setting (ESC~SF), and default value (ESC~SL) before using the command. ESC~SL ←Reads the default setting value ESC~SI ←Sets the internal setting of the printer ESC~SI ←Sets the internal setting of the printer...
Page 48
Sets the serial interface communication speed: n=0 ● Sets the communication speed of the cable interface connection m = 0: 4800 bps 1: 9600 bps 2: 19200 bps 3: 38400 bps 4: 57600 bps 5: 115200 bps 6: 600 bps 7: 1200 bps 8: 2400 bps Sets the serial data length: n=1...
Page 49
Setting the black mark detection:n=8 ● enabling/disabling of If auto feed setting is set to enable at the same time, mark Sets the Marker detection. detection will be executed during auto feeding as well. m=0: disabled m=1: enabled Setting the character set.: n=9 ●...
Page 50
1: enabled Selecting the Font style: n=16 ● Selects the default setting of Font style. m=0: Roman 1: Sans serif 2: Courier 3: Prestige 4: Script Selecting the Code page: n=17 ● Selects the default setting of code page. m = 0: PC437 (U.S.A.) 1: PC850 (MULTILINGUAL) 2: PC860 (PORTUGAL) 3: PC863 (FRENCH - CANADA)
Page 51
IrCZ infrared communication speed: n=20 ● Sets the communication speed of the IrCZ infrared interface specification. m = 0: 9600 bps 1: 19200 bps 2: 38400 bps IrCZ infrared interface stop bit length: n=21 ● Sets the stop bit length of the IrCZ infrared interface specification. m=0: 1 stop bit 1: 2 stop bit Setting the Link off: n=23...
Page 52
3: IrCZ interface 4: USB interface 5: Bluetooth interface Bluetooth in m=5 is only for model equipped with Bluetooth interface. Setting the Cable auto selection mode: n=29 ● Sets the enabling/disabling of the Cable auto selection mode. When this code is set to enable, if a cable is plugged at the time of power-on of the printer, Interface mode will be automatically set to the cable.
Returning to printing/ CR [ASCII] [Decimal] [Hexadecimal] [Description] ● Data in the receiving buffer will not be printed. ● Moves the print start position immediately after this code to the head of the same line (left margin). * Caution With the use of CR, print data in the same line can be overlapped. Since printing is executed by LF code in PD Series, CR operation includes decoding print data before CR in the printer memory and moving the next print start position (memory decoding position) to the head of the line.
Line feed/LF [ASCII] [Decimal] [Hexadecimal] [Description] ● Prints the data in the receiving buffer and performs line feed. ● After setting the LF code, the head of line (left margin) becomes the next printing start position. ● Line feed rate can be set with ESC 0, ESC 2, ESC 3, ESC A. ●...
Page feed/FF [ASCII] [Decimal] [Hexadecimal] [Description] ● Prints out data in the print buffer and feeds paper to the top of the next page according to the page length set in advance. ● The head of line (left margin) becomes the next printing start position. ●...
Forward paper feeding/ ESC J [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 255 [Description] ● Prints data stored in the print buffer and feeds paper by [n /203] inches. ● The specified value of paper feed (n/203) is valid only when using this command. It does not affect the line feed rate setting.
Setting page length by line/ ESC C [ASCII] [Decimal] [Hexadecimal] [Parameter] 1 ≤ n ≤ 127 [Description] ● Sets the page length by n lines. ● Page length is set as an absolute length of (Line feed rate) × (Number of lines). Once this command is set, even when the line feed rate is changed, the page length does not change.
Setting perforated line skip/ESC N [ASCII] [Decimal] [Hexadecimal] [Parameter] 1 ≤ n ≤ 127 [Description] ● Sets the perforated line skip by n lines. ● After this setting, n lines from the end of a page are not printed and the paper is automatically fed for this range.
Setting the right margin/ESC Q [ASCII] [Decimal] [Hexadecimal] [Parameter] 1 ≤ n ≤ 255 [Description] ● Sets the right margin by n columns. ● ‘n’ indicates the number of columns when taking the left end, the printers’ physical starting position of printing, as 0. ‘n –...
Setting the left margin/ ESC I [ASCII] [Decimal] [Hexadecimal] [Parameter] 1 ≤ n ≤ 255 [Description] ● Sets the left margin by n columns. ● ‘n' indicates the number of columns from the physical printing start position of the printer. ●...
Setting the 1/8-inch line feed rate/ESC O [ASCII] [Decimal] [Hexadecimal] [Description] ● Sets the line feed rate to EPSON: 1/8-inch ≒ 22/203inch. Setting the 1/6-inch line feed rate/ESC 2 [ASCII] [Decimal] [Hexadecimal] [Description] ● Initial power-on status. ● Sets the line feed rate to EPSON: 1/6-inch ≒ 30/203inch - 62 -...
Setting the n/60-inch line feed rate/ESC A [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 85 [Description] ● Sets the line feed rate to approx. n/67.6 ● Sets the line feed rate to 3/203 dot unit. Setting the n/180-inch line feed rate/ESC 3 [ASCII] [Decimal] [Hexadecimal]...
Specifying horizontal tab positions/ESC D [ASCII] n2 … nk [Decimal] n2 … nk [Hexadecimal] n2 … nk [Parameter] 1 ≤ n ≤ 255, 0 ≤ k ≤ 32 [Description] ● Sets horizontal tab positions. ● ‘n’ indicates the number of columns from the left margin. ‘k’ indicates the number of horizontal tab positions. Up to 32 positions can be set.
Execution of horizontal tab/HT [ASCII] [Decimal] [Hexadecimal] [Description] ● Shifts the print position to the next horizontal tab position. ● When HT code is set in an unspecified area (when it is set beyond the last tab position in a line), the input will be ignored.
Setting vertical tab positions/ESC B [ASCII] n2 … nk [Decimal] n2 … nk [Hexadecimal] n2 … nk [Parameter] 1 ≤ n ≤ 255, 0 ≤ k ≤ 16 [Description] ● Sets the vertical tab position. ● n indicates the line number from the head of line and k indicates the number of vertical tab position. Settable tab positions are maximum 16.
Specifying the absolute position/ESC $ [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255 [Description] ● Specifies the print start position of the next data as an absolute position in dots. ● ‘Specifying an absolute position’ means to specify the next print start position by the number of dots from the left margin.
Specifying the relative position/ESC ¥ [ASCII] ¥ [Decimal] [Hexadecimal] [Parameter] 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 255 [Description] ● Specifies the print start position of the next data as a relative position in dots. ● ‘To specify by a relative position’ means to specify the next print start position by the number of given rightward or leftward dots, based on the print position immediately before this code.
Setting the VFU tab /ESC b [ASCII] m2…mk [Decimal] m2…mk [Hexadecimal] m2…mk [Parameter] 0 ≤ n ≤ 7, 1 ≤ m ≤ 255, 0 ≤ k ≤ 16 [Description] ● Sets the vertical tab position specified by ‘m’ in the channel specified by ‘n’. ●...
Back space/BS [ASCII] [Hexadecimal] [Decimal] [Description] ● Moves back the print position leftward for a character in the current character width. ● When no print data exists before BS code in the same line, or when previous data is a bitmap image, HT code, or absolute/relative position specification, the print position does not change.
Selecting the font style/ESC k [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1, 2, 3, 4 or 30h, 31h, 32h, 33h, 34h [Description] ● Selects the font style. n = 0: Roman n = 1: Sanserif n = 2: Courier n = 3: Prestige n= 4: Script ●...
Selecting the character code table/ESC t [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1 [Description] ● Selects either Italic code or Expanded Graphics code. When n = 0, Italic code is selected. When n = 1, Expanded Graphics code is selected. ●...
Selecting the international character set/ESC R [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 13, 64 [Description] ● Selects the character set suitable for each country. ● Default is n=0 (U.S.A.) (Factory default setting) n = 0: USA 1: France 2: Germany 3: UK 4: Denmark...
Specifying/Cancelling proportional font/ESC p [ASCII] [Decimal] [Hexadecimal] [Parameter] n=0, 1 or “0”, “1” [Description] ● Specifies/Cancels the proportional font. ● Selects the proportional font when n=1 or “1” ● Cancels the proportional font when n=0 or “0” ● The command has priority over other specified character pitch. ●...
Specifying the character equivalent to 10CPI/ESC P [ASCII] [Decimal] [Hexadecimal] [Description] ● Specifies 10CPI-equivalent characters (18 dots) for printing after this code. ● To cancel this code, specify another pitch. ● This is the default setting at power-ON. Specifying the character equivalent to 12CPI/ ESC M [ASCII] [Decimal] [Hexadecimal]...
Specifying super/subscript/ESC S [ASCII] [Decimal] [Hexadecimal] [Parameter] n=0, 1 or 30h, 31h [Description] ● Prints out subsequent print data in superscript or subscript. Specifies superscript (printing on upper half of normal characters) when ‘n’ = 0 or 30h. Specifies subscript (printing on the lower half of normal characters) when ‘n’ = 1 or 31h. ●...
Specifying italic/ESC 4 [ASCII] [Decimal] [Hexadecimal] [Description] ● Prints out print data in Italic. ● For some characters, the left or right edge of characters may be missed at either or both ends of the paper. ● Extended graphic codes B0h to DFh, F4h, and F5h cannot be printed in Italic; they are printed in normal characters.
Specifying reduced printing/SI [ASCII] [Decimal] [Hexadecimal] [Description] ● Prints out subsequent data in reduced size. ● The character width is reduced to approximately 60% when printed. ● This code cannot be combined with 15CPI specification. Specifying reduced printing/ESC SI [ASCII] [Decimal] [Hexadecimal] [Description]...
Specifying double-width expansion with automatic cancel/SO [ASCII] [Decimal] [Hexadecimal] [Description] ● Executes the double-width expansion printing. ● SO code cancels the double-width expansion with DC4 code or line feed. It can also be cancelled with ESC W, ESC ! codes. Specifying double-width expansion with automatic cancel/ESC SO [ASCII] [Decimal]...
Specifying/canceling double width large characters/ESC W [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 1, 0 or 31h, 30h [Description] ● Specifies the double width large characters. ● Specifies the double width large characters when n=1 or 31h. ● Cancels the double width large characters when n=0 or 30h. ●...
Specifying emphasis printing/ESC E [ASCII] [Decimal] [Hexadecimal] [Description] ● Prints out print data in emphasized characters. ● Prints out data in slightly wider characters. Cancelling emphasis printing/ESC F [ASCII] [Decimal] [Hexadecimal] [Description] ● Cancels the emphasis printing. - 81 -...
Specifying/Cancelling underline/ESC − [ASCII] [Decimal] [Hexadecimal] [Parameter] n=0, 1 or 30h, 31h [Description] ● Specify/cancels an underline. ● Specifies underline at time of n=1, 31h ● Cancels underline at time of n=0, 30h ● Underlines are not drawn on the following areas. Moving area by Horizontal Tab (HT) or Absolute Position (ESC $) Leftward moving area by Relative Position (ESC ¥) Characters of B0h to DFh, F4h, and F5h of Extended Graphic code...
Collectively specifying a printing mode/ ESC! [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 255 [Description] ● Printing mode is specified with each bit by combination. ● Printing mode is specified with each bit under n. At 1 Double Double Emphasis Underline Italic...
Selecting character style/ ESC q [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1, 2, 3 [Description] ● Selects the character style. ● When ‘n’ = 1, outline characters are selected. ● When ‘n’ = 2, shadowed characters are selected. ● When ‘n’ = 3, shadowed outline characters are selected. ●...
Setting the spacing of characters/ESC SP [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 127 [Description] ● Sets the spacing of characters. ● “n” indicates the number of dots. Calculation unit is 1/203 inch. ● Default is n=0 ● Sets the right spacing of characters to [n × basic calculation unit] inches. Spacing of characters will be indicated as follows.
Aligning the characters/ESC a [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1, 2, 3 [Description] ● Selects the aligning of characters. ● Performs the aligning of characters by “n” value. When n=0, left end alignment is performed (default). When n=1, centering is performed. When n=2, right end alignment is performed.
Specifying the download character set/ESC % [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1 or 30h, 31h [Description] ● Specifies/cancels the download characters set. ● When n=1, 31h, it specifies the download characters set. However, if no character is defined for download character set, the specification will be ignored.
Copying character set/ESC : [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0 s = 0 [Description] ● ‘s’ is a font number of embedded character set. ● Copies the currently selected character set to a download character set. ● Specify a character attribute (high-quality character, proportional character, 15CPI, super/subscript character) to be copied before entering this code.
Defining the download characters/ESC & [ASCII] & p1 … pk [Decimal] p1 … pk [Hexadecimal] p1 … pk [Parameter] S = 0, 32 ≤ n ≤ m ≤ 127 (20h ≤ n ≤ m ≤ 7Fh) [Description] ● Defines the download characters. ●...
Page 91
16-dot system 10CPI-equivalent character: 16 × 12, 12CPI-equivalent character: 16 × 10 15CPI-equivalent character: 16 × 8, Proportional: 16 × 14** Super-/sub-script: 16 × 12 ** is the maximum character width. The maximum value of ‘a1’ is 12. ●To define several download characters, send ‘a0 … pk’ the number of times equal to the number of characters to be defined (m –...
Selecting the bit image mode/ESC * [ASCII] data [Decimal] data [Hexadecimal] data [Parameter] m = 0, 1, 2, 3, 4, 6, 32, 38, 39 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 11 [Description] ● Selecting the bit image mode depending on the “m " value. (See chart below) ●...
Page 93
Correspondence between data and dots 8-dot bit image ● ● ● ● ● ● ● ● 24-dot bit image ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●...
Setting bit image repeat/ESC * [ASCII] data [Decimal] data [Hexadecimal] data [Parameter] ‘m’ = 167 When ‘m’ = 167: 0 ≤ n1 ≤ 180, n2 = 0 [Description] ● Selects a bit image according to the value of ‘m’ and repeats printing the number of times specified. ●...
8-dot single density bit image/ESC K [ASCII] data [Decimal] data [Hexadecimal] data [Parameter] 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 1 [Description] ● This command executes the printing of 8 dot single density bit image for the number of data specified by n1, n2.
8-dot double speed/density bit image/ESC Y [ASCII] data [Decimal] data [Hexadecimal] data [Parameter] 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 3 [Description] ● This command executes the printing of 8 dot double speed/density bit image for the number of data specified by n1, n2.
Changing the bit image mode/ESC ? [ASCII] [Decimal] [Hexadecimal] [Parameter] c = “K”, “L”, “Y”, “Z” (4Bh, 4Ch, 59h, 5Ah) m = 0, 1, 2, 3, 4, 6, 32, 33, 38, 39 [Description] ● Converts the bit image mode of ESC K, ESC L, ESC Y, and ESC Z into the mode of ESC *. ●...
Initializing the printer/ESC @ [ASCII] [Decimal] [Hexadecimal] [Description] ● Changes the software setting of the printer to the same one as power-ON setting. ● Data in the print buffer will be cleared. ● User definition area (download character) will not be cleared.
Cancelling high order side control code/ESC 6 [ASCII] [Decimal] [Hexadecimal] [Description] ● Eliminates a function that works as a control code from upper 32 codes in the character code table so that it can be used as a character code. ●...
Setting high order side control code/ESC 7 [ASCII] [Decimal] [Hexadecimal] [Description] ● Adds a function as a control code to upper 32 codes in the character code table so that it cannot be used as a character code. ● Relevant character codes are from 128 to 159 (80h to 9Fh). ●...
Cancelling data/CAN [ASCII] [Decimal] [Hexadecimal] [Description] ● Clears data in the print buffer that have been entered before CAN code in a line. Deleting one character/DEL [ASCII] [Decimal] [Hexadecimal] [Description] ● Deletes one character data having been last entered in a line. ●...
Appendix b: Black Mark Specification Detects the paper position using a maker printed on a paper to feed the paper accurately. To detect the paper position with marker, set “marker detection function” to enable in the internal setting of the printer. The marker function is disabled during self printing, HEX print mode, test print, and internal setting list printing regardless of respective settings.
Page 103
(2) Detection accuracy ● The detection accuracy of marker position is +/-0.75mm. (3) Setting ● Use it in page mode printing (ESC~L). ● Set the paper length (= black mark length) for page length. ● Make sure that print data fall within a printable area. ●...