Epson RP-U420 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Epson RP-U420, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Epson RP-U420 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Epson RP-U420. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Epson RP-U420 should contain:
- informations concerning technical data of Epson RP-U420
- name of the manufacturer and a year of construction of the Epson RP-U420 item
- rules of operation, control and maintenance of the Epson RP-U420 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Epson RP-U420 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Epson RP-U420, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Epson service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Epson RP-U420.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Epson RP-U420 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS EXIT EXIT EXIT RP-U420 Application Programming Guide CLICK HERE for “About This Manual” CLICK HERE for “Confidentiality Agreement” EPSON EPSON CONFIDENTIAL[...]

  • Page 2

    ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS RP-U420 Application P r ogramming Guide V ersion 1 .0 Seiko Epson Corporation System Device Division Notice: The contents of this manual are subject to change without notice EPSON and ESC/POS ar e registered trademarks of Seiko Epson Corporation. Acr[...]

  • Page 3

    ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS ESC / POS BY USING THIS DOCUMENT , YOU AGREE TO ABIDE BY THE TERMS OF THIS AGREEMENT . PLEASE RETURN THIS DOCUMENT IMMEDIA TEL Y IF YOU DO NOT AGREE TO THESE TERMS. This document contains confidential, proprietary information of Seiko Epson Corporation or its [...]

  • Page 4

    CONFIDENTIAL RP-U420 Usable application programs and tips Ver. 1.0 p. 4 ■ ■ ■ more ■ ■ ■ more Usable applicat ion programs and tips System Processing This example illustrates ESC/POS command functions and printing results. Item 2-1 shows a combination of receipt and journal printing. Item 2-2 shows processing to issue a T aiwan receipt.[...]

  • Page 5

    CONFIDENTIAL RP-U420 Usable application programs and tips Ver. 1.0 p. 5 ■ ■ ■ more ■ ■ ■ more Print Sample Receipt Journal Stamp July 6, 2000, 10: 30 ← Date and Time Item A Item B ← Cutting position July 6, 2000, 10 :30 #12345 RP-U420 420 PS-170 170 TOT AL 590 RP-U420 420 PS-170 170 TOT AL 590 PA I D 6 0 0 CHANGE 10 Item A #12345[...]

  • Page 6

    CONFIDENTIAL RP-U420 Usable application programs and tips Ver. 1.0 p. 6 ■ ■ ■ more ■ ■ ■ more System Processing Procedures Step 4 is necessary for effective use of paper . Refer to the tips section for details. Procedure Commands used Description 1. Initialization ESC @ Executes initialization. 2. Print date and time ESC c 0 , ESC z RS,[...]

  • Page 7

    CONFIDENTIAL RP-U420 Usable application programs and tips Ver. 1.0 p. 7 ■ ■ ■ more ■ ■ ■ more Programming Example PRINT #1, CHR$(&H1B);"@"; ← Initializes the printer PRINT #1, CHR$(&H1B);"c0";CHR$(3); ← Selects a print sheet PRINT #1, CHR$(&H1B);"z";CHR$(0); ← Cancels parallel printing on [...]

  • Page 8

    CONFIDENTIAL RP-U420 Usable application programs and tips Ver. 1.0 p. 8 ■ ■ ■ more ■ ■ ■ more 2-2 Issuing Tai wan Receipt The example shows procedures and a program sample for is suing a T aiwan receipt, which has black marks. At first you need to set DIP Switch 1-8 (Printer mode selection) to On (T aiwan mode); then turn on the power .[...]

  • Page 9

    CONFIDENTIAL RP-U420 Usable application programs and tips Ver. 1.0 p. 9 ■ ■ ■ more ■ ■ ■ more System Processing Procedures Step 3 is necessary to execute a stamp at the correct position. Refer to the tips section for details. Procedure Commands used Description 1. Initialization ESC @ Executes initialization. 2. Print details ESC c 0 , [...]

  • Page 10

    CONFIDENTIAL RP-U420 Usable application programs and tips Ver. 1.0 p. 10 ■ ■ ■ more ■ ■ ■ more Programming Example PRINT #1, CHR$(&H1B);"@"; ← Initializes the printer PRINT #1, CHR$(&H1B);"c0";CHR$(3); ← Selects a print sheet PRINT #1, CHR$(&H1B);"z";CHR$(1); ← Selects parallel printing on[...]

  • Page 11

    CONFIDENTIAL RP-U420 Usable application programs and tips Ver. 1.0 p. 11 ■ ■ ■ more ■ ■ ■ more Tips RP-U420 has a stamp function. ESC o executes a stamp once. When printing a stamp, you need to set line spacing, depending on the position of each mechanism. If you want to print characters just below the stamp after executing it, you need[...]

  • Page 12

    CONFIDENTIAL RP-U420 Usable application programs and tips Ver. 1.0 p. 12 However , if you do the procedures above at the beginning of a receipt issue transaction, there will be space of about 14 lines above the stamp. As the program examples in this section show , if printing of a stamp for the second receipt is executed during the receipt printing[...]

  • Page 13

    CONFIDENTIAL RP-U420 Definitions Ver. 1.0 p. 13 ■ ■ ■ more ■ ■ ■ more Definitions (1) Normal commands Normal commands are all the commands except real-time commands. The normal commands are stored in the receive buffer temporarily and then processed sequentially. (2) Real-time commands Real-time commands are the commands that consist of[...]

  • Page 14

    CONFIDENTIAL RP-U420 Definitions Ver. 1.0 p. 14 (11) Horizontal/vertical direction Horizontal direction is the direction which is perpendicular to the paper feed direction. Vertical direction is the paper feed direction. (12) Baseline The baseline for character sets that are 9 dots high (for example, 7 × 9 and 9 × 9) is the invisible line marking[...]

  • Page 15

    CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 15 ■ ■ ■ more ■ ■ ■ more Character code table s SP in a table represents space. See Using the character code tables for information on how to read these tables. Page 0 (PC437: U.S.A., Standard Europe) (International character set: U.S.A.) CHARACTER CODE TABLES[...]

  • Page 16

    CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 16 ■ ■ ■ more ■ ■ ■ more Page 1 (Katakana)[...]

  • Page 17

    CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 17 ■ ■ ■ more ■ ■ ■ more Page 2 (PC850: Multilingual)[...]

  • Page 18

    CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 18 ■ ■ ■ more ■ ■ ■ more Page 3 (PC860: Portuguese)[...]

  • Page 19

    CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 19 ■ ■ ■ more ■ ■ ■ more Page 4 (PC863: Canadian-French)[...]

  • Page 20

    CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 20 ■ ■ ■ more ■ ■ ■ more Page 5 (PC865: Nordic)[...]

  • Page 21

    CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 21 ■ ■ ■ more ■ ■ ■ more Page 16 (WPC1252)[...]

  • Page 22

    CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 22 ■ ■ ■ more ■ ■ ■ more Page 17 (PC866: Cyrillic #2)[...]

  • Page 23

    CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 23 ■ ■ ■ more ■ ■ ■ more Page 18 (PC862: Latin2)[...]

  • Page 24

    CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 24 ■ ■ ■ more ■ ■ ■ more Page 19 (PC858: Euro)[...]

  • Page 25

    CONFIDENTIAL RP-U420 Using the character code tables Ver. 1.0 p. 25 Using the character code tables The example below uses Page 0 (PC437) to illustrate the use of the character code tables. Y ou can find the character "A" in Page 0 as follows: The decimal value for the character "A" is 65. Follow its column straight up to find t[...]

  • Page 26

    CONFIDENTIAL RP-U420 RP-U420 supported commands Ver. 1.0 p. 26 ■ ■ ■ more ■ ■ ■ more RP-U420 supported commands Command Classification Name Function type Page LF E XECUTING COMMAND Print and line feed P RINT COMMANDS 28 FF E XECUTING COMMAND Print and feed paper to print starting position P RINT COMMANDS 29 CR E XECUTING COMMAND Print a[...]

  • Page 27

    CONFIDENTIAL RP-U420 RP-U420 supported commands Ver. 1.0 p. 27 ESC c 4 S ETTING COMMAND Select paper sensor(s) to stop printing P APER SENSOR COMMANDS 50 ESC c 5 S ETTING COMMAND Enable/disable panel buttons P ANEL BUTTON COMMAND 51 ESC d E XECUTING COMMAND Print and feed n lines P RINT COMMANDS 52 ESC f S ETTING COMMAND Set validation paper waitin[...]

  • Page 28

    CONFIDENTIAL RP-U420 Print commands LF Ver. 1.0 p. 28 LF E XECUTING COMMAND [Name] Print and line feed [Format] ASCII LF Hex 0A Decimal 10 [Range] None [Default] None [Description] Prints the data in the print buffer and feeds one line, using 4.2 mm {1/6"}. [Notes] This command sets the print position to the beginning of the line. Program Exam[...]

  • Page 29

    CONFIDENTIAL RP-U420 Print commands FF Ver. 1.0 p. 29 FF E XECUTING COMMAND [Name] Print and feed paper to print starting position [Format] ASCII FF Hex 0C Decimal 12 [Range] None [Default] None [Description] When DIP switch 1-7 is OFF (autocutter installed): When receipt is selected as the print sheet, prints the data in the print buf fer and feed[...]

  • Page 30

    CONFIDENTIAL RP-U420 Print commands CR Ver. 1.0 p. 30 CR E XECUTING COMMAND [Name] Print and carriage return [Format] ASCII CR Hex 0D Decimal 13 [Range] None [Default] None [Description] Prints the data in the print buffer and does not feed the paper . [Notes] Sets the print starting position to the beginning of the line. Program Example Print Samp[...]

  • Page 31

    CONFIDENTIAL RP-U420 Print position commands RS Ver. 1.0 p. 31 RS E XECUTING COMMAND [Name] Journal tab [Format] ASCII RS Hex 1E Decimal 30 [Range] None [Default] None [Description] Moves the print starting position to the beginning of the print area for the journal. [Notes] This command is effective when all the following conditions are satisfied [...]

  • Page 32

    CONFIDENTIAL RP-U420 Character commands ESC ! Ver. 1.0 p. 32 ■ ■ ■ more ■ ■ ■ more ESC ! S ETTING COMMAND [Name] Select print mode(s) [Format] ASCII ESC ! n Hex 1B 21 n Decimal 27 33 n [Range] 0 ≤ n ≤ 255 [Default] n = 0 [Description] Selects print mode(s) using n as follows: [Notes] If the underline is added to the characters to be[...]

  • Page 33

    CONFIDENTIAL RP-U420 Character commands ESC ! Ver. 1.0 p. 33 Program Example Print Sample AA: Normal BB, Double-width PRINT #1, CHR$(&H1B);"!";CHR$(0); "AA"; PRINT #1, CHR$(&H1B);"!";CHR$(32); "BB"; CHR$(&HA); PRINT #1, CHR$(&H1B);"!";CHR$(128); "AA"; PRINT #1, CHR$(&H1[...]

  • Page 34

    CONFIDENTIAL RP-U420 Character commands ESC % Ver. 1.0 p. 34 ■ ■ ■ more ■ ■ ■ more ESC % S ETTING COMMAND [Name] Select/cancel user -defined character set [Format] ASCII ESC % n Hex 1B 25 n Decimal 27 37 n [Range] 0 ≤ n ≤ 255 [Default] n = 0 [Description] Selects or cancels the user-defined character set. When the Least Significant [...]

  • Page 35

    CONFIDENTIAL RP-U420 Character commands ESC % Ver. 1.0 p. 35 Program Example Program Example (continued) PRINT #1, CHR$(&H1B);"&";CHR$(2);"AC"; PRINT #1, CHR$(9); FOR i=1 TO 2*9 READ d: PRINT #1, CHR$(d); NEXT i PRINT #1, CHR$(9); FOR i=1 TO 2*9 READ d: PRINT #1, CHR$(d); NEXT i PRINT #1, CHR$(10); FOR i=1 TO 2*10 READ d[...]

  • Page 36

    CONFIDENTIAL RP-U420 Character commands ESC & Ver. 1.0 p. 36 ■ ■ ■ more ■ ■ ■ more ESC & S ETTING COMMAND [Name] Define user -defined characters [Format] ASCII ESC & y c1 c2 [ x1 d1 ... d ( y × x1 )] ... [ xk d1 ... d ( y × xk )] Hex 1B 26 y c1 c2 [ x1 d1 ... d ( y × x1 )] ... [ xk d1 ... d ( y × xk )] Decimal 27 38 y c1[...]

  • Page 37

    CONFIDENTIAL RP-U420 Character commands ESC & Ver. 1.0 p. 37 ■ The defined downloaded characters are cleared in the following circumstances: • When deleted by ESC ? • When ESC @ is executed • When a hardware reset is executed or the power is turned of f ■ No user-defined characters are defined in the initial state. ■ If any user -de[...]

  • Page 38

    CONFIDENTIAL RP-U420 Bit-image commands ESC ✻ Ver. 1.0 p. 38 ■ ■ ■ more ■ ■ ■ more ESC ✻ ✻ ✻ ✻ E XECUTING COMMAND [Name] Select bit-image mode [Format] ASCII ESC ✻ m n L n H d1 ... dk Hex 1B 2A m n L n H d1 ... dk Decimal 27 42 m n L n H d1 ... dk [Range] m = 16, 17 0 ≤ n L ≤ 255 0 ≤ n H ≤ 3 0 ≤ d ≤ 255 k = ( n L[...]

  • Page 39

    CONFIDENTIAL RP-U420 Bit-image commands ESC ✻ Ver. 1.0 p. 39 ■ ■ ■ more ■ ■ ■ more ■ If an adjacent dot is specified for the bit image in double-density mode ( m = 17), the right side of the adjacent dot is not printed. ■ This command is not affected by print modes (double width or underline). ■ After finishing processing the bi[...]

  • Page 40

    CONFIDENTIAL RP-U420 Bit-image commands ESC ✻ Ver. 1.0 p. 40 Program Example Print Sample m=16: GOSUB bitimage9 ← 9-dot single-density m=17: GOSUB bitimage9 ← 9-dot double-density END bitimage9: PRINT #1, CHR$(&H1B);"[";CHR$(m);CHR$(70);CHR$(0); FOR i=1 TO 5 PRINT #1, CHR$(0);CHR$(128);CHR$(1);CHR$(0);CHR$(2);CHR$(0);CHR$(4);CHR[...]

  • Page 41

    CONFIDENTIAL RP-U420 Mechanism control commands ESC < Ver. 1.0 p. 41 ESC < E XECUTING COMMAND [Name] Return home [Format] ASCII ESC < Hex 1B 3C Decimal 27 60 [Range] None [Default] None [Description] Detects the home position again; then moves the print head to the standby position. Program Example PRINT #1, CHR$(&H1B);"<"[...]

  • Page 42

    CONFIDENTIAL RP-U420 Miscellaneous commands ESC = Ver. 1.0 p. 42 ESC = S ETTING COMMAND [Name] Select device [Format] ASCII ESC = n Hex 1B 3D n Decimal 27 61 n [Range] 1 ≤ n ≤ 3 [Default] n = 1 [Description] Selects the device to which the host computer sends data, using n as follows: [Notes] ■ When the printer is disabled, it ignores all dat[...]

  • Page 43

    CONFIDENTIAL RP-U420 Character commands ESC ? Ver. 1.0 p. 43 ESC ? S ETTING COMMAND [Name] Cancel user-defined characters [Format] ASCII ESC ? n Hex 1B 3F n Decimal 27 63 n [Range] 32 ≤ n ≤ 126 [Default] None [Description] Deletes the user -defined character pattern that corresponds to the specified character code. • n specifies the character[...]

  • Page 44

    CONFIDENTIAL RP-U420 Miscellaneous commands ESC @ Ver. 1.0 p. 44 ESC @ E XECUTING COMMAND S ETTING COMMAND [Name] Initialize printer [Format] ASCII ESC @ Hex 1B 40 Decimal 27 64 [Range] None [Default] None [Description] Clears the data in the print buffer and resets the printer mode to the mode that was in ef fect when the power was turned on. [Not[...]

  • Page 45

    CONFIDENTIAL RP-U420 Character commands ESC R Ver. 1.0 p. 45 ■ ■ ■ more ■ ■ ■ more ESC R S ETTING COMMAND [Name] Select an international character set [Format] ASCII ESC R n Hex 1B 52 n Decimal 27 82 n [Range] 0 ≤ n ≤ 13 [Default] n = 0 [Description] Selects an international character set n from the following table: n Country ASCII [...]

  • Page 46

    CONFIDENTIAL RP-U420 Character commands ESC R Ver. 1.0 p. 46 [Notes] ■ If ESC R n is executed, the user -defined characters that are defined with ESC & are canceled. Program Example Print Sample FOR n=0 TO 10 PRINT #1, CHR$(&H1B);"R";CHR$(n); PRINT #1, "# $ @ [ ] ^ ` { ¦ } ~"; CHR$(&HA); NEXT n # $ @[ ]^` { ¦}[...]

  • Page 47

    CONFIDENTIAL RP-U420 Printing paper comma nds ESC c 0 Ver. 1.0 p. 47 ■ ■ ■ more ■ ■ ■ more ESC c 0 E XECUTING COMMAND S ETTING COMMAND [Name] Select paper type(s) for printing [Format] ASCII ESC c 0 n Hex 1B 63 30 n D e c i m a l 2 79 94 8 n [Range] 1 ≤ n ≤ 3, n = 8 [Default] n = 3 [Description] Selects the type of paper for printin[...]

  • Page 48

    CONFIDENTIAL RP-U420 Printing paper comma nds ESC c 0 Ver. 1.0 p. 48 ■ The printer waits for validation insertion until one of the following events occur: • A validation sheet is inserted • The wait time set by ESC f has passed • Hardware reset or power off • When DLE ENQ 3 is executed ■ When validation is set from enabled to disabled, [...]

  • Page 49

    CONFIDENTIAL RP-U420 Paper sensor commands ESC c 3 Ver. 1.0 p. 49 ESC c 3 S ETTING COMMAND [Name] Select paper sensor(s) to output paper-end signals [Format] ASCII ESC c 3 n Hex 1B 63 33 n D e c i m a l 2 79 95 1 n [Range] 0 ≤ n ≤ 255 [Default] n = 0 [Description] Selects the paper sensor(s) to output paper -end signals • Each bit of n is use[...]

  • Page 50

    CONFIDENTIAL RP-U420 Paper sensor commands ESC c 4 Ver. 1.0 p. 50 ESC c 4 S ETTING COMMAND [Name] Select paper sensor(s) to stop printing [Format] ASCII ESC c 4 n Hex 1B 63 34 n D e c i m a l 2 79 95 2 n [Range] 0 ≤ n ≤ 255 [Default] n = 0 [Description] Selects the paper sensor(s) to use to stop printing when a paper end is detected, using n as[...]

  • Page 51

    CONFIDENTIAL RP-U420 Panel button command ESC c 5 Ver. 1.0 p. 51 ESC c 5 S ETTING COMMAND [Name] Enable/disable panel buttons [Format] ASCII ESC c 5 n Hex 1B 63 35 n D e c i m a l 2 79 95 3 n [Range] 0 ≤ n ≤ 255 [Default] n = 0 [Description] Enables or disables the receipt/journal feed buttons. • When the Least Significant Bit (LSB) of n is 0[...]

  • Page 52

    CONFIDENTIAL RP-U420 Print commands ESC d Ver. 1.0 p. 52 ESC d E XECUTING COMMAND [Name] Print and feed n lines [Format] ASCII ESC d n Hex 1B 64 n Decimal 27 100 n [Range] 0 ≤ n ≤ 255 [Default] None [Description] Prints the data in the print buffer and feeds n × 4.23 mm {1/6"}. [Notes] ■ This command sets the print starting position to [...]

  • Page 53

    CONFIDENTIAL RP-U420 Printing paper comma nds ESC f Ver. 1.0 p. 53 ESC f S ETTING COMMAND [Name] Set validation paper waiting time [Format] ASCII ESC f t1 t2 Hex 1B 66 t1 t2 Decimal 27 102 t1 t2 [Range] 0 ≤ t1 ≤ 15 0 ≤ t2 ≤ 64 [Default] t1 = 0, t2 = 10 [Description] Sets the time that the printer waits for validation paper to be inserted an[...]

  • Page 54

    CONFIDENTIAL RP-U420 Mechanism control commands ESC o Ver. 1.0 p. 54 ESC o E XECUTING COMMAND [Name] Stamp [Format] ASCII ESC o Hex 1B 6F Decimal 27 111 [Range] None [Default] None [Description] Executes a stamp operation on the receipt. [Notes] ■ This command is enabled only when processed at the beginning of a line. ■ If a receipt is not sele[...]

  • Page 55

    CONFIDENTIAL RP-U420 Miscellaneous commands ESC p Ver. 1.0 p. 55 ESC p E XECUTING COMMAND [Name] Generate pulse [Format] ASCII ESC p m t1 t2 Hex 1B 70 m t1 t2 Decimal 27 112 m t1 t2 [Range] m = 0, 1, 48, 49 0 ≤ t1 ≤ 255 0 ≤ t2 ≤ 255 [Default] None [Description] Outputs the pulse specified by t1 and t2 to connector pin m as follows: [Notes] [...]

  • Page 56

    CONFIDENTIAL RP-U420 Character commands ESC t Ver. 1.0 p. 56 ■ ■ ■ more ■ ■ ■ more ESC t S ETTING COMMAND [Name] Select character code table [Format] ASCII ESC t n Hex 1B 74 n Decimal 27 116 n [Range] 0 ≤ n n n n ≤ ≤ ≤ ≤ 5, 16 ≤ n n n n ≤ ≤ ≤ ≤ 19, 254 ≤ n n n n ≤ ≤ ≤ ≤ 255 [Default] n = 0 [Description] Sel[...]

  • Page 57

    CONFIDENTIAL RP-U420 Character commands ESC t Ver. 1.0 p. 57 Program Example Print Sample PRINT #1, CHR$(&H1B);"t";CHR$(0); ← Select page 0 GOSUB printing PRINT #1, CHR$(&H1B);"t";CHR$(1); ← Select page 1 GOSUB printing END printing: FOR i=&H20 TO &H7F PRINT #1, CHR$(i); NEXT i PRINT #1, CHR$(&HA); FOR i=[...]

  • Page 58

    CONFIDENTIAL RP-U420 Character commands ESC z Ver. 1.0 p. 58 ■ ■ ■ more ■ ■ ■ more ESC z S ETTING COMMAND [Name] T urn parallel printing mode on/off for receipt and journal [Format] ASCII ESC z n Hex 1B 7A n Decimal 27 122 n [Range] 0 ≤ n ≤ 255 [Default] n = 1 (when DIP switch 1-8 is ON: T aiwan mode) n = 0 (when DIP switch 1-8 is O[...]

  • Page 59

    CONFIDENTIAL RP-U420 Character commands ESC z Ver. 1.0 p. 59 Program Example PRINT #1, CHR$(&H1B);"c0";CHR$(3); ← Select paper types (receipt and journal) PRINT #1, "AAAAAAAAAAAAAAAAAAAA"; PRINT #1, "BBBBBBBBBBBBBBBBBBBB";CHR$(&HA); PRINT #1, CHR$(&H1B);"z";CHR$(1); ← Turn on parallel printing[...]

  • Page 60

    CONFIDENTIAL RP-U420 Kanji commands FS & Ver. 1.0 p. 60 FS & S ETTING COMMAND [Name] Select Kanji character mode [Format] ASCII FS & Hex 1C 26 Decimal 28 38 [Description] Selects Kanji character mode. • Kanji character mode is selected when DIP switch 1-8 is ON (T aiwan mode). • Kanji character mode is canceled when DIP switch 1-8 i[...]

  • Page 61

    CONFIDENTIAL RP-U420 Kanji commands FS . Ver. 1.0 p. 61 FS . S ETTING COMMAND [Name] Cancel Kanji character mode [Format] ASCII FS . Hex 1C 2E Decimal 28 46 [Description] Cancels Kanji character mode. • Kanji character mode is selected when DIP switch 1-8 is ON (T aiwan mode). • Kanji character mode is canceled when DIP switch 1-8 is OFF (stand[...]

  • Page 62

    CONFIDENTIAL RP-U420 Miscellaneous commands GS I Ver. 1.0 p. 62 ■ ■ ■ more ■ ■ ■ more GS I E XECUTING COMMAND [Name] T ransmit printer ID [Format] ASCII GS I n Hex 1D 49 n Decimal 29 73 n [Range] 1 ≤ n ≤ 3, 49 ≤ n ≤ 51, 65 ≤ n ≤ 67, n = 69 [Default] None [Description] T ransmits the printer ID specified by n as follows: n Pr[...]

  • Page 63

    CONFIDENTIAL RP-U420 Miscellaneous commands GS I Ver. 1.0 p. 63 n = 2: T ype ID [Notes] ■ The printer transmits the status after confirming the host is ready to receive data. If the host computer is not ready to receive data, the printer waits until the host becomes ready . ■ When the parameter (1 ≤ n ≤ 3) or (49 ≤ n ≤ 51) is specified,[...]

  • Page 64

    CONFIDENTIAL RP-U420 Mechanism control commands GS V Ver. 1.0 p. 64 ■ ■ ■ more ■ ■ ■ more GS V E XECUTI NG COM MAND [Name] Feed paper to the cutting position and cut it [Format] ➀ ASCII GS V m Hex 1D 56 m Decimal 29 86 m ➁ ASCII GS V m n Hex 1D 56 m n Decimal 29 86 m n [Range] ➀ 0 ≤ m ≤ 2, 48 ≤ m ≤ 50 ➁ 65 ≤ m ≤ 67, [...]

  • Page 65

    CONFIDENTIAL RP-U420 Mechanism control commands GS V Ver. 1.0 p. 65 • When DIP switch 1-7 is ON (manual cutter installed), m specifies the paper cutting operation as follows: • n specifies the paper feeding amount before cutting a paper . [Notes] ■ This command is effective only when processed at the beginning of a line. ■ This command is i[...]

  • Page 66

    CONFIDENTIAL RP-U420 Mechanism control commands GS V Ver. 1.0 p. 66[...]

  • Page 67

    CONFIDENTIAL RP-U420 Status commands GS r Ver. 1.0 p. 67 ■ ■ ■ more ■ ■ ■ more GS r E XECUTING COMMAND [Name] T ransmit status [Format] ASCII GS r n Hex 1D 72 n Decimal 29 114 n [Range] n = 1, 2, 49, 50 [Default] None [Description] T ransmits the status specified by n, as follows: [Notes] ■ The printer transmits the status after confi[...]

  • Page 68

    CONFIDENTIAL RP-U420 Status commands GS r Ver. 1.0 p. 68 Drawer kick-out connector status ( n = 2, 50) 5 Off 00 0 Validation sensor: paper present On 20 32 Validation sensor: paper not present 6 Off 00 0 Reserved 7 Off 00 0 Fixed Bit Off/On Hex Decimal Function 0 Off 00 0 Drawer kick-out connector pin 3 is LOW On 01 1 Drawer kick-out connector pin [...]

  • Page 69

    CONFIDENTIAL RP-U420 Status commands DLE EOT Ver. 1.0 p. 69 ■ ■ ■ more ■ ■ ■ more DLE EOT E XECUTING COMMAND [Name] Real-time status transmission [Format] ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n [Range] 1 ≤ n ≤ 4, 6 [Default] None [Description] T ransmits the selected printer status specified by n in real-time, according to the f[...]

  • Page 70

    CONFIDENTIAL RP-U420 Status commands DLE EOT Ver. 1.0 p. 70 ■ ■ ■ more ■ ■ ■ more • n = 2: Of fline status • n = 3: Error status Bit Off/On Hex Decimal Function 0 Off 00 0 Not used. Fixed to Off. 1 On 02 2 Not used. Fixed to On. 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 bu[...]

  • Page 71

    CONFIDENTIAL RP-U420 Status commands DLE EOT Ver. 1.0 p. 71 ■ ■ ■ more ■ ■ ■ more Bit 2: This bit becomes “On” when home position detecting error or main motor lock-up error is occurs. Bit 7: When serial interface model and 7 bit data word length selected, this bit can not be transferred to the host. Bit 7 is dif ferent from the ESC[...]

  • Page 72

    CONFIDENTIAL RP-U420 Status commands DLE EOT Ver. 1.0 p. 72 ■ ■ ■ more ■ ■ ■ more • n = 6: V alidation status [Notes] ■ The status is transmitted whenever the data sequence of <10>H <04>H < n > (1 ≤ n ≤ 4 or 6) is received. Example: In ESC * m nL nH d1...dk , d1 =<10>H, d2 =<04>H, d3 =<01>H ?[...]

  • Page 73

    CONFIDENTIAL RP-U420 Status commands DLE EOT Ver. 1.0 p. 73 ■ With a serial interface model, this command is executed even when the printer is of fline, the receive buffer is full, or there is an error status. ■ With a parallel interface model, the printer cannot receive data when it is busy; therefore this command cannot be used under the foll[...]

  • Page 74

    CONFIDENTIAL RP-U420 Miscellaneous commands DLE ENQ Ver. 1.0 p. 74 ■ ■ ■ more ■ ■ ■ more DLE ENQ E XECUTING COMMAND [Name] Real-time request to printer [Format] ASCII DLE ENQ n Hex 10 05 n Decimal 16 5 n [Range] 1 ≤ n ≤ 3 [Default] None [Description] Responds to a request from the host specified by n . The operations performed depen[...]

  • Page 75

    CONFIDENTIAL RP-U420 Miscellaneous commands DLE ENQ Ver. 1.0 p. 75 ■ DLE ENQ 1 restarts printing from the line where the error occurred. This command is available only for recoverable errors other than a print head temperature error . ■ DLE ENQ 2 enables the printer to recover from an error after clearing the data in the receive and print buffe[...]

  • Page 76

    CONFIDENTIAL RP-U420 Miscellaneous commands DLE DC4 Ver. 1.0 p. 76 ■ ■ ■ more ■ ■ ■ more DLE DC4 E XECUTING COMMAND [Name] Generate pulse at real-time [Format] ASCII DLE DC4 nm t Hex 10 14 nm t Decimal 16 20 nm t [Range] n = 1 0 ≤ m ≤ 1 1 ≤ t ≤ 8 [Default] None [Description] Outputs the pulse specified by t to connector pin m as[...]

  • Page 77

    CONFIDENTIAL RP-U420 Miscellaneous commands DLE DC4 Ver. 1.0 p. 77 ■ This command should not be used within the data sequence of another command that consists of two or more bytes. <Example> If you attempt to transmit ESC ! n to the printer , but DLE DC4 105 interrupts before n is received, the code <10>H for DLE DC4 is processed as t[...]