Citizen  PD 22  PD-22 PD-22 Command Reference Manual
Citizen  PD 22  PD-22 PD-22 Command Reference Manual

Citizen PD 22 PD-22 PD-22 Command Reference Manual

Citizen systems printer command reference manual
Table of Contents

Advertisement

Quick Links

Command Reference

MODEL : PD-22
Revison 1.00 2007/12/5
Citizen Systems Japan Co., Ltd
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Citizen PD 22 PD-22 PD-22 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Citizen Citizen PD 22 PD-22 PD-22

  • Page 1: Command Reference

    Command Reference MODEL : PD-22 Revison 1.00 2007/12/5 Citizen Systems Japan Co., Ltd...
  • Page 2: Revision List

    Revision list Date 10/12/2004 5/24/2005 Details Original version (tentative version) - ESC~SI: Low baud rate support for serial interface - ESC~SI: Added the ‘Image generation speed’ setting.
  • Page 3: Table Of Contents

    Calling from printer command and flash memory/ ESC~CL... 38 Reading the factory setting/ ESC~SF... 39 Reading the default setting value/ ESC~SL ... 40 Writing the printer’s internal setting to flash memory / ESC~SS ... 41 Setting the inside of printer/ESC~SI ... 42 Returning to printing/ CR... 48 Line feed/LF...
  • Page 4 8-dot double speed/density bit image/ESC Y... 90 8-dot quadruple density bit image/ESC Z ... 90 Changing the bit image mode/ESC ? ... 91 Initializing the printer/ESC @... 92 Cancelling high order side control code/ESC 6 ... 93 Setting high order side control code/ESC 7 ... 94...
  • Page 5 Deleting one character/DEL... 95 Appendix b: Black Mark Specification ... 96...
  • Page 6 Citizen original command...
  • Page 7: Setting The Top Of Form (Tof) /Esc~B

    ● When setting a feed rate for marker detection, be sure to set a value greater than the mark width (ESC~e). ● After data are stored in the flash memory, the printer power is automatically turned OFF. The set values become effective when the power is turned ON again.
  • Page 8: Setting Power Off Time/Esc~O

    Setting value ●The setting value other than above is ignored. ● During a print wait state (ie. when unprinted data are remaining in the printer due to an error, etc.), the printer power will not be automatically turned OFF. Time...
  • Page 9: Registering The Bit Map Data/Esc~B

    Registering the bit map data/ESC~b [ASCII] [Decimal] [Hexadecimal] [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. ●...
  • Page 10: Printing The Bit Map Data /Esc~B

    Printing the bit map data /ESC~b [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 254 (the setting is available for binary only) [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’. ●...
  • Page 11: Setting In Page Mode/Esc~L

    ● When page printing mode is specified, previous line print data that remain unprinted will be all printed. On the other hand, when line printing mode is specified, previous page print data that remain unprinted will be all deleted. ● We recommend initializing the printer with ESC @ when switching to page printing mode or line printing mode.
  • Page 12 ● In the page mode, the vertical reversing print (ESC T) of CE-PR emulation cannot be used. ● 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 13 ● 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 14: Page Feed (Only For Page Mode Marker Detection) /Esc Ff

    ● 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. ● When the black mark operation is set to enable, this command starts marker detection along with page feed.
  • Page 15: Setting Printing Paper/Fs H

    ● The initial value (regular paper, 2 sheets of carbon paper) at power-on (default) represents the paper that is set as the print paper type in the internal setting of the printer. ● Setting values in the paper setting return to default when an Initialize command is executed or printing mode is changed.
  • Page 16: Setting Print Density/ Fs I

    ● Can be set by line unit (except in page printing mode). ● The initial value at power-on (default) is the value that is set as print density in the internal setting of the printer. ● Print density setting values return to default when an Initialize command is executed or print mode is changed.
  • Page 17: Printer Operating Status Report Command / Fs G

    Therefore, when the printer status return control is set to enable in the internal setting of the printer, and if data, such as a bit image, contains a character sequence which is the same as the printer operating status report command, the printer may identify the data as this command and return the data.
  • Page 18: Printing The Compressed Bit Image/ Esc~G

    Printing the compressed bit image/ ESC~G [ASCII] [Decimal] [Hexadecimal] [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 19 (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 20 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); NEXT L LPRINT CHR$(&H80 + W); CHR$(&HFF); CHR$(0); LPRINT CHR$(&H80); 'EOL 'EOD...
  • Page 21: Specifying The Coordinate Of Printing Position/Esc~X

    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.
  • Page 22: Setting The Printing Position Of Barcode Character/Gs H

    Setting the printing position of barcode character/GS H [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1, 2, 3 or “0”, “1”, “2”, “3” [Description] ● Selects the printing position of barcode character when printing the barcode ● “n” means as follows: 0, 30h 1, 31h 2, 32h...
  • Page 23: Setting The Height Of Barcode/Gs H

    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]...
  • Page 24: Selecting The Type Of L Barcode/ Gs K

    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 41h ≤...
  • Page 25 ● If a character code ‘Dn’ is an unprintable character, subsequent data will be treated as normal characters. <Caution> ●The command is ignored when data exist in the printer buffer. ● If the width of a barcode is beyond the printing area of the line, the barcode will not be printed and only paper feed will be executed.
  • Page 26 ● 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]...
  • Page 27: Selecting Printing Mode/ Esc~U

    ● In phase lock mode, data are printed with the motor fixed. Print quality is higher than that in 1- and 2-step feed mode. ● For barcode printing and bitmap image printing, data are printed forcibly in phase lock mode. ● The printer is in phase lock mode at power-on.
  • Page 28: Printer Power Off/ Esc~P

    [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] ● After turning the power OFF, infrared communication with the host and Bluetooth communication will be...
  • Page 29: Selecting The Code Page/ Esc~P

    Selecting the code page/ ESC~P [ASCII] [Decimal] [Hexadecimal] [Parameter] 0 ≤ n ≤ 255 [Description] ●Selects the code page. n = 0: PC437 (U.S.A.) 1: PC850 (MULTILINGUAL) 2: PC860 (PORTUGAL) 3: PC863 (FRENCH - CANADA) 4: PC865 (NORWAY) 5: SCANDINAVIA 6: YUASCII 7: PC852 (LATIN 2) 8: PC855 (CYRILLIC)
  • Page 30: Selecting Windows Character/ Esc~S

    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...
  • Page 31: Printing The Sequential Character/ Esc

    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.
  • Page 32: Printing The Character/Esc

    Printing the character/ESC~^ [ASCII] [Decimal] [Hexadecimal] [Description] ● 1 byte data following this command is processed as character data.
  • Page 33: Enabling/Disabling The Black Mark Function/ Esc~E

    ● By the setting memory with parameter ‘n’ = 1 or 0, the enabled/disabled state of the mark function setting is saved in the flash memory storage area in the printer. After data are written into the flash memory, the printer power is automatically turned OFF.
  • Page 34: Setting The Marker Detection Level/Esc~E

    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] Upward...
  • Page 35 ● 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.
  • Page 36: Printer Operating Status Report Command 2/ Esc~Y

    Therefore, when the printer status return control is set to enable in the internal setting of the printer, and if data, such as a bit image, contains a character sequence which is the same as the printer operating status report command, the printer may identify the data as this command and return the data.
  • Page 37: Starting Registering The Printer Command And Flash Memory/ Esc~Cs

    [Hexadecimal] [Description] ● Registers a series of printer commands in the flash memory. ● {d1 d2 ... dn} is a data string to be registered. ● n1 and n2 indicate the number of data to be registered. Divide the number of data to be registered by 256 and specify its remainder in n1, its quotient in n2.
  • Page 38: Calling From Printer Command And Flash Memory/ Esc~Cl

    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. ● When an unregistered number is specified, the command will be ignored.
  • Page 39: Reading The Factory Setting/ Esc~Sf

    ● 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.
  • Page 40: Reading The Default Setting Value/ Esc~Sl

    memory.
  • Page 41: Writing The Printer's Internal Setting To Flash Memory / Esc~Ss

    ● Do not use this command together with other print commands because it writes data into the flash memory. ● After data are stored in the flash memory, the printer power is automatically turned OFF. The set values become effective when the power is turned ON again.
  • Page 42: Setting The Inside Of Printer/Esc~Si

    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 43 Sets the serial data length: n=1 ● Sets the data length in cable interface connection. m=0 : 8 bit data length 1 : 7 bit data length Sets the serial stop bit length: n=2 ● Sets the serial stop bit length. in cable interface connection. m=0 : 1 stop bit m=1 : 2 stop bit Sets the serial parity bit: n=3...
  • Page 44 : 15 minutes. Setting the return control of printer status: n=14 ● Sets the enabling/disabling of the return control of printer status. Sends the return control of printer status to FS G, ESC~Y when it is enabled. m=0: disabled...
  • Page 45 ● Sets the operation of either the offline state is maintained and the state is manually changed to online when canceling paper out error, or the state is automatically changed to online when canceling paper out error. m=0: disabled 1: enabled Selecting the Font style: n=16 ●...
  • Page 46 Setting the printing of printer’s internal setting: n=255 ● Prints out the current state of internal setting values of the printer. After printing out, the printer is automatically turned OFF. However, this internal setting value print is printed only when the emulation is set to ESC/P, so use this print after setting the emulation to ESC/P mode by ESC~A command.
  • Page 47 ESC/P Emulation Command...
  • Page 48: Returning To Printing/ Cr

    * 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...
  • Page 49: Line Feed/Lf

    LF processing before line feed is executed. As a result of line feed, if the next print position falls within the perforation skip (bottom margin) area, the printer feeds paper until the position comes to the top of the next page.
  • Page 50: Page Feed/Ff

    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 beginning of page is set to the print head position when the ESC @ code is input or the page length is set at the power activation.
  • Page 51: Forward Paper Feeding/ Esc J

    ● As a result of line feed, if the next printing position falls within the perforated line skip (bottom margin) area, the printer feeds paper until the position comes to the top of the next page. The print start position does not return to the left edge.
  • Page 52: Setting Page Length By Line/ Esc C

    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.
  • Page 53: Setting Perforated Line Skip/Esc N

    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.
  • Page 54: Setting The Right Margin/Esc Q

    Setting the right margin/ESC Q [ASCII] [Decimal] [Hexadecimal] [Parameter] 1 ≤ n ≤ 42 [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 –...
  • Page 55: Setting The Left Margin/ Esc I

    ● Sets the left margin by n columns. ● ‘n' indicates the number of columns from the physical printing start position of the printer. ● Specify ‘n’ based on the character width currently set. Therefore, the maximum value of ‘n’ changes depending on the character width.
  • Page 56: Setting The 1/8-Inch Line Feed Rate/Esc 0

    Setting the 1/8-inch line feed rate/ESC 0 [ASCII] [Decimal] [Hexadecimal] [Description] ● Sets the line feed rate to EPSON: 1/8-inch (Approx. 0.32cm) 22/203inch (Approx. 0.27cm). Setting the 1/6-inch line feed rate/ESC 2 [ASCII] [Decimal] [Hexadecimal] [Description] ● Initial power-on status. ●...
  • Page 57: Setting The N/60-Inch Line Feed Rate/Esc A

    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]...
  • Page 58: Specifying Horizontal Tab Positions/Esc D

    Specifying horizontal tab positions/ESC D [ASCII] [Decimal] [Hexadecimal] [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.
  • Page 59: Execution Of Horizontal Tab/Ht

    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.
  • Page 60: Setting Vertical Tab Positions/Esc B

    ● At the initial state, no vertical tab position is set. When VT is executed in this state, the printer performs in the same manner as in LF. ● When VT is executed after tab positions are cleared by ESC B NUL, the printer performs in the same manner as in CR. Execution of vertical tab/VT...
  • Page 61: Specifying The Absolute Position/Esc

    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.
  • Page 62: Specifying The Relative Position/Esc

    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.
  • Page 63: Setting The Vfu Tab /Esc B

    Setting the VFU tab /ESC b [ASCII] [Decimal] [Hexadecimal] [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’. ●...
  • Page 64: Back Space/Bs

    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.
  • Page 65: Selecting The Character Code Table/Esc T

    Selecting the character code table/ESC t [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1, 2, 3 or "0", "1", "2", "3" [Description] ●Select one of the character code . When n = 0, Italic code is selected. (default) When n=1, specified code page is selected. When n=2, the user definition (download) code is selected.
  • Page 66: Selecting The International Character Set/Esc R

    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) - 66 -...
  • Page 67: Specifying/Cancelling Proportional Font/Esc P

    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. ●...
  • Page 68: Specifying The Character Equivalent To 10Cpi/Esc P

    Specifying the character equivalent to 10CPI/ESC P [ASCII] [Decimal] [Hexadecimal] [Description] ● Specifies 10CPI-equivalent characters (18/203 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]...
  • Page 69: Specifying Super/Subscript/Esc S

    Specifying super/subscript/ESC S [ASCII] [Decimal] [Hexadecimal] [Parameter] n=0, 1 or “0”, “1” [Description] ● Prints out subsequent print data in superscript or subscript. Specifies superscript (printing on upper half of normal characters) when ‘n’ = 0 or “0”. Specifies subscript (printing on the lower half of normal characters) when ‘n’ = 1 or “1”. ●...
  • Page 70: Specifying Italic/Esc 4

    Specifying italic/ESC 4 [ASCII] [Decimal] [Hexadecimal] [Description] ● Prints out print data in Italic. ● Extended graphics, excluding a part of international character, cannot be italicized. ● For some characters, the left or right edge of characters may be missed at either or both ends of the paper. ●...
  • Page 71: Specifying Reduced Printing/Si

    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]...
  • Page 72: Specifying Double-Width Expansion With Automatic Cancel/So

    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]...
  • Page 73: Specifying/Cancelling Double Width Large Characters/Esc W

    Specifying/cancelling double width large characters/ESC W [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 1, 0 or “1”, “0” [Description] ● Specifies the double width large characters. ● Specifies the double width large characters when n=1 or “1”. ● Cancels the double width large characters when n=0 or “0” ●...
  • Page 74: Specifying Emphasis Printing/Esc E

    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. - 74 -...
  • Page 75: Specifying Double Strike Printing/Esc G

    Specifying double strike printing/ESC G [ASCII] [Decimal] [Hexadecimal] [Description] ● Specifies the double strike printing of a data. Cancelling double strike printing/ESC H [ASCII] [Decimal] [Hexadecimal] [Description] ● Cancels the double strike printing. - 75 -...
  • Page 76: Specifying/Cancelling Underline/Esc

    Specifying/Cancelling underline/ESC − [ASCII] [Decimal] [Hexadecimal] [Parameter] n=0, 1 or “0”, “1” [Description] ● Specify/cancels an underline. ● Specifies underline at time of n=1, “1” ● Cancels underline at time of n=0, “0” ● 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...
  • Page 77: Collectively Specifying A Printing Mode/ Esc

    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. ●The specified content has priority over other code of same function. At 1 Underline Italic...
  • Page 78: Selecting The Font Style/Esc K

    Selecting the font style/ESC k [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1, 2, 3, 4 or “0”, “1”, “2”, “3”, “4” [Description] ● Selects the font style. n = 0: Roman n = 1: Sanserif n = 2: Courier n = 3: Prestige n = 4: Script...
  • Page 79: Selecting Character Style/ Esc Q

    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. ●...
  • Page 80: Setting The Spacing Of Characters/Esc Sp

    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.
  • Page 81: Aligning The Characters/Esc A

    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.
  • Page 82: Specifying The Download Character Set/Esc

    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.
  • Page 83: Copying Character Set/Esc

    Copying character set/ESC: [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1,2, 3, 4. [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.
  • Page 84: Defining The Download Characters/Esc

    Defining the download characters/ESC & [ASCII] & [Decimal] [Hexadecimal] [Parameter] S = 0, 32 ≤ n ≤ m ≤ 127 (20h ≤ n ≤ m ≤ 7Fh) [Description] ● Defines the download characters. ● ‘S’ is always 0. ● ‘n’ specifies a character code that starts defining. ‘m’ specifies a character code that completes defining. To define only one character, specify ‘n’...
  • Page 85 ●To define several download characters, send ‘a0 … pk’ the number of times equal to the number of characters to be defined (m – n + 1).
  • Page 86: Selecting The Bit Image Mode/Esc

    Selecting the bit image mode/ESC * [ASCII] [Decimal] [Hexadecimal] [Parameter] m = 0, 1, 2, 3, 4, 6, 32, 33, 38, 39 0 ≤ n1 ≤ 255, 0 ≤ n2 ≤ 11 [Description] ● Selecting the bit image mode depending on the “m” value. (See chart below) ●...
  • Page 87 Correspondence between data and dots 8-dot bit image ● ● ● ● ● ● ● ● 24-dot bit image ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●...
  • Page 88: Setting Bit Image Repeat/Esc

    Setting bit image repeat/ESC * [ASCII] [Decimal] [Hexadecimal] [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. ●...
  • Page 89: 8-Dot Single Density Bit Image/Esc K

    Remainder of the number of dot positions divided by 256. n2: Quotient of the number of dot positions divided by 256 ● When ESC K is specified, the printer prints out data in the following resolution: Vertical dot 3/203 in. Horizontal dot 2/203 in.
  • Page 90: 8-Dot Double Speed/Density Bit Image/Esc Y

    ● ‘n1’ and ‘n2’ can be specified in the same manner as ESC K. ● When ESC L is specified, the printer prints out data in the following resolution: Vertical dot 3/203 in. Horizontal dot 1/203 inch.
  • Page 91: Changing The Bit Image Mode/Esc

    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 *. ●...
  • Page 92: Initializing The Printer/Esc

    [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. ●Even if this command is received, the mode is not shifted to emulation mode.
  • Page 93: Cancelling High Order Side Control Code/Esc 6

    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. ●...
  • Page 94: Setting High Order Side Control Code/Esc 7

    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). ●...
  • Page 95: Cancelling Data/Can

    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. ●...
  • Page 96 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 97 ● Add ESC FF command at the end of print data. (4) Error ● If no marker is detected, the printer will stop feeding and show an error display. At this time, if the FEED switch is pressed, marker detection will be executed again.
  • Page 98 Index ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ DC 2 ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC " ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC $ ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC % ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC & ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC * ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC / ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC ? ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC @ ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC + ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC − ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC 0 ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・...
  • Page 99 ESC q ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC Q ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC R ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC S ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC SI ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC SO ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC SP ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC t ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC T ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC w ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC W ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC Y ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC Z ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ESC! ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・...

This manual is also suitable for:

Pd-22

Table of Contents