more

C O N F I D E N T I A L

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 receipt and journal

PRINT #1, “July 6, 2000

10:30”;CHR$(&H1E);

PRINT #1, “July 6, 2000

10:30

#12345”;CHR$(&HA);CHR$(&HA);

PRINT #1, CHR$(&H1B);"z";CHR$(1);

Selects parallel printing on receipt and journal

PRINT #1, "RP-U420

 

420";CHR$(&HA);

PRINT #1, "PS-170

 

170";CHR$(&HA);

PRINT #1, "TOTAL

 

590";CHR$(&HA);

PRINT #1, "----------------------------";CHR$(&HA);

PRINT #1, CHR$(&H1B);”c0”;CHR$(2); Selects receipt

PRINT #1, CHR$(&H1B);”o”;Executes stamp for the next sheet

PRINT #1, "PAID

600";CHR$(&HA);

PRINT #1, "CHANGE

10";CHR$(&HA);CHR$(&HA);

PRINT

#1,

CHR$(&H1B);"p";CHR$(0);CHR$(2);CHR$(20); drawer kick-out

PRINT

#1,

#12345”;CHR$(&HA);CHR$(&HA);

PRINT #1, CHR$(&H1D);"V";CHR$(66);CHR$(0); Feeds paper to the cutting position PRINT #1, CHR$(&H1B);”c0”;CHR$(1); Selects journal

PRINT #1, CHR$(&HA);Feeds journal

END

Prints date and time

Item A

Stamp

Item B

Issues receipt

RP-U420

Usable application programs and tips

Ver. 1.0 p. 7

Page 7
Image 7
Epson RP-U420 manual Programming Example, Print #1, CHR$&H1Bc0CHR$3 ← Selects a print sheet