background image

 

 

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 ....................................................................................................................................................... 32 
ESC~P ....................................................................................................................................................... 33 
ESC~s........................................................................................................................................................ 34 
ESC~SF..................................................................................................................................................... 43 
ESC~SI...................................................................................................................................................... 46 
ESC~SL..................................................................................................................................................... 44 
ESC~SS..................................................................................................................................................... 45 
ESC~U ...................................................................................................................................................... 31 
ESC~X ...................................................................................................................................................... 21 
ESC~Y ...................................................................................................................................................... 40 
FS G .......................................................................................................................................................... 17 
FS H .......................................................................................................................................................... 15 
FS I............................................................................................................................................................ 16 
GS h........................................................................................................................................................... 23 
GS H.......................................................................................................................................................... 22 
GS k........................................................................................................................................................... 24 
GS r ........................................................................................................................................................... 22 
GS w.......................................................................................................................................................... 23 
GS~k ......................................................................................................................................................... 27 
GS~w......................................................................................................................................................... 30 

ESC/P Emulation Command

 

BS.............................................................................................................................................................. 69 
CAN ........................................................................................................................................................ 100 
CR ............................................................................................................................................................. 53 
DC 2 .......................................................................................................................................................... 77 
DC 4 .......................................................................................................................................................... 78 
DEL......................................................................................................................................................... 100 
ESC - ......................................................................................................................................................... 82 
ESC ! ......................................................................................................................................................... 83 
ESC $ ........................................................................................................................................................ 66 
ESC % ....................................................................................................................................................... 87 
ESC & ....................................................................................................................................................... 89 

Summary of Contents for PD-24

Page 1: ...1 CITIZEN Command Reference Model name PD24 REVISION 1 10 Revision date May 24 2005 Citizen Systems Co Ltd ...

Page 2: ...2 Revision list REV Date Details 1 0 10 12 2004 Original version tentative version 1 1 5 24 2005 ESC SI Low baud rate support for serial interface ESC SI Added the Image generation speed setting ...

Page 3: ...rinter power OFF ESC p 33 Selecting the code page ESC P 34 Selecting Windows character ESC s 35 Printing the sequential character ESC 36 Printing the character ESC 37 Enabling disabling the black mark function ESC E 38 Setting the marker detection level ESC e 39 Printer operating status report command 2 ESC Y 41 Starting registering the printer command and flash memory ESC CS 42 Calling from print...

Page 4: ...SC SI 78 Cancelling reduced printing DC 2 78 Specifying double width expansion with automatic cancel SO 79 Specifying double width expansion with automatic cancel ESC SO 79 Cancelling double width expansion with automatic cancel DC4 79 Specifying canceling double width large characters ESC W 80 Specifying cancelling double height large characters ESC w 80 Specifying emphasis printing ESC E 81 Canc...

Page 5: ...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: ...6 Citizen original command ...

Page 7: ...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 Default value for form feed is set at 95 in normal operation and 194 in black mark detection Setting check Setting can be checked by specifying m 255 ESC 255 0 Prints the setting ESC 255 1 Returns the setting only when the ca...

Page 8: ... the time to 0 minute Default setting is the time set as low power time in the internal setting of the printer The set values are stored and kept in the flash memory 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 p...

Page 9: ...6 Sends the BMP file data after sending n1 n2 Several BMPfile data can be written at a time into the flash memory by repeating the parameter sequence 1 BMPfile data are assigned with a number accordingly in sequence from 0 based on which printing of BMP data is executed This sequence is completed by specifying 0 in n1 and n2 no BMPfile data Aregistration area up to 64KB 64 1024 65536 bytes is avai...

Page 10: ...tion Prints out BMP file data registered in the flash memory Specify the number of the BMPdata to be printed in the parameter n When an unregistered number is specified the command will be ignored BMP images are printed in a printable area When an image lies across right side areas the image will not be fully printed ...

Page 11: ...n Decimal 27 126 102 m n Hexadecimal 1B 7E 66 m n 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 Fonts of various sizes are selected for printing ...

Page 12: ...the paper feed direction pointing upwards A Feed command does not actually feed a paper but moves the printing position horizontally Actual printing starts when page feed FF ESC FF is selected The page format is maintained even after form feed Portrait page printing mode Data are printed horizontally with the paper feed direction pointing upwards A Feed command does not actually feed a paper but m...

