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

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Epson RP-U420. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoEpson RP-U420 vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Epson RP-U420 você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Epson RP-U420, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Epson RP-U420 deve conte:
- dados técnicos do dispositivo Epson RP-U420
- nome do fabricante e ano de fabricação do dispositivo Epson RP-U420
- instruções de utilização, regulação e manutenção do dispositivo Epson RP-U420
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Epson RP-U420 não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Epson RP-U420 e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Epson na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Epson RP-U420, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Epson RP-U420, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Epson RP-U420. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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.[...]

  • Página 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[...]

  • Página 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,[...]

  • Página 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 [...]

  • Página 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 .[...]

  • Página 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 , [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 16

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

  • Página 17

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

  • Página 18

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

  • Página 19

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

  • Página 20

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

  • Página 21

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

  • Página 22

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

  • Página 23

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

  • Página 24

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

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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);"<"[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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 # $ @[ ]^` { ¦}[...]

  • Página 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[...]

  • Página 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, [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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] [...]

  • Página 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[...]

  • Página 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=[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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,[...]

  • Página 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, [...]

  • Página 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[...]

  • Página 66

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

  • Página 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[...]

  • Página 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 [...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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 ?[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]

  • Página 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[...]