IBM 4840-563 System Reference - Page 66

Cash drawer commands, Open cash drawer 1, Cash drawer status information, MSR data received

Page 66 highlights

33: Simplified Chinese -GB-2321 34: Traditional Chinese -BIG5 Cash drawer commands This section describes the following cash drawer commands: v Open Cash Drawer 1 v Open Cash Drawer 2 v Close Cash Drawer 1 v Close Cash Drawer 2 Open cash drawer 1 To open cash drawer 1, use the following command, which sends an ASCII Bell character to the customer display serial port: 07 Open cash drawer 2 To open cash drawer 2, use the following 2-command sequence, which sends an Escape character followed by an ASCII Bell character to the customer display serial port: 1B 07 Status cash drawer 1 To obtain status information for cash drawer 1, use the following command, which sends an ASCII Ack character to the customer display serial port. See "Cash drawer status information" for a description of the cash drawer status byte. 06 Status cash drawer 2 To obtain status information for cash drawer 12, use the following 2-command sequence, which sends an Escape character followed by an ASCII Ack character to the customer display serial port. See "Cash drawer status information" for a description of the cash drawer status byte. 1B 06 Cash drawer status information To obtain status information for a cash drawer, send one of the status commands just described. The status byte returned indicates one of the following: MSR data received This section describes the data received from the MSR when a card is swiped. The MSR is an input-only device, and therefore does not use commands. The JUCC MSR attaches to a serial port as a standard RS-232 device. The 3-track MSR has a slide switch, which enables you to connect it either as a standard RS-232 serial device or through the keyboard interface. (If you choose the latter connection, the incoming data appears to come from a keyboard so no device driver is needed.) SurePOS 500 Model XX3 Technical Reference, v 1.3 81 Page 66 of

  • 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
  • 78
  • 79
  • 80
  • 81

33: Simplified Chinese -GB-2321
34: Traditional Chinese -BIG5
Cash drawer commands
This section describes the following cash drawer commands: v Open Cash Drawer 1 v
Open Cash Drawer 2 v Close Cash Drawer 1 v Close Cash Drawer 2
Open cash drawer 1
To open cash drawer 1, use the following command, which sends an ASCII Bell
character to the customer display serial port:
07
Open cash drawer 2
To open cash drawer 2, use the following 2-command sequence, which sends an
Escape character followed by an ASCII Bell character to the customer display serial
port:
1B 07
Status cash drawer 1
To obtain status information for cash drawer 1, use the following command, which
sends an ASCII Ack character to the customer display serial port. See “Cash drawer
status information” for a description of the cash drawer status byte.
06
Status cash drawer 2
To obtain status information for cash drawer 12, use the following 2-command
sequence, which sends an Escape character followed by an ASCII Ack character to
the customer display serial port. See “Cash drawer status information” for a description
of the cash drawer status byte.
1B 06
Cash drawer status information
To obtain status information for a cash drawer, send one of the status commands just
described. The status byte returned indicates one of the following:
MSR data received
This section describes the data received from the MSR when a card is swiped. The
MSR is an input-only device, and therefore does not use commands. The JUCC MSR
attaches to a serial port as a standard RS-232 device. The 3-track MSR has a slide
switch, which enables you to connect it either as a standard RS-232 serial device or
through the keyboard interface. (If you choose the latter connection, the incoming data
appears to come from a keyboard so no device driver is needed.)
SurePOS 500 Model XX3 Technical Reference, v 1.3
Page 66 of
81