Page 13: ...ntil a Form Feed command FF ESC FF is received However if page printing mode setting is executed again before a form feed all previous data will be lost ESC Initialize command clears data decoded internally on the memory Page printing mode itself cannot be initialized In page printing mode barcodes that lie across logical papers lengths are not printed Print width 832 dots Logical paper length 832...

Page 14: ...ts Setting the Line Printing Mode Default is line printing mode The following shows an example of program BASIC for switching from page printing mode to line printing mode LPRINT CHR H1B L CHR 1 CHR 0 CHR 0 Line printing dl 0 Fixed at 0 Line printing mode n1 1 Setting the Page Printing Mode The following shows a program for setting paper length to 8 inches in landscape mode LPRINT CHR H1B L CHR 3 ...

Page 15: ...ion 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 When the black mark operation is set to enable this command starts marker detection along with page feed ...

Page 16: ...heets of carbon paper Printing paper can be set by line unit Setting besides the parameter range will be ignored 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 c...

Page 17: ...light n 31h 1 n 32h 0 Normal n 33h 1 n 34h 2 dark Settings other than the above will be ignored 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 18: ...ication halt In such case the printer may not be able to receive this command from the host and the return function may not work properly When using this command do not send the command and print data at the same time Whenever possible execute each command separately In PD24 since received data in the buffer will not be processed under offline status such as paper out the printer monitors and retu...

Page 19: ... image data prints the desired bit map data Format c d1 d2 d3 d4 dn c indicates data length and that the data in the following format is string data Specify an image data with subsequent dn Data length can be specified from 1 to 127 7 6 5 4 3 2 1 0 C Data length O String image dn is 1 byte bitmap data and specifies a bitmap image in the raster direction dn 7 6 5 4 3 2 1 0 Left Right An example is ...

Page 20: ...at image The number of repetition can be specified from 1 to 127 d is 1 byte bitmap data and specifies a bitmap image in the raster direction dn 7 6 5 4 3 2 1 0 Left Right An example is shown below Data 85h 12h Print result 1 2 1 2 1 2 1 2 1 2 3 EOL EOLterminates a 1 dot sequence and executes printing and feeding of the 1 dot sequence Data are 00h 4 EOD EOD terminates printing of a compressed bit ...

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 END ...

Page 22: ...e divided by 256 Specifies the x1 x2X coordinates Specifies in x1 the remainder of X coordinate value divided by 256 Specifies in x2 the quotient of X coordinate value divided by 256 Description Specifies the printing position with X Y coordinates in landscape printing and portrait page printing mode Unit for coordinate is 1 203 Cannot be used in normal printing mode portrait line printing With ES...

Page 23: ...lower area of barcode The initial value is n 0 Changing the font size will not change the size of barcode character Returns to default value with initializing command Setting Cancelling the turning of barcode GS r ASCII GS r n Decimal 29 114 n Hexadecimal 1D 72 n Parameter n 0 1 Description When n 0 barcodes are positioned horizontally When n 1 barcodes are positioned vertically Default at power O...

Page 24: ...l direction The initial value is n A2h 162 dots Returns to default value with initializing command Setting the width of barcode GS w ASCII GS w n Decimal 29 119 n Hexadecimal 1D 77 n Parameter n 2 3 4 Description Selects the width of barcode n indicates the number of dots for narrow barcode in horizontal direction The initial value is n 3 Returns to default value with initializing command ...

Page 25: ...s 8h 30h D 39h 4 CODE39 1 s 30h D 39h 41h D 5Ah 20h 24h 25h 2Bh 2Dh 2Eh 2Fh 5 ITF 1 s even number 30h D 39h 6 CODEBAR 1 s 30h D 39h 41h D 44h 24h 2Bh 2Dh 2Eh 2Fh 3Ah This command is terminated by a NULL code For UPC A and UPC E upon input of 12 byte barcode data the barcode is printed out and subsequent data are processed as normal data For JAN13 upon input of 13 byte barcode the barcode is printe...

Page 26: ...ution 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 Regardless of the line feed rate set in ESC 3 ESC 2 etc paper feed will be executed for the barcode height including characters when barcode characters are specified After the printing of barcode beginning of line becomes the next print start position Barcode...

Page 27: ...ODE C 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 0C s 7B 41 CODE A 31 32 33 34 35 12345 36 37 38 39 40 67890 0D 0A CR LF In this case the parameter s data length consists of 2 bytes indicating CODE A and 10 bytes indicating the data 1234567890 12 bytes in total ...

Page 28: ...PDF417 barcodes larger than 928 code words cannot be printed Depending on the error correction label selected error correction code words may be added Therefore code words of data to be printed need some space Ahigher level of error correction level improves its correction performance but at the same time it also makes the size of barcodes bigger When printing barcode symbols by aspect ratio speci...

Page 29: ...ample When the code number is 1 and the dividing number is 2 c 01h When the code number is 12 and the dividing number is 15 c BEh p Parity data Ignored when the division function is not used Functions as XOR value of all data m Model number m 00h Model 1 Version 1to 14 01h Model 2 Version 1to 40 Default value e Error correction level e 00h High density level L Default value 01h Standard level M 02...

Page 30: ... number specification Note that in either mode the parity value of all data must be always specified for parity data Especially in division mode 1 where the user divides data the parity code reader will fail to combine QR codes unless the parity value of all data before data are divided is set for parity data Choose an appropriate error correction level in accordance with the use environment When ...

Page 31: ...The unit is dot n 0 PDF417 module width specification 1 QR module width specification For PDF417 module width and symbol column height can be specified m Module width 01h to 08h I Symbol column height 01h to 08h The symbol column height of PDF417 is internally converted into Module width Symbol column height setting value I For QR codes only module width can be set For QR code module width setting...

Page 32: ...mode 2 Phase lock mode In 1 and 2 step feed modes data are printed while the motor is in motion The printing speed increases in order of phase lock 1 step feed 2 step feed 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 p...

Page 33: ...meter 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 terminated ...

Page 34: ...DA 4 PC865 NORWAY 5 SCANDINAVIA 6 YUASCII 7 PC852 LATIN 2 8 PC855 CYRILLIC 9 PC866 RUSSIAN 10 HUNGARIAN 11 KAMENICKY 12 TURKEY 13 PC861 ICELANDIC 14 WELSH 15 MAZOVIA 16 UKRAINIAN 40 NEW HEBREW 41 OLD HEBREW 42 DEC HEBREW 50 437 GREEK 51 GREEK 851 52 GREEK ABC 53 GREEK ELOT 928 54 CYPRUS 55 MALTA 60 ARABIC NLS 61 ARABIC EXT 62 UNISYS CODEPAGE 100 BRAZILABICOMP 101 BRAZILASCII 108 LATIN 1 109 PC858 ...

Page 35: ...lecting Windows character ESC s ASCII ESC s n Decimal 27 7E 115 n Hexadecimal 1B 7E 73 n 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: ...er 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 Assign the quotient of the number of data divided by 256 in n2 Unlike ESC 6 the lower control code domain can be printed as character data ...

Page 37: ...37 Printing the character ESC ASCII ESC Decimal 27 7E 94 Hexadecimal 1B 7E 5E Description 1 byte data following this command is processed as character data ...

Page 38: ...he 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 The set values are reflected at the next power ON By the temporary setting with parameter n 4 or 3 the mark function setting is enabled disabled when ESC ...

Page 39: ...rd sensor detection level Marker center position Marker width Paper out reference value Downward sensor detection level m Setting value 1 to 1024 on a word unit 2 bytes m V 1023 3 V Sensor detection level V Default value m 120 Default sensor detection levelV Approx 0 4 V Normally set the same value for the upper and lower sensor detection levels Mark width Mark width can be set with n 128 Specify ...

Page 40: ...tically powered OFF The setting becomes effective when the power is turned ON again Setting check Settings can be checked by specifying n 255 ESC e 255 0 Prints out the setting 1 Returns the setting Return result Hexadecimal packet FB 01 1 2 3 4 5 1 Return start code 2 Sensor detection level up value 3 Sensor detection level down value 4 Mark width 5 Enabling disabling 1 0 the marker detection fun...

