background image

 

 

 

RP-330      Technical Manual 

37 

 
 
 
 
 

ESC D [

n1

...

nk

] NUL

 

 

[Name] 

 

Set horizontal tab positions 

 

[Format]   

ASCII 

ESC 

D           

n1……nk        NUL 

 

 

Hex 

1B 

44         

n1……nk        00 

 

 

Decimal  27 

68         

n1……nk        0 

[Range] 

 

1≤

≤255 

 

 

0≤

≤32 

 
[Description] 

Set is horizontal tab positions. 
·

n

 specifies the column number for setting a horizontal tab position from the beginning of the line. 

 

 

·

  indicates the total number of horizontal tab positions to be set. 

 
[Details] 

·The horizontal tab position is stored as a value of [character width x 

n

]   

measured from the beginning of the line. The character width includes the right-side character 
spacing, and double-width characters are set with twice the width of normal characters. 

   

 

·This command cancels the previous horizontal tab settings. 

·When setting 

n

 = 8, the print position is moved to column 9 by sending 

HT.

 

·Up to 32 tab positions (

k

=32) can be set. Data exceeding 32-tab positions s is processed as 

normal data. 

 

 

·Transmit [

n

]

k

 in ascending order and place a 

NUL

 code 0 at the end. 

·When  [

n

]k  is  less  than  or  equal  to  the  preceding  value  [

n

]

k

-1,  tab  setting  is  finished  and  the 

following data is processed as normal data, 

 

 

·

ESC D NUL 

cancels all horizontal tab positions. 

·The  previously  specified  horizontal  tab  positions  do  not  change,  even  if  the  character  width 

changes. 

·The character width is memorized for each standard and page mode. 
 

[Default] 

The default tab positions are at intervals of 8 characters (columns 9, 17, 25, ...) for the font A (12 
X 24). 

 
[Reference]  

HT 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Содержание RP-330

Страница 1: ...RP 330 Thermal Receipt printer Technical manual...

Страница 2: ...ed 1 11 Reliability 1 12 Environmental Conditions 2 Configuration 2 1 Interface 2 1 1 RS 232 serial interface 2 1 2 Specifications 2 1 3 Switching between on line and off line 2 1 4 Interface connecto...

Страница 3: ...speed High speed mode 180dpi x 180dpi 37 8lines second maximum 1 6inch feed at 24V 20 Approximately 200mm sec maximum approximately 6 3inchs sec maximum NOTE Speeds are switched depending on the appl...

Страница 4: ...203dpi dpi dots per 25 4mm 1 3 Printing direction Unidirectional With friction feed 4 Paper width 82 5mm 3 25 80mm 3 15 60mm 2 36 58mm 2 28 82 5mm 3 25 80mm 3 15 60mm 2 36 58mm 2 28 5 Maximum printabl...

Страница 5: ...a command to stop printing upon detection of a paper near end 1 5 Paper Specification 1 Paper type Specified thermal paper 2 Form Paper roll 3 Paper width 82 5mm paper width model 82 0 5mm 3 23 0 02 8...

Страница 6: ...al Manual 6 1 6 Printable Area EPSON Emulation 6 8mm 0 141mm 82 5mm 3 25 paper width model 82 0 5mm 3mm 512 dots 72 2mm dot 1 512 4 3mm 80 mm 3 15 paper width model 0 141mm 79 5 0 5mm 3mm 512 dots 72...

Страница 7: ...ual 7 59 5 0 5mm 60mm 2 36 paper width model 0 141mm 3mm 2 4mm 384 dots 54 1mm dot 1 384 57 5 0 5mm 0 141mm 3mm 3 7mm 360 dots 58mm 2 28 paper width model 50 8mm dot 1 360 Figure 1 6 1 Printable Area...

Страница 8: ...8mm 2 28 paper width model 0 125mm 2 65mm 420 dots 2 35mm 52 5mm dot 1 420 Figure 1 6 2 Printable Area for STAR Emulation for Default Setting STAR Emulation when the paper width is changed 82 0 5mm 82...

Страница 9: ...for STAR Emulation When the Paper Width Is Changed NOTE The numeric values used here are center values to be used in designing The printable area may be out of alignment by 2 mm maximum to the left or...

Страница 10: ...l the numeric values are typical Appro 12 6 Paper feed direction Appro 30 5 Figure 1 7 1 Printing and Cutting Positions NOTE Numeric values used here are center values to be used in designing The valu...

Страница 11: ...3 Safety Standard UL 60950 1 2 North America EMI FCC Part 15 Class A Safety Standards UL60950 1 1 11 Reliability 1 MCBF 60 million lines based on an average printing rate of 12 5 with paper thickness...

Страница 12: ...turned on including reset using the interface and when the printer is ready to receive data During the self test When the cover is open During paper feeding using the paper feed button When the printe...

Страница 13: ...RXD TXD DTR DSR FG FG SG SG DETAILS Set the handshaking so that the transmit data can be received Transmit data to the printer after turning on the power and initializing the printer Figure 2 1 Serial...

Страница 14: ...gnal Data received 2 9 DATA0 7 Input Data bit Transmitted 0 7 10 ACK Output Data receiving competed 11 BUSY Output Impossible to printer data receiving 12 PE Output Paper empty 13 SELECT Output Printe...

Страница 15: ...0 Data Setup Time tSetup 750 STROBE Pulse Width tSTB 750 READY Cycle Idle Time tReady 0 BUSY Output Delay Time tBUSY 0 500 Data Processing Time tReply 0 ACKNLG Pulse Width tACK 500 10us BUSY Release T...

Страница 16: ...RP 330 Technical Manual 16 2 1 9 Interface Connector...

Страница 17: ...ut signal by using the DLE EOT GS a or GS r commands 1 Pin assignments Refer to Table 2 2 2 2 Connector model Printer side DAEEUN DEK 623PCB 6 B or Equivalent User side 6 position 6 contact RJ12teleph...

Страница 18: ...al level connector pin 3 L 0 to 0 8V H 3 to 5V Figure 3 3 Drawer Circuitry NOTE 1 Use a shielded cable for the drawer connector cable 2 Two driver transistors cannot be energized simultaneously 3 The...

Страница 19: ...ESC G Select double strike mode 25 ESC J Print end feed paper using minimum units 26 ESC L Select page mode 27 ESC M Select character font 28 ESC R Select international character set 29 ESC S Select...

Страница 20: ...in page mode 57 GS Execute macro Not avalible 58 GS a Enable disable Automatic Status Back ASB 59 GS b Turn smooting mode on off Not avalible 60 GS f Select font for HRI characters 61 GS h Set bar co...

Страница 21: ...by B is binary Print Commands The WTP series supports the following commands for printing characters and advancing paper HT Name Horizontal tab Format ASCII HT Hex 09 Decimal 9 Description Moves the...

Страница 22: ...hen automatic line feed is disabled this command is ignored Details Sets the print starting position to the beginning of the line The automatic line feed is ignored Reference LF FF Name Print and retu...

Страница 23: ...2 Transmit off line status n 3 Transmit error status n 4 Transmit paper roll sensor status Details The printer transmits the current status Each status is represented by one byte data The printer tra...

Страница 24: ...2 Off 00 0 Cover is closed On 04 4 Cover is open 3 Off 00 0 Paper is not being fed by using the FEED button On 08 8 Paper is being fed by the FEED button 4 On 10 16 Not used Fixed to On 5 Off 00 0 No...

Страница 25: ...ests as follows n Request 1 Recover from an error and restart printing from the line where the error occurred 2 Recover from an error aft clearing the receive and print buffers Details When the printe...

Страница 26: ...g it This command is executed even when the printer is off line the receive buffer is full or there is an error status If print data includes the same character strings as this command the printer per...

Страница 27: ...does not affect the current right side spacing The GS P command can change the horizontal and vertical motion unit However the value cannot be less than the minimum horizontal movement amount and it m...

Страница 28: ...width modes are selected quadruple size characters are printed The printer can underline all characters but can not underline the space set by HT or 90 clockwise rotated characters The thickness of th...

Страница 29: ...e the horizontal motion unit is used In page mode the horizontal or vertical motion unit differs depending on the starting position of the printable area as follows 1 When the starting position is set...

Страница 30: ...multiple characters for consecutive character codes If only one character is desired use c1 c2 d is the dot data for the characters The dot pattern is in the horizontal direction from the left side A...

Страница 31: ...RP 330 Technical Manual 31...

Страница 32: ...RP 330 Technical Manual 32...

Страница 33: ...nH x 256 If the bit image data input exceeds the number of dots to be printed on a line the excess data is ignored d indicates the bit image data Set a corresponding bit of 1 to print a dot or to 0 t...

Страница 34: ...nverted characters When underline mode id turned off by setting the value of n to 0 or 48 the following data is not underlined and the underline thickness set before the mode is turned off does not ch...

Страница 35: ...ction as follows depending on the starting position of the printable area When the starting position is set to the upper left or lower right to the printable area using ESC T the vertical motion unit...

Страница 36: ...d This command deletes the pattern defined for the specified code in the font selected by ESC If a user defined character has not been defined for the specified character code the printer ignores this...

