Citizen PD24 Command Reference Manual
Citizen PD24 Command Reference Manual

Citizen PD24 Command Reference Manual

Handy printer
Hide thumbs Also See for PD24:
Table of Contents

Advertisement

Quick Links

CITIZEN

Command Reference

Model name: PD24
REVISION: 1.10
Revision date: May 24, 2005
Citizen Systems Co., Ltd
1

Advertisement

Table of Contents
loading

Summary of Contents for Citizen PD24

  • Page 1: Command Reference

    CITIZEN Command Reference Model name: PD24 REVISION: 1.10 Revision date: May 24, 2005 Citizen Systems Co., Ltd...
  • Page 2: Revision List

    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.
  • Page 3: Table Of Contents

    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...
  • Page 6 Citizen original command...
  • Page 7: Setting The Top Of Form (Tof) /Esc~B

    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 ●...
  • Page 8: Setting Power Off Time/Esc~O

    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. ●...
  • Page 9: Registering The Bit Map Data/Esc~B

    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.
  • Page 10: Printing The Bit Map Data /Esc~B

    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’. ●...
  • Page 11: Specifing The Font Size /Esc~F

    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. ●...
  • Page 12: Setting In Page Mode/Esc~L

    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 15: Page Feed (Only For Page Mode Marker Detection) /Esc Ff

    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.
  • Page 16: Setting Printing Paper/Fs H

    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. ●...
  • Page 17: Setting Print Density/ Fs I

    Setting print density/ FS I [ASCII] [Decimal] [Hexadecimal] [Parameter] n = 0, 1, 2, 3, 4 or 30h, 31h, 32h, 33h, 34h [Description] ● Specifying the printing density. n=30h -2 (light) n=31h -1 ↑ n=32h 0 (Normal) n=33h +1 ↓ n=34h +2 (dark) ●...
  • Page 18: Printer Operating Status Report Command / Fs G

    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. ●...
  • Page 19: Printing The Compressed Bit Image/ Esc~G

    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...
  • Page 22: 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 23: 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 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...
  • Page 24: 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 25: 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 ......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...
  • Page 28: Selecting The Type Of Two-Dimensional Barcode/Gs~ K

    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.
  • Page 31: Setting The Width Of Module Of Two-Dimensional Barcode/ Gs~W

    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 ●...
  • Page 32: Selecting Printing Mode/ Esc~U

    Selecting printing mode/ ESC~U [ASCII] [Decimal] [Hexadecimal] [Parameter] n=0, 1, 2 or 30h, 31h, 32h [Description] Selects the printing mode depending on the value of “n”. ●n = 0: 2-step feed mode 1: 1-step feed mode 2: Phase lock mode ●...
  • Page 33: Printer Power Off/ Esc~P

    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] ●...
  • Page 34: 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 35: 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 36: 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 37: Printing The Character/Esc

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

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

    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. ●...
  • Page 42: Starting Registering The Printer Command And Flash Memory/ Esc~Cs

    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. ●...
  • Page 43: Calling From Printer Command And Flash Memory/ Esc~Cl

    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. ●...
  • Page 44: Reading The Factory Setting/ Esc~Sf

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

    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.
  • Page 46: Writing The Printer's Internal Setting To Flash Memory / Esc~Ss

    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. ●...
  • Page 47: Setting The Inside Of Printer/Esc~Si

    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.
  • Page 53 ESC/P Emulation Command...
  • Page 54: Returning To Printing/ Cr

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

    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 56: 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 head of line (left margin) becomes the next printing start position. ●...
  • Page 57: Forward Paper Feeding/ Esc J

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

    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 –...
  • Page 61: Setting The Left Margin/ Esc I

    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. ●...
  • Page 62: Setting The 1/8-Inch Line Feed Rate/Esc O

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

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

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

    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’. ●...
  • Page 70: 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 71: Selecting The Font Style/Esc K

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

    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. ●...
  • Page 73: 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) n = 0: USA 1: France 2: Germany 3: UK 4: Denmark...
  • Page 74: 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 75: 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 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 76: Specifying Super/Subscript/Esc S

    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. ●...
  • Page 77: Specifying Italic/Esc 4

    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.
  • Page 78: 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 79: 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 80: Specifying/Canceling Double Width Large Characters/Esc W

    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. ●...
  • Page 81: 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. - 81 -...
  • Page 82: 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. - 82 -...
  • Page 83: Specifying/Cancelling Underline/Esc

    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...
  • Page 84: 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. At 1 Double Double Emphasis Underline Italic...
  • Page 85: 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 86: 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 87: 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 88: 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 89: Copying Character Set/Esc

    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.
  • Page 90: Defining The Download Characters/Esc

    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 –...
  • Page 92: Selecting The Bit Image Mode/Esc

    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 ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●...
  • Page 94: Setting Bit Image Repeat/Esc

    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. ●...
  • Page 95: 8-Dot Single Density Bit Image/Esc K

    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.
  • Page 96: 8-Dot Double Speed/Density Bit Image/Esc Y

    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.
  • Page 97: 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 98: Initializing The Printer/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.
  • Page 99: 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 100: 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 101: 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 102: Appendix B: Black Mark Specification

    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. ●...
  • Page 104 Index CITIZEN Original Command ESC FF ..............................14 ESC~^ ............................... 36 ESC~¥ ............................... 35 ESC~b ..............................8, 9 ESC~B................................. 6 ESC~CL ..............................42 ESC~CS ..............................41 ESC~e ............................... 38 ESC~E............................... 37 ESC~f................................ 10 ESC~G ..............................18 ESC~L............................... 11 ESC~O ................................ 7 ESC~p ...............................
  • Page 105 ESC * ..............................91, 93 ESC / ................................. 68 ESC : ................................. 88 ESC ?................................. 96 ESC @............................... 97 ESC + ................................ 62 ESC ¥ ................................ 67 ESC 0 ................................ 61 ESC 2 ................................ 61 ESC 3 ................................ 62 ESC 4 ................................ 76 ESC 5 ................................
  • Page 106 HT ................................64 LF ................................54 SI ................................77 SO................................78 VT ................................65...
  • Page 107 Italic...
  • Page 108 MULTILINGUAL PORTUGUL...
  • Page 109 FRENCH-CANADA NORWAY...
  • Page 110 SCANDINAVIA YUASCII...
  • Page 111 LATIN 2 CYRILLIC...
  • Page 112 RUSSIAN HUNGARIAN...
  • Page 113 KAMENICKY TURKEY...
  • Page 114 ICELANDIC WELSH...
  • Page 115 MAZOVIA UKRAINIAN...
  • Page 116 NEW HEBREW OLD HEBREW...
  • Page 117 DEC HEBREW GREEK 437...
  • Page 118 GREEK 851 GREEK ABC...
  • Page 119 GREEK ELOT 928 CYPRUS...
  • Page 120 MALTA ARABIC NLS...
  • Page 121 ARABIC EXT UNISYS...
  • Page 122 BRAZIL ABICOMP BRAZIL ASCII...
  • Page 123 LATIN 1 PC858...
  • Page 124 ISO LATIN 9 US ANSI...
  • Page 125 CYRILLIC ANSI EASTEUROPE ANSI...
  • Page 126 ASCII CODE TABLE 0 NUL BS CAN VT ESC CR GS...

Table of Contents