Page 41: ...ally printed on a paper Completion of printing indicates that any unprinted data does not exist and data are not being printed on a paper When using this command do not send the command and printing data at the same time Whenever possible execute each command separately In PD24 since receive data are not analyzed under offline status such as paper out the printer monitors and returns the printer o...

Page 42: ...group 1 n1 n2 d1 d2 dn Command group 2 00 Number of data 0 command group Command groups are assigned with a number in sending order from 0 before registered Up to No 255 can be registered total number of registration 256 Specify this number to call out a given command When a new registration begins data that have been previously registered in the flash memory will be all deleted Aregistration area...

Page 43: ...Decimal 27 126 67 76 n Hexadecimal 1B 7E 43 4C n 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 When an unregistered number is specified the command will be ignored ...

Page 44: ...3 46 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: ...g 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 This command is used in conjunction with the flash memory writing command ESC SS and the internal setting command ESC SI ESC SL Reads the default value ESC SI Sets the internal setting of the printer ESC SI Sets the internal settin...

Page 46: ... 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 Be sure to use this command in conjunction with factory setting ESC SF or default value ESC SL If this command is used separately unexpected values may ...

Page 47: ...ace stop bit length 3 Sets the serial interface parity bit 4 Sets the serial interface flow control 5 Sets the printing density 6 Sets the type of printing paper 7 Sets the operation for automatic feed 8 Sets the black mark detection 9 Sets the character set 10 Sets the international character set 12 Sets the character pitch 13 Sets the auto power OFF time 14 Setting the return control of printer ...

Page 48: ...ets the serial parity bit n 3 Sets the parity bit in cable interface connection m 0 parity bit unavailable 1 Even Parity 2 Odd Parity Serial interface flow control n 4 Sets the flow control in cable interface connection m 0 XON XOFF control m 1 DTR DSR control Sets the printing density n 5 Sets the default value of printing density m 0 Density 0 m 1 Density 1 m 2 Density 2 m 3 Density 1 m 4 Densit...

Page 49: ... France 3 Germany 4 England 5 Denmark 6 Sweden 7 Italy 8 Spain 9 Norway 10 Denmark2 11 Spain2 12 LatinAmerica 13 Korea 14 Legal Setting the character pitch n 12 Sets the default setting of character pitch m 0 10 cpi or equivalent 1 12 CPI equivalent 2 15 CPI equivalent 3 Proportional 4 17 CPI equivalent 5 20 CPI equivalent Setting the auto power OFF time n 13 Sets the auto power OFF time m 0 auto ...

Page 50: ...H CANADA 4 PC865 NORWAY 5 SCANDINAVIA 6 YUASCII 7 PC852 LATIN 2 8 PC855 CYRILLIC 9 PC866 RUSSIAN 10 HUNGARIAN 11 KAMENICKY 12 TURKEY 13 PC861 ICELANDIC 14 WELSH 15 MAZOVIA 16 UKRAINIAN 40 NEW HEBREW 41 OLD HEBREW 42 DEC HEBREW 50 437 GREEK 51 GREEK 851 52 GREEK ABC 53 GREEK ELOT 928 54 CYPRUS 55 MALTA 60 ARABIC NLS 61 ARABIC EXT 62 UNISYS CODEPAGE 100 BRAZIL ABICOMP 101 BRAZIL ASCII 108 LATIN 1 10...

Page 51: ...e Bluetooth BOND history n 26 When Bluetooth communication mode is switched to BOND for authentication the history record of the authentication equipment called link key is saved in the printer Based on this record authentication can be skipped from the next time for already authenticated equipment By enabling BOND history record deletion at this time all history records will be deleted at the nex...

Page 52: ...e while page mode is specified 2 Justification full just of alignment command ESC a is not available 3 When horizontal tab HT and alignment command ESC a are specified at the same time the horizontal tab HT is not available 4 When absolute position specification command ESC and alignment command ESC a are specified at the same time the absolute position specification command ESC is not available m...

Page 53: ...53 ESC P Emulation Command ...

Page 54: ...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: ...a CR code and LF code are entered in this order data are printed by CR code and then line feed is executed by LF code Cancels the double width expansion with automatic cancel SO ESC SO CautionWhen data without CR such as print data LF are received an operation equivalent to CR is executed within LF processing before line feed is executed As a result of line feed if the next print position falls wi...

