Specifications

2-4 Application Rev. A
W$=INPUT$(1)
Waits for input
PRINT #1, CHR$(&H1B);"=";CHR$(1);
Selects peripheral device (printer)
PRINT #1, CHR$(&H1B);"!";CHR$(1);
PRINT #1, "----------------------------------------"; CHR$(&HA);
PRINT #1, CHR$(&H1B);"=";CHR$(3);
Selects peripheral devices (printer and customer display)
PRINT #1, "PAID 120.0"; CHR$(&HA)
PRINT #1, CHR$(&H1B);"=";CHR$(1);
Selects peripheral device (printer)
PRINT #1, CHR$(&H1B);"p";CHR$(0);CHR$(2);CHR$(20);
Operates a drawer
PRINT #1, "CHANGE 9.0"; CHR$(&HA);
PRINT #1, CHR$(&H1B);"d";CHR$(6);
PRINT #1, CHR$(&H1B);"=";CHR$(2);
Selects p eriphe ral d evice (customer display)
PRINT #1, CHR$(&HC);
Clears cu stomer disp lay screen
PRINT #1, "CHANGE 9.0";
PRINT #1, CHR$(237);CHR$(237);" Thank You ";CHR$(236);CHR$(236);
GOSUB Stamp
Prints stamp data
END
Stamp:
PRINT #1, CHR$(&H1B);"=";CHR$(1);
Selects pe riphe ral d evice (printer)
PRINT #1, CHR$(&H1B);"c0";CHR$(1);
Selects print sheet (receipt)
PRINT #1, CHR$(&H1B);"a";CHR$(1);
Selects pr int p ositi on (center)
PRINT #1, CHR$(&H1D);"/";CHR$(0);
Prints dow nload ed bi t-image
PRINT #1, CHR$(&H1B);"J";CHR$(10);
PRINT #1, "Thank you";
PRINT #1, CHR$(&H1B);"J"CHR$(30);
RETURN
(Any additional data is omitted from the downloaded bit image.)
Prints and
Displays ch ange
Executes
and a messa ge
displays
the stamp
Item B