manualshive.com logo in svg
background image

Содержание RPT008

Страница 1: ......

Страница 2: ...HT Name Format ASCII HT Hex 09 Decimal 9 Description Moves the print position to the next horizontal tab position Details This command is ignored unless the next horizontal tab position has been set If the next horizontal tab position exceeds the printing area the printer sets the printing position to Printing area width 1 Horizontal tab positions are set with ESC D If this command is received whe...

Страница 3: ...in page mode Format ASCII CAN Hex 18 Decimal 24 Description In page mode deletes all the print data in the current printable area Details This command is enabled only in page mode If data that existed in the previously specified printing area also exists in the currently specified printing area it is deleted Reference ESC L ESC W Name Real time status transmission Format ASCII DLE EOT n Hex 10 04 ...

Страница 4: ...0 1 0 1 1 0 Hex 00 02 00 04 00 08 10 00 Decimal 0 2 0 4 0 8 16 00 Function Not used Fixed to Off Not used Fixed to On One or two cash drawer open Both of two cash drawer closed On line Off line Not used Fixed to On Undefined Not used Fixed to Off n 2 Off line Status n 1 Printer Status Bit 0 1 2 3 4 5 6 7 Off On 0 1 0 1 0 1 1 0 1 0 1 0 Hex 00 02 00 04 00 08 10 00 20 00 40 00 Decimal 0 2 0 4 0 8 16 ...

Страница 5: ...so transmitted whenever the data sequence of 10 H 05 H n 1 n 2 is received Example In ESC m nL nH dk d1 10 H d2 05 H d3 01 H This command should not be contained within another command that consists of two or more bytes Example If you attempt to transmit ESC 3 n to the printer but DTR DSR for the host computer goes to MARK before n is transmitted and DLE ENQ 2 interrupts before n is received the c...

Страница 6: ... values for ESC T and ESC W and the position for buffering character data Reference FF ESC L ESC S ESC SP n Name Set right side character spacing Format ASCII ESC SP n Hex 1B 20 n Decimal 27 32 n Range 0 n 255 Description Sets the character spacing for the right side of the character to n horizontal or vertical motion units Details The right side character spacing for double width mode is twice th...

Страница 7: ...defined Undefined Emphasized mode not selected Emphasized mode selected Double height mode not selected Double height mode selected Double width mode not selected Double width mode selected Undefined Underline mode not selected Underline mode selected ESC nL nH Name Set absolute print position Format ASCII ESC nL nH Hex 1B 24 nL nH Decimal 27 36 nL nH Range 0 nL 255 0 nH 255 Description Sets the d...

Страница 8: ...pecifies the number of dots in the horizontal direction Details The allowable character code range is from ASCII code 20 H to 7E H 96 characters It is possible to define 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 Any remaining dots on the right ...

Страница 9: ...dot d34 d35 d36 MSB LSB 9dot d1 d4 d7 d2 d5 d3 d6 17dot d34 d35 d36 MSB LSB When font B 9 17 is selected d1 d2 03 H d3 00 H OF H d4 d5 80 H d6 00 H 30 H d4 d5 40 H d6 20 H 40 H d1 d2 FF H d3 80 H 1F H d4 d5 08 H d6 00 H 08 H d4 d5 04 H d6 00 H 10 H ...

Страница 10: ...erformed on the line in question but the printing cannot exceed the maximum printable area The width of the printing area is extended to the right to accommodate the amount of data If step does not provide sufficient width for the data the left margin is reduced to accommodate the data After printing a bit image the printer returns to normal data processing mode This command is not affected by pri...

Страница 11: ... 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 change The default underline thickness is 1 dot Changing the character size does not affect the current underline thickness Underline mode can also be turned on or off by using ESC Note however that the last received command is effective This command does not affect th...

Страница 12: ...paper feed amount is 1016 mm 40 inches Even if a paper feed amount of more than 1016 mm 40 inches is set the printer feeds the paper only 1016 mm 40 inches Default Line spacing equivalent to approximately 4 23mm 1 6 inches Reference ESC 2 GS P ESC n Name Set peripheral device Format ASCII ESC n Hex 1B 3D n Decimal 27 61 n Range 1 n 255 Description Selects device to which host computer sends data u...

Страница 13: ...th 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 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 finishe...

Страница 14: ...arting position of the printable area When the starting position is set to the upper left or lower right of the printable area using ESC T the vertical motion unit y is used When the starting position is set to the upper right or lower left of the print able area using ESC T the horizontal motion unit x is used The maximum line spacing is 1016mm 40 inches When the setting value exceeds the maximum...

Страница 15: ...s double strike mode on or off When the LSB of n is 0 double strike mode is turned off When the LSB of n is 1 double strike mode is turned on Details Only the lowest bit of n is enabled Printer output is the same in double strike mode and in emphasized mode Default n 0 Reference ESC E ESC M n Name Select character font Format ASCII ESC M n Hex 1B 4D n Decimal 27 77 n Range n 0 1 48 49 Description ...