Page 56: ...n 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 Cancels the double width expansion with automatic cancel SO ESC SO ...

Page 57: ...ing this command It does not affect the line feed rate setting After the execution of the command printing end position becomes the next printing start position It does not return to the left margin 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 st...

Page 58: ...e length by inch unit ESC C NUL ASCII ESC C NUL n Decimal 27 67 0 n Hexadecimal 1B 43 00 n Parameter 1 n 15 Description Paper position at the time of execution of the command becomes the head of line Page length is set as an absolute length Therefore once this command is set even when the line feed rate is changed the page length does not change Cancels the perforated line skip bottom margin setti...

Page 59: ...s range Once this command is set even when the line feed rate is changed the skip rate does not change Perforated line skip is canceled when page length is newly set Cancelling perforated line skip ESC O ASCII ESC O Decimal 27 79 Hexadecimal 18 4F Description Cancels the perforated line skip setting In addition to this code perforated line skip is cancelled when a page length is newly set by ESC C...

Page 60: ... 12CPI 15CPI reduced printing or double wide enlarged printing is specified data are processed in units of the character width specified Even when the pitch between the command position and the left margin is one character or less at least one character is printed Upon this setting data in the print buffer will be cleared Be sure to set this command at the head of a line For proportional printing ...

Page 61: ...udes the value of character to character space rate When 10CPI 12CPI 15CPI reduced printing or double wide enlarged printing is specified data are processed in units of the character width specified For proportional printing set the value taking character pitch as 10CPI Even when the interval with the right margin is one character or less at least one character is printed Upon this setting data in...

Page 62: ...l 27 48 Hexadecimal 1B 30 Description Sets the line feed rate to EPSON 1 8 inch 22 203inch Setting the 1 6 inch line feed rate ESC 2 ASCII ESC 2 Decimal 27 50 Hexadecimal 1B 32 Description Initial power on status Sets the line feed rate to EPSON 1 6 inch 30 203inch ...

Page 63: ...3 dot unit Setting the n 180 inch line feed rate ESC 3 ASCII ESC 3 n Decimal 27 51 n Hexadecimal 18 33 n Parameter 0 n 255 Description Sets the line feed rate to n 203 Sets the line feed rate to 1 dot unit Setting the n 360 inch line feed rate ESC ASCII ESC n Decimal 27 43 n Hexadecimal 1B 2B n Parameter 0 n 255 Description Sets the line feed rate to n 406 Sets the line feed rate to 1 406 dot unit...

Page 64: ... position does not change The character width at the time of setting includes the value of character to character space rate When 10CPI 12CPI 15CPI reduced printing or double wide enlarged printing is specified data are processed in units of the character width specified NULcode indicates the termination of setting Set horizontal tab positions in ascending order When a smaller value is set after a...

Page 65: ... line the input will be ignored Immediately after power ON horizontal tab positions of a size of 10CPI are set every 8 columns Given horizontal tab positions can be set by ESC D code When underline is specified the underlinewill not be drawn at a moving area of HT When image generation speed is set to fast if you use Horizontal Tab HT and Alignment Command ESC a at the same time the function of Ho...

Page 66: ...t point All vertical tab positions can be canceled with ESC B NULL code without a parameter 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 WhenVTis executed after tab positionsare cleared by ESC B NUL the printer performs in the same manner as in CR Execution of vertical tab VT ASCII VT Decimal 11 Hexadecimal ...

Page 67: ...ft margin Number of dots n1 256 n2 The number of dots is calculated on a 2 203 inch basis Values specified beyond the right margin will be ignored When an underline is specified the underline will not be drawn at a moving area When image generation speed is set to high if you use Specifying the absolute position command ESC and Position Alignment command ESC a at the same time the function of Spec...

Page 68: ...tward moving with two s complement Number of dots n1 256 n2 1440 n1 256 n2 1440 The number of dots and the values of n1 and n2 correspond as follows The values of n1 and n2 in the table are in hexadecimal Values beyond the left margin or right margin will be ignored Underline Specification ESC FS by the moving area of ESC is processed as follows Moving direction of ESC Type of underline specificat...

Page 69: ...ely after power ON no vertical tab is set in any channel Specify tab positions in ascending order of the line When a value smaller than previous m is specified the setting is completed at that point The setting is completed also when a position is specified beyond the print area Use ESC code to specify the channel for executing a tab It is set to channel 0 in VerticalTab Position ESC B code VFU Ve...

Page 70: ...osition 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 Cannot move back beyond the left margin ...

Page 71: ...nt style ESC k ASCII ESC k n Decimal 27 107 n Hexadecimal 1B 6B n 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 Default is Roman ...

Page 72: ...selected With this code several language characters can be used at the same time without specification by ESC R code See the Character Code Table for character types The character code table corresponding to the printer for IBM PC Series becomes available It is useful when using foreign made application software With the use of ESC 6 or ESC 7 code you can switch either to use upper 32 codes as a c...

Page 73: ...mal 1B 52 n 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 5 Sweden 6 Italy 7 Spain 8 Japan 9 Norway 10 Denmark II 11 Spain II 12 Latin America 13 South Korea 64 Legal ...

Page 74: ... 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 Character width when proportional font is specified varies depending on the proportional spacing ...

Page 75: ...ter equivalent to 12CPI ESC M ASCII ESC M Decimal 27 77 Hexadecimal 1B 4D Description Specifies 12CPI equivalent characters 15 dots for printing after this code To cancel this code specify another character pitch Specifying the character equivalent to 15CPI ESC g ASCII ESC g Decimal 27 103 Hexadecimal 1B 67 Description Specifies 15CPI equivalent characters 12 dots for printing after this code To c...

Page 76: ...ting 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 Character codes can be set within the following range 32 to 126 20h to 7Eh 128 to 175 80h toAFh For Extended Graphic 224 to 239 E0h to EFh For Extended Graphic Canceling super subscript ESC T ASCII ESC T Decimal 27 84 Hexadecimal 1B 54 Description Cancels the ...

Page 77: ...ome 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 Cancelling italic ESC 5 ASCII ESC 5 Decimal 27 53 Hexadecimal 1B 35 Description Cancels the italic character ...

Page 78: ...dth is reduced to approximately 60 when printed This code cannot be combined with 15CPI specification Specifying reduced printing ESC SI ASCII ESC SI Decimal 27 15 Hexadecimal 1B 0F Description It executes the same command as SI code Cancelling reduced printing DC 2 ASCII DC2 Decimal 18 Hexadecimal 12 Description Cancels the reduced printing ...

Page 79: ...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 ESC SO Decimal 27 14 Hexadecimal 1B 0E Description It executes the same command as SO code Cancelling double width expansion with automatic cancel DC4 ASCII DC4 Decimal 20 Hexadecimal 14 Description Cancels the double width expansion with SO code ESC SO code...

Page 80: ... 30h The double width large characters specified by this code cannot be cancelled with DC4 code or line feed The double width large characters specified by SO ESC SO can be cancelled with ESC W 0 Specifying cancelling double height large characters ESC w ASCII ESC w n Decimal 27 119 n Hexadecimal 1B 77 n Parameter n 1 0 or 31 30h Description Specifies the double height large characters Specifies t...

Page 81: ...cimal 27 69 Hexadecimal 1B 45 Description Prints out print data in emphasized characters Prints out data in slightly wider characters Cancelling emphasis printing ESC F ASCII ESC F Decimal 27 70 Hexadecimal 1B 46 Description Cancels the emphasis printing ...

Page 82: ...ESC G ASCII ESC G Decimal 27 71 Hexadecimal 1B 47 Description Specifies the double strike printing of a data Cancelling double strike printing ESC H ASCII ESC H Decimal 27 72 Hexadecimal 1B 48 Description Cancels the double strike printing ...

Page 83: ...ption 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 HorizontalTab HT orAbsolute Position ESC Leftward moving area by Relative Position ESC Characters of B0h to DFh F4h and F5h of Extended Graphic code ...

Page 84: ... printing mode With ESC code a combination of several printing modes can be specified at one time A combination with other codes such as SO and SI is also available but in such case a code needs to be specified for each specification By specifying 0 in n with ESC code you can cancel the specification of all printing modes and return the setting to default Double width Emphasis Super Sub Reduction ...

Page 85: ...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 When n 0 it cancels the character style Extended graphic codes B0h to DFh F4h and F5h are printed in normal characters ...

Page 86: ...pacing of characters to n basic calculation unit inches Spacing of characters will be indicated as follows Number of dots of each character A A A Space secured by ESC SP Left space of each character Right space of each character If the horizontal magnification of character is 2 or more the spacing increases with the magnification Character width used during horizontal tab position left margin righ...

Page 87: ...s n 0 Position alignment is executed between right and left margins when CR LF or FF code is entered or buffer full printing is executed Specifies position alignment at the head of a line BS and DELcodes will be ignored When n 1 or 2 HT ESC and ESC codes will be ignored When n 3 character data after these codes will be full justified The range of printing length to which full justification can be ...

Page 88: ...ad 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 When n 0 or 30h the download character set is canceled and the setting returns to the internal character set Before specifying a download character set be sure to specify the same character type ...

Page 89: ...aracter set Specify a character attribute high quality character proportional character 15CPI super subscript character to be copied before entering this code Defined characters are printed in this pitch Note however that characters are printed in the character width pitch defined when proportional is specified Clear download characters already defined before copying a character set Copying range ...

Page 90: ...specify n m a0 a1 and a2 specify character width Character Height width a0 a1 a2 24 dot system 10CPI equivalent character 24 18 12CPI equivalent character 24 15 15CPI equivalent character 16 12 Proportional 24 21 Super sub script 16 12 is the maximum character width The maximum value of a1 is 19 MSB p1 LSB MSB p4 LSB MSB pk 2 LSB MSB p2 LSB MSB p5 LSB MSB pk 1 LSB MSB p1 LSB MSB p3 LSB MSB pk 1 LS...

Page 91: ...t 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 n 1 Cannot be used together with external character defining ...

Page 92: ...e number of dots divided by 256 The maximum number of dots in horizontal direction is as follows Dot density in horizontal direction m decimal EPSON PD24 Maximum value for n1 256 n2 0 60DPI 101DPI 416 1 120DPI 203DPI 832 2 120DPI 203DPI 832 3 240DPI 203DPI 832 4 80DPI 101DPI 416 8 dots 6 90DPI 101DPI 416 32 60DPI 101DPI 416 33 120DPI 203DPI 832 38 90DPI 101DPI 416 24 dots 39 180DPI 203DPI 832 The ...

Page 93: ...93 Correspondence between data and dots 8 dot bit image 27 26 25 24 23 22 21 20 24 dot bit image 2 7 26 25 24 23 22 21 20 27 26 25 24 23 22 21 20 27 26 25 24 23 22 21 20 ...

Page 94: ...t image is to be printed r1 Remainder of the number of times divided by 256 r2 Quotient of the number of times divided by 256 n1 and n2 indicate the number of dots in horizontal direction of the bit image to be repeated n1 Remainder of the horizontal number of dots of the bit image to be printed divided by 256 n2 Quotient of the horizontal number of dots of the bit image to be printed divided by 2...

Page 95: ...SC K is specified the printer prints out data in the following resolution Vertical dot 3 203 in Horizontal dot 2 203 in The maximum number of dot positions is 416 8 dot double density bit image ESC L ASCII ESC L n1 n2 data Decimal 27 76 n1 n2 data Hexadecimal 1B 4C n1 n2 data Parameter 0 n1 255 0 n2 3 Description This command executes the printing of 8 dot double density bit image for the number o...

Page 96: ...ch The maximum number of dot positions is 832 However horizontally adjacent dots are omitted in printing 8 dot quadruple density bit image ESC Z ASCII ESC Z n1 n2 data Decimal 27 90 n1 n2 data Hexadecimal 1B 5A n1 n2 data Parameter 0 n1 255 0 n2 3 Description This command executes the printing of 8 dot quadruple density bit image for the number of data specified by n1 n2 n1 and n2 can be specified...

Page 97: ...f ESC K ESC L ESCY and ESC Z into the mode of ESC Specifies the value of m in the same manner as parameter m to be specified in ESC modes c indicates the type of bit image ESC K ESC L ESCY ESC Z to be converted Specifies c as follows ESC K ESC K m ESC L ESC L m ESC Y ESC Y m ESC Z ESC Z m The power ON default setting of each code is as follows ESC K ESC 0 ESC L ESC 1 ESC Y ESC 2 ESC Z ESC 3 ...

Page 98: ...ASCII ESC Decimal 27 64 Hexadecimal 1B 40 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: ...mal 27 54 Hexadecimal 1B 36 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 Relevant character codes are from 128 to 159 80h to 9Fh This is the power ON setting ...

Page 100: ...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 The content of the code to be controlled corresponds to 0 to 31 00h to 1Fh of lower character codes ...

Page 101: ...one character DEL ASCII DEL Decimal 127 Hexadecimal 7F Description Deletes one character data having been last entered in a line In the following cases this code will be ignored 1 When being at a left margin position 2 Immediately after ESC ESC or HT 3 Immediately after a bit image When image generation speed is set to fast DELfunction does not work in page mode ...

Page 102: ...tings Detects the marker position and feeds paper to the head of a page under the following conditions During auto feed After receiving ESC FF command during printing When FEED key is pressed at a detection error If papers are set at power on data are printed from the position at that point The paper position at power on is not detected 1 Position dimensions Paper surface printing side Marker colo...

Page 103: ...Therefore in such a case if the marker is right below the sensor the printer will identify that no paper is set except detection by pressing of FEED switch at a marker detection error When a mark paper is used while the black mark operation setting is disabled and if the sensor detects the marker the printer will identify that no paper is set When the mark position is detected properly unprinted d...

Page 104: ...37 ESC f 10 ESC G 18 ESC L 11 ESC O 7 ESC p 32 ESC P 33 ESC s 34 ESC SF 43 ESC SI 46 ESC SL 44 ESC SS 45 ESC U 31 ESC X 21 ESC Y 40 FS G 17 FS H 15 FS I 16 GS h 23 GS H 22 GS k 24 GS r 22 GS w 23 GS k 27 GS w 30 ESC P Emulation Command BS 69 CAN 100 CR 53 DC 2 77 DC 4 78 DEL 100 ESC 82 ESC 83 ESC 66 ESC 87 ESC 89 ...

Page 105: ... a 86 ESC A 62 ESC b 68 ESC B 65 ESC C 57 ESC C NUL 57 ESC D 63 ESC E 80 ESC F 80 ESC g 74 ESC G 81 ESC H 81 ESC J 56 ESC k 70 ESC K 94 ESC I 60 ESC L 94 ESC M 74 ESC N 58 ESC O 58 ESC p 73 ESC P 74 ESC q 84 ESC Q 59 ESC R 72 ESC S 75 ESC SI 77 ESC SO 78 ESC SP 85 ESC t 71 ESC T 75 ESC w 79 ESC W 79 ESC Y 95 ESC Z 95 FF 55 ...

Page 106: ...106 HT 64 LF 54 SI 77 SO 78 VT 65 ...

Page 107: ...Italic 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F USA 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 108: ...MULTILINGUAL 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F PORTUGUL 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 109: ...FRENCH CANADA 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F NORWAY 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 110: ...SCANDINAVIA 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F YUASCII 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 111: ...LATIN 2 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F CYRILLIC 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 112: ...RUSSIAN 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F HUNGARIAN 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 113: ...KAMENICKY 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F TURKEY 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 114: ...ICELANDIC 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F WELSH 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 115: ...MAZOVIA 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F UKRAINIAN 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 116: ...NEW HEBREW 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F OLD HEBREW 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 117: ...DEC HEBREW 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F GREEK 437 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 118: ...GREEK 851 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F GREEK ABC 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 119: ...GREEK ELOT 928 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F CYPRUS 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 120: ...MALTA 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ARABIC NLS 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 121: ...ARABIC EXT 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F UNISYS 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 122: ...BRAZIL ABICOMP 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F BRAZIL ASCII 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 123: ...LATIN 1 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F PC858 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 124: ...ISO LATIN 9 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F US ANSI 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 125: ...CYRILLIC ANSI 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F EASTEUROPE ANSI 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F ...

Page 126: ...ASCII CODE TABLE 0 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 NUL SP 1 2 DC2 3 4 DC4 5 6 7 8 BS CAN 9 HT A LF B VT ESC C FF FS D CR GS E SO F SI DEL ...

Page 127: ......

Reviews: