39
SECTION 5. EXAMPLE APPLICATIONS
While each application in this section is oriented toward a specific programming language, different
devices are addressed in each example. It may be useful for the reader to look at all examples to
understand how the MagTek Windows Drivers can operate with various MagTek devices.
PROGRAMMING HINTS
When opening a Keyboard Wedge device, the application must wait for any key press to complete, e.g.,
ALT-0
. The application should wait until all keys have been released.
VISUAL BASIC EXAMPLE
This program is a simple example of using the MagTek Windows device drivers in Visual Basic. It opens
the device driver and waits for the user to click the read button. At that time, it arms the driver for the read
operation and waits for a read to take place. When the check data (in the case of a MICR) is received, it
displays the data and waits for the read button to be pressed again.
The user first presses the Start button to open the port. After that, the Read button is pressed to initiate a
read. After the check is read, the Read button can be pressed again for another cycle. The Exit button can
be pressed at any time to quit the program.
Option Explicit
'+-----------------------------+
'|
MTD Driver example
|
'+-----------------------------+
'| written in Visual Basic 5.0 |
'+-----------------------------+
'
' (c) Copyright Mag-Tek, Inc. 1999
' All rights reserved
'
' Mag-Tek Part Numbers:
' Source code - 30037336 REV 101
' PROG 3.5" - 30037335 REV 101
' Purpose:
This program is a simple example of using the
' Mag-Tek Windows device drivers (MTD) in Visual Basic.
It
‘ opens the device driver and waits for the user to click the
‘ read button.
At that time, it arms the driver for the read
' operation and waits for a read to take place.
When the
' check data (in the case of a MICR) is received, it displays
' the data and waits for the read button to be pressed again.
' The user first presses the Start button to open the port.
' After that, the Read button is pressed to initiate a read.
' After the check is read, the Read button can be pressed
' again for another cycle.
The Exit button can be pressed
' at any time to quit the program.
Содержание Entuitive 1229L
Страница 1: ......
Страница 11: ...1 6 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e...
Страница 13: ...2 8 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e Product Overview Main Unit Rear View...
Страница 14: ...2 9 Side View Base Bottom View...
Страница 22: ...2 17 Connect one end of the MSR cable to the computer and the other end to the monitor MSR cable...
Страница 43: ...4 38 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e...
Страница 54: ...C 49...
Страница 55: ...C 50 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e...
Страница 59: ...54 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e...
Страница 70: ...vii...
Страница 71: ...Figure 1 1 USB Swipe Reader viii...
Страница 75: ...USB HID Keyboard Emulation Swipe Reader 4...
Страница 79: ...USB HID Keyboard Emulation Swipe Reader 8...
Страница 81: ...USB HID Keyboard Emulation Swipe Reader 10...
Страница 103: ...vi Figure 1 1 Port Powered Swipe Reader...
Страница 107: ...Port Powered Swipe Reader 4 Figure 1 3 Dimensions...
Страница 111: ...Port Powered Swipe Reader 8...
Страница 115: ...Port Powered Swipe Reader 12...
Страница 123: ...viii Figure 1 1 MagTek Devices and Device Drivers for Windows MTD MagTek Device Drivers for Windows...
Страница 151: ...MagTek Device Drivers for Windows 28...
Страница 161: ...MagTek Device Drivers for Windows 38...
Страница 175: ...MagTek Device Drivers for Windows 52...
Страница 197: ...MagTek Device Drivers for Windows 74...
Страница 199: ...MagTek Device Drivers for Windows 76...
Страница 201: ...MagTek Device Drivers for Windows 78...
Страница 220: ...i Customer Displays 2 by 20 character display USER MANUAL Models LD9000 Series...
Страница 249: ......