Страница 16: ... Set right side character spacing ESC SP FS S Select default line spacing ESC 2 ESC 3 The following commands are enabled only to set in standard mode Set printing area in page mode ESC W Select print direction in page mode ESC T The following commands are ignored in standard mode Set absolute vertical print position in page mode GS Set relative vertical print position in page mode GS Standard mode...

Страница 17: ...rence ESC ESC n 0 48 1 49 Function Turns off 90 clockwise rotation mode Turns on 90 clockwise rotation mode ESC W xL xH yL yH dxL dxH dyL dyH Name Set printing area in page mode Format ASC II ESC W xL xH yL yH dxL dxH dyL dyH Hex 1B 57 xL xH yL yH dxL dxH dyL dyH Decimal 27 87 xL xH yL yH dxL dxH dyL dyH Range 0 xL xH yL yH dxL dxH dyL dyH 255 except dxL dxH 0 or dyL dyH 0 Description The horizont...

Страница 18: ...Decimal 27 92 nL nH Range 0 nL 255 0 nH 255 Description Sets the print starting position based on the current position by using the horizontal or vertical motion unit This command sets the distance from the current position to nL nH 256 horizontal or vertical motion unit Details Any setting that exceeds the printable area is ignored When pitch N is specified to the right nL nH 256 N When pitch N i...

Страница 19: ... paper end signals Each bit of n is used as follows Details It is possible to select multiple sensors to output signals Then if any of the sensors detects a paper end the paper end signal is output The command is available only with a parallel interface and is ignored with a serial interface Sensor is switched when executing this command The paper end signal switching be delayed depending on the r...

Страница 20: ...B 63 35 n Decimal 27 99 53 n Range 0 n 255 Description Enables or disables the panel buttons When the LSB of n is 0 the panel buttons are enabled When the LSB of n is 1 the panel buttons are disabled Details Only the lowest bit of n is valid When the panel buttons are disabled none of them are usable when the printer cover is closed In this printer the panel buttons are the FEED button In the macr...

Страница 21: ...ut connector pin 5 ESC t n Name Select character code table Format ASCII ESC t n Hex 1B 74 n Decimal 27 116 n Range 0 n 10 16 n 21 Description Selects a page n from the character code table Default n 0 n 0 1 2 3 4 5 6 7 8 9 10 16 17 18 19 20 21 Page PC437 U S A Standard Europe Katakana PC850 Multilingual PC860 Portuguese PC863 Canadian French PC865 Nodic West Europe Greek Hebrew PC755 East Europe ...

Страница 22: ... is not effective This command is not affected by print modes emphasized double strike underline character size white black reve rse printing or 90 rotated characters etc except upside down printing mode If the printing area width set by GS L and GS W for the NV bit image is less than one vertical line the following rocess ing is performed only on the line in question However in NV bit image mode ...

Страница 23: ...t images when any of the parameters xL xH yL yH is out of the definition range this comm and is disabled In groups of NV bit images other than the first one when the printer processes xL xH yL yH out of the defined range it stops processing this command and starts writing into the NV images At this time NV bit images that haven t been defined are disabled undefined but any NV bit images before tha...

Страница 24: ...Format ASCII GS N Hex 1D 21 n Decimal 29 33 n Range 0 n 255 1 vertical number of times 8 1 horizontal number of times 8 Description Selects the character height using bits 0 to 2 and selects the character width using bits 4 to 7 as follows Table 1 Table 2 Character Width Selection Bit 0 3 4 7 Off On Hex Decimal Function Character height selection See Table 2 Character width selection See Table 1 H...

Страница 25: ...osition is that specified by ESC T This command operates as follows depending on the starting position of the printing area specified by ESC T GWhen the starting position is set to the upper left or lower right this command sets the absolute position in the vertical direction When the starting position is set to the upper right or lower left this command sets the absolute position in the horizonta...

Страница 26: ...table area the excess data is not printed Refer to Figure 3 12 3 for the downloaded bit image development position in page mode If the printing area width set by GS L and GS W is less than one line in vertical the following processing is performed only on the line in question The printing area width is extended to the right up to one line in vertical In this case printing does not exceed the print...

Страница 27: ... n is 0 white black reverse mode is turned off When the LSB of n is 1 white black reverse mode is turned on Details Only the lowest bit of n is valid This command is available for built in characters and user defined characters When white black reverse printing mode is on it also applied to character spacing set by ESC SP This command does not affect bit image user defined bit image bar code HRI c...

Страница 28: ...nits to approximately 25 4 x mm 1 x inches and approximately 25 4 y mm 1 y inches respectively When x and y are set to 0 the default setting of each value is used Details The horizontal direction is perpendicular to the paper feed direction and the vertical direction is the paper feed direction In standard mode the following commands use x or y regardless of character rotation upside down or 90 cl...

Страница 29: ...nge 0 nL 255 0 nH 255 Description Sets the printing area width to the area specified by nL and nH The printing area width is set to nL nH 256 horizontal motion unit inches Details This command is effective only processed at the beginning of the line In page mode the printer performs only internal flag operations This command does not affect printing in page mode If the left margin printing area wi...

Страница 30: ... This command sets the distance from the current position to nL nH 256 vertical or horizontal motion unit Details This command is ignored unless page mode is selected When pitch N is specified to the movement downward nL nH 256 N When pitch N is specified to the movement upward the negative direction use the complement of 65536 When pitch N is specified to the movement upward nL nH 256 65536 N Any...

Страница 31: ...les ASB and specifies the status items to include using n as follows Second byte printer information Third byte paper sensor information Four byte paper sensor information Bit 0 1 2 3 4 5 6 7 Off On Off Off Off Off Off On On On Hex 00 00 04 10 00 00 40 00 Decimal 0 0 4 0 Status for ABS Not used Fixed to off Drawer kick out connector pin 3 is LOW online Not used Fixed to On Cover is closed Paper is...

Страница 32: ...ts in the vertical direction Default n 162 Reference GS k GS k m d1 dk NUL GS k m n d1 dn Name Print bar code Format ASCII GS k m d1 dk NUL Hex 1D 6B m d1 dk 00 Decimal 29 107 m d1 dk 0 ASCII GS k m n d1 dn Hex 1D 6B m n d1 dn Decimal 29 107 m n d1 dn Range 0 m 6 k and d depends on the bar code system used 65 m 73 n and d depends on the bar code system used Description Selects a bar code system an...

Страница 33: ...ses the following data as normal data Details in standard mode If d is outside of the specified range the printer only feeds paper and processes the following data as normal data If the horizontal size exceeds printing area the printer only feeds the paper This command feeds as much paper as is required to print the bar code regardless of the line spacing specified by ESC 2 or ESC 3 This command i...

Страница 34: ...character set selection data HRI characters function character is not printed Control characters 00 H to 1F H and 7F H of HRI characters are not printed Other must ensure clearance around barcode Gap varies by type of bar code Reference GS H GS f GS h GS w GS r n Name Transmit status Format ASCII GS r n Hex 1D 72 n Decimal 29 114 n Range n 1 2 49 50 Description Transmits the status specified by n ...

Страница 35: ...width the printing area is extended to the minimum width only on the line in question The minimum width means 1 dot in normal m 0 48 and double height m 2 50 2 dots in double width m 1 49 and quadruple m 3 51 modes Data outside the printing area is read in and discarded on a dot by dot basis The position at which subsequent characters are to be printed for raster bit image is specified by HT Horiz...

Страница 36: ...uding right and left side character spacing quadruple size characters are printed The printer can underline all characters including right and left side character spacing but cannot underline the space set by HT and 90 clockwise rotated characters The thickness of the underline is that specified by FS regardless of the character size When some of the characters in a line are double or more height ...

Страница 37: ...ze changes It is possible to turn underline mode on or off using FS and the last received command is effective Default n 0 Reference FS n 0 48 1 49 Function Turns off underline mode for Kanji characters Turns on underline mode for Kanji characters 1 dot thick Turns on underline mode for Kanji characters 2 dot thick 2 50 FS Name Cancel Kanji character mode Format ASCII FS Hex 1C 2E Decimal 28 46 De...

Страница 38: ...ion units Details When double width mode is set the left and right side character spacing is twice the normal value The horizontal and vertical motion units are set by GS P The previously specified character spacing does not change even if the horizontal or vertical motion unit is changed using GS P The value cannot be less than the minimum horizontal movement amount and must be in even units of t...

Страница 39: ...size When some of the characters on a line are different in height all the characters on the line are aligned at the baseline FS or GS can also select and cancel quadruple size mode by selecting double height and double width modes and the setting of the last received command is effective Default n 0 Reference FS GS The printer features a command prompt ESC B n t Name Printer to print single Beepe...

Страница 40: ...ng of characters A B or C function character FNC1 FNC2 FNC3 FNC4 the usefulness of these features characters depends on the application software In the character set C only FNC1 available X 2 character set characters A set of characters Characters Send data Hex Decimal NUL L SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US SP Characters...

Страница 41: ... N O P Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 p Q r S t u v W X Y z DEL FNC 1 FNC 2 FNC 3 FNC 4 SHIF T COD EA COD EC 70 71 72 73 74 75 ...

Страница 42: ...9 123 65 123 66 Appendix Y print mode and its conversion Y 1 Summary printer has two operating modes standard mode and page mode In standard mode as long as the line printer buffer is full or received Print or feed command the printer will print the paper in hand In page mode all of the print data and feed commands are in the specified memory space the printer does not perform any operation is sto...

Страница 43: ...rint data downloaded bitmap or barcode data to its current posit ion as the lower left corner Figure B 3 in point B aligned with the baseline 3 Upon receiving a command containing feed eg Before LF or ESC J if the print data including ch aracter spacing has exceeded the print area the printer automatically feeds the line how much feed determined by the ESC line height 2 and ESC 3 settings while th...

Страница 44: ... B dot bitmap bitmaps User defined Barcode base line HRI Character ESC m nL NH GS xy B dot 24 3 x0 y0 A dot base line Data processing of direction Printing chea unit Dot dx dy base line 27 B dot 24 3 3 3 xx8 6 8 48 User defined bitmaps GS xy B dot Storage location map Y 3 print data Storage location map Y 3 download bitmap Programmer Manual ...

Отзывы: