Manuale d’uso / di manutenzione del prodotto RP-U420 del fabbricante Epson
Vai alla pagina of 77
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 HE.
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.
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.
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.
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 ← Cu.
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.
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 .
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 .
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.
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.
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.
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.
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.
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.
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.
CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 16 ■ ■ ■ more ■ ■ ■ more Page 1 (Katakana).
CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 17 ■ ■ ■ more ■ ■ ■ more Page 2 (PC850: Multilingual).
CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 18 ■ ■ ■ more ■ ■ ■ more Page 3 (PC860: Portuguese).
CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 19 ■ ■ ■ more ■ ■ ■ more Page 4 (PC863: Canadian-French).
CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 20 ■ ■ ■ more ■ ■ ■ more Page 5 (PC865: Nordic).
CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 21 ■ ■ ■ more ■ ■ ■ more Page 16 (WPC1252).
CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 22 ■ ■ ■ more ■ ■ ■ more Page 17 (PC866: Cyrillic #2).
CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 23 ■ ■ ■ more ■ ■ ■ more Page 18 (PC862: Latin2).
CONFIDENTIAL RP-U420 Character code tables Ver. 1.0 p. 24 ■ ■ ■ more ■ ■ ■ more Page 19 (PC858: Euro).
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.
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 a.
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 .
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"}.
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 [Desc.
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 .
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.
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 [Ra.
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$(&am.
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.
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 T.
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 .
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.
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 .
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).
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:.
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.
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 [D.
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.
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.
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 De.
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.
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] ASC.
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 .
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.
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 .
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.
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.
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 [Rang.
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.
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, .
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 1.
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);&quo.
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 .
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, "AAAAAAAAAAAAA.
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).
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).
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 .
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 .
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 .
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.
CONFIDENTIAL RP-U420 Mechanism control commands GS V Ver. 1.0 p. 66.
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 .
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 0.
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 Decim.
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.
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.
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.
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.
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 .
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 .
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.
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.
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Epson RP-U420 è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Epson RP-U420 - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Epson RP-U420 imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Epson RP-U420 ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Epson RP-U420, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Epson RP-U420.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Epson RP-U420. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Epson RP-U420 insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.