Страница 37: ...twice the width of normal characters This command cancels the previous horizontal tab settings When setting n 8 the print position is moved to column 9 by sending HT Up to 32 tab positions k 32 can b...

Страница 38: ...mmand and ESC Turn on and off emphasized mode in the same way Be careful when this command is used with ESC Default n 0 Reference ESC ESC G n Name Turn on off double strike mode Format ASCII ESC G n H...

Страница 39: ...orizontal motion unit However the value cannot be less than the minimum vertical movement and it must be in even units of the minimum vertical movement amount In standard mode the printer uses the ver...

Страница 40: ...lues can be set independently in standard mode and page mode to those for page mode Set right side character spacing ESC SP FS S Select default line spacing ESC 2 ESC3 Only valve settings is possible...

Страница 41: ...the character fonts However the setting of the last received command is effective Reference ESC ESC R n Name Select an international character set Format ASCII ESC R n Hex 1B 52 n Decimal 27 82 n Ran...

Страница 42: ...ndependently in standard mode and page mode to those for standard mode Set right side character spacing ESC SP FS S Select default line spacing ESC 2 ESC 3 The following commands are enabled only to s...

Страница 43: ...d does not affect printing in standard mode This command sets the position where data is buffered within the printing area set by ESC W Parameters for horizontal or vertical motion units x or y differ...

Страница 44: ...clockwise rotation mode 1 49 Turns on 90 clockwise rotation mode Details When underline mode is turned on the printer does not underline 90 clockwise rotated characters Double width and double height...

Страница 45: ...er stops command processing and processes the following data as normal data This command sets the position where data is buffered to the position specified by ESC T within the printing area If horizon...

Страница 46: ...left the negative direction use the complement of 65536 When pitch n is specified to the left nL nH x 256 65536 n The print starting position moves from the current position to n x horizontal or vert...

Страница 47: ...ing 2 50 Right justification Details The command is enabled only when processed at the beginning of the line in standard mode If this command is input in page mode the printer performs only internal f...

Страница 48: ...RP 330 Technical Manual 48...

Страница 49: ...ensor disabled On 08 8 Paper roll end sensor enabled 4 7 Undefined Details It is possible to select multiple sensors to output signals Then if any of the sensors detects a paper end the paper end sign...

Страница 50: ...d is detected by the paper roll sensor the printer goes off line after printing stops When either bit 0 or 1 is on the printer selects the paper roll near end sensor for the paper sensor to stop print...

Страница 51: ...mm 40 If the paper feed amount n x line spacing of more than 1016 mm 40 is specified the printer feeds the paper only 1016 mm 40 Reference ESC 2 ESC 3 ESC p m t1 t2 Name Generate pulse Format ASCII ES...

Страница 52: ...cter code table n Page 0 PC437 U S A Standard Europe 1 Katakana 2 PC850 Multilingual 3 PC860 Portuguese 4 PC863 Canadian French 5 PC865 Nordic 17 PC866 Cyrillic 2 255 Space page Default n 0 Reference...

Страница 53: ...f When the LSB of n is 1 upside down printing mode is turned on Details Only the lowest bit of n is valid This command is enabled only when processed at the beginning of a line in standard mode When t...

Страница 54: ...n defined In standard mode this command is effective only when there is no data in the print buffer In page mode the command is not effective This command is not affected by print modes emphasized dou...

Страница 55: ...yL 255 0 yL 1 when 1 yL yH 256 288 0 d 255 k xL xH 256 yL yH 256 8 Total defined data area 2M bits 256K bytes Description Define the NV bit image specified by n Details n specifies the number of the...

Страница 56: ...e NV bit image that haven t been defined are disabled undefined but any NV bit images before that are enabled The d indicates the definition data In data d a 1 bit specifies a dot to be printed and a...

Страница 57: ...rmed by the FS q command Notes Frequent write command execution may cause damage the NV memory Therefore it is recommended to write the NV memory 10 times or less a day The printer performs a hardware...

Страница 58: ...0 80 6 05 5 6 60 96 7 06 6 7 70 112 8 07 7 8 Details This command is effective for all characters except for HRI characters If n is outside of the defined range this command is ignored In standard mod...

Страница 59: ...rtical direction When the starting position is set to the upper right or lower left this command sets the absolute position in the horizontal direction The horizontal and vertical motion units are spe...

Страница 60: ...l 29 47 m Range 0 m 3 48 m 51 Description Prints a downloaded bit image using the mode specified by m m selects a mode from the table below m Mode Vertical Dot Density Horizontal Dot Density 0 48 Norm...

Страница 61: ...Macro definition ends when this command is received during macro definition When GS is received during macro definition the printer ends macro definition and clears the definition Macro is not defined...

Страница 62: ...ck reverse mode is selected Default n 0 GS H n Name Select printing position of HRI characters Format ASCII GS H n Hex 1D 48 n Decimal 29 72 n Range 0 n 3 48 n 51 Description Selects the printing posi...

Страница 63: ...pectively When x and u are set to 0 the default setting of each value is used x 180 y 360 Details The horizontal direction is perpendicular to the paper feed direction and the vertical direction is th...

Страница 64: ...n x vertical motion unit and cuts the paper partially one point center uncut Details for and This command is effective only processed at the beginning of a line Note for Only the partial cut is avail...

Страница 65: ...h left margin is used The horizontal and vertical motion units are specified by GS P Changing the horizontal and vertical motion units does not affect the current left margin The horizontal motion uni...

Страница 66: ...de 1 dot NV bit image FS p Double width mode or Quadruple mode 2 dots Normal mode or Double height mode 1 dot Raster bit image GS v 0 Double width mode or Quadruple mode 2 dots Normal mode or Double h...

Страница 67: ...r 255 0 t 255 m 0 1 Description Executes a macro r specifies the number of times to execute the macro t specifies the waiting time for executing the macro m specifies macro executing mode When the LSB...

Страница 68: ...abled as a default the printer transmits the status when the printer data reception and transmission is possible at the first time from when the printer is turned on The following four status bytes ar...

Страница 69: ...error due to a circuit failure e g wire break occurs it is impossible to recover Bit 6 When printing is stopped due to high print head temperature until the print head temperature drops sufficiently o...

Страница 70: ...ts the font from the following table n Font 0 48 Font A 12 x 24 1 49 Font B 9 x 24 Details HRI means Human Readable Interpretation HRI characters are printed of the position specified by GS H Default...

Страница 71: ...r 48 d 57 71 CODABAR 1 n 255 48 d 57 65 d 68 36 43 45 46 47 58 72 CODE93 1 n 255 0 d 127 73 CODE128 2 n 255 0 d 127 Details for This command ends with a NUL code When the bar code system used is UPC A...

Страница 72: ...bar code If d is out of the specified rang the printer stops command processing and processes the following data as normal data In this case the data butter position does not change If bar code width...

Страница 73: ...123 67 FNC1 1 7B 31 123 49 FNC2 2 7B 32 123 50 FNC3 3 7B 33 123 51 FNC4 4 7B 34 123 52 7B 7B 123 123 Example Example data for printing No 123456 In this example the printer first prints No using CODE...

Страница 74: ...n XON XOFF control is selected the printer transmits only 1 byte without confirming the condition of the DSR signal This command is executed when the data in the receive buffer is developed Therefore...

Страница 75: ...256 x yL yH x 256 k 0 Description Selects Raster bit image mode The value of m selects the mode as follows m Mode Vertical Dot Density Horizontal Dot Density 0 48 Normal 180 dpi 180 dpi 1 49 Double w...

Страница 76: ...ESC a Select justification setting is also effective on raster bit image When this command is received during macro definition the printer ends macro definition and begins performing this command The...

Страница 77: ...n Hex 1D 28 6B 03 00 31 43 n Decimal 29 40 107 3 0 49 67 n Range pL pH 256 3 pL 3 pH 0 cn 49 fn 67 Description Sets the size of the module for QR Code to n dots GS k pL pH cn fn n Name Select the QR C...

Страница 78: ...symbol data in the symbol storage area Format ASCII GS k pL pH cn fn m Hex 1D 28 6B 03 00 31 51 m Decimal 29 40 107 3 0 49 81 m Range pL pH 256 3 pL 3 pH 0 cn 49 fn 81 m 48 Description Encodes and pri...

Страница 79: ...sing GS k pL pH cn fn n fn 67 Name Sets the module width of one PDF417 symbol to n dots Format ASCII GS k pL pH cn fn n Hex 1D 28 6B 03 00 30 43 n Decimal 29 40 107 3 0 48 67 n Range pL pH 256 3 pL 3...

Страница 80: ...7 symbol storage area Format ASCII GS k pL pH cn fn m d1 dk Hex 1D 28 6B pL 00 30 50 m d1 dk Decimal 29 40 107 pL 0 48 80 m d1 dk Range 4 pL pH 256 65535 0 pL 255 0 pH 255 cn 48 fn 80 m 48 0 d 255 k p...

Страница 81: ...1B 69 Decimal 27 105 Description When this command is received paper is cut only when the auto cutter is loaded ESC m Name Execute paper partial cut Format ASCII ESC m Hex 1B 6D Decimal 27 109 Descrip...

Отзывы: