USB CASH DRAWER INTERFACE. Introduction



Similar documents
BioWin Network Installation

Installation Instructions

Instrument Software Update Instructions

Instrument Software Update Instructions. Keysight X-Series Signal Analyzers (PXA/MXA/EXA/CXA) Upgrading an older version to A.12.

USB Driver Installation for Windows XP

Resolving USB Driver Problems

PCLinq2 Hi-Speed USB Bridge-Network Cable. Quick Network Setup Guide

Shearwater Research Dive Computer Software Manual

Installer Assistance Windows XP

ScanShell.Net Install Guide

The FlexiSchools Online Order Management (FOOM) Installation Guide

HP Point of Sale (POS) Peripherals Configuration Guide 2D Imaging / Linear / Presentation Scanner

Short Manual Intellect v SP2 module Unipos Contents:

Fiery Clone Tool For Embedded Servers User Guide

BioWin Network Installation

Installing Your POS Hardware

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

Please read and understand this instruction manual thoroughly before using this product.

XConsole GUI setup communication manual September 2010.

FrontDesk Installation And Configuration

How do I configure the wireless printer using a USB or Ethernet cable and install the printer driver in Windows?

Instructions for Installing and Using the FOCUS DL-15 Data Transfer Software

Use only a shielded parallel interface cable that is IEEE 1284-compliant and/or a USB cable that is no longer than 6 feet long (1.8 meters).

Colorfly Tablet Upgrade Guide

Windows XP Manual Installation

Config software for D2 systems USER S MANUAL

CONTROL OF MED INPUT/OUTPUT MODULES FROM OTHER LANGUAGES

VisionMate Flat Bed Scanner 2D Tube Barcode Reader

Winlead Dialer Software Users Manual Addendum 3 Installing Winlead Dialer Software on the Windows 2000 System

Software Licensing Management North Carolina State University software.ncsu.edu

AIM SOFTWARE AND USB DRIVER INSTALLATION PROCEDURE

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

Installing the IF-NMEASC & SC30 Windows XP Drivers & Software

Download Path for 7 Zip : ( Username & Password to download = sqlutility ) **Make sure install the right one or else you can t find 7 Zip to Extract.

Star USB Vendor Class Driver Installation Manual

DirectOut Technologies

Installing the USB driver for Firmware 7 or later For use with E-blocks programmer boards and PICmicro Development boards.

3. USB DRIVER Installation of USB driver Driver for Infinity SD Data Logger. INFINITY Series Acquisition Tools Manual

Installation Guide for RadioLabs USB Wifi Antennas/Adapters

Centurion PLUS CPC4 Download Guide

Zanibal Plug-in For Microsoft Outlook Installation & User Guide Version 1.1

FACTORY AUTOMATION MANUAL USB VIRTUAL COM PORT DRIVER INSTALLATION UNDER WINDOWS XP/WINDOWS 2000

JVC Monitor Calibration 2 User's Guide

The FlexiSchools Online Order Management System Installation Guide

Installation Instructions for 9555 USB Driver

Capture Pro Software FTP Server System Output

Driver Installation for Windows 98 SE

CITIZEN OPOS DRIVER 1.8 Setup Guide. 10/03/29 Rev 1.09

Lotus Notes 6.x Client Installation Guide for Windows. Information Technology Services. CSULB

Quick Start Using DASYLab with your Measurement Computing USB device

Image Backup and Recovery Procedures

How to setup a network printer using HP Universal Printer Driver

Application Note CTAN #374

How to Download Images Using Olympus Auto-Connect USB Cameras and Olympus Master

Thuraya XT-DUAL. Software Upgrade Manual

Network DK2 DESkey Installation Guide

N150 Wireless Micro USB Adapter WNA1000M Installation Guide

Introduction. Contact Information. Page 1 of 8

Image Backup and Recovery Procedures

Operating System Installation Guide

Transferring Scans from your Dolphin into Destiny

Installing ABACUS ELECTRICS USB Optical Probes under Windows 7

CenterLight Remittance Reader Installation Guide(64 bit) CenterLight Remittance Reader Installation Guide (64 bit) Page 1 of 15

Installation instructions for PIV Card and VPN software and drivers for USB PIV Card reader hardware.

Windows XP.. ELITE Firmware Update procedures.. v1.41

X30 Apollo System Upgrading Monitor Software & ECU Firmware

Omni 56K USB Lite Quick Start Guide

USB External Hard Disk Drive

Midland BT Updater BTUpdater Program Program file (x86) ), Midland

TPG MOBILE BROADBAND QUICK SETUP GUIDE

Manual. Sealer Monitor Software. Version

The FlexiSchools Online Order Management System Installation Guide

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

Guide to Installing BBL Crystal MIND on Windows 7

System update procedure for Kurio 7 (For build number above 110)

INFUSION BUSINESS SOFTWARE Installation and Upgrade Guide

ABUS WIRELESS ALARM SYSTEM

DocAve Upgrade Guide. From Version 4.1 to 4.5

Digital Voice PC Client Software Setup Guide

CLEARONE DOCUMENT (REVISION 1.0) October, with Converge Pro Units

INF-USB2 and SI-USB Quick Start Guide

EWF Management Software Windows driver software for Classembly Devices /Industrial Controller

Network License File. Program CD Workstation

ArcGIS Business Analyst Premium* ~ Help Guide ~ Revised October 3, 2012

Wireless Keyboard & Optical Mouse. User Manual

Chapter 28. Poi nt of Sale But. FrontDesk v Point of Sale Menus. Voiding Invoices. Redeeming Gift Certificates. Revised on: 06/10/2009

USB Flash Drive User s Manual

Olympus AS-5000 Transcription Kit Installation Instructions and Standard Configuration Options. Introduction. Pre-Install Checks.

COBRA 18R2 Wired Reprogramming Instructions

ACU-1000 Manual Addendum Replacement of CPM-2 with CPM-4

Networking. General networking. Networking overview. Common home network configurations. Wired network example. Wireless network examples

TX3 Series TELEPHONE ACCESS SYSTEMS. Configurator Quick Start. Version 2.2 Mircom Copyright 2014 LT-973

HL2170W Windows Network Connection Repair Instructions

Option 1 Using the Undelete PushInstall Wizard.

Software Migration Guide

CONFIGURATION AND APPLICATIONS DEPLOYMENT IN WEBSPHERE 6.1

NAVICO Software Upgrade Tool. English sw Document no: Doc Revision: D Date: January 2010

Back Office Recorder 4iP Installation Guide Intelligent Recording Limited

Installation of USB Virtual COM. Version 1.02

WPA-LON Series WPA-LON-1. Application. Model Chart WPA-LON-2 WPA-LON-3. Adapter Card Software

Transcription:

USB CASH DRAWER INTERFACE Introduction USB is an interface communication standard that was designed to allow multiple devices to connect to a single port on a supporting host device. Multiple devices are possible because the USB standard requires that each device have a unique identifier that the host uses to direct traffic to and from the device. The USB standard also allows for Hot Plugging which allows for the devices removal from and re-attachment to the host device without powering down the host or re-installing the drivers. International Cash Drawer Ltd. offers a USB Cash Drawer interface developed by M-S Cash Drawer Corporation. The interface module is fitted in the rear of the cash drawer. The interface is designed to open the drawer and to report the open/closed status of the drawer. Power is supplied by the USB port; an external power supply is not required. M-S Cash Drawer - Drivers Drivers are currently available for Windows 98 SE (Second Edition) or later. Installation of drivers must be performed before connecting cash drawer to the USB port. 1. Download the appropriate drivers for your operating system. For Windows 9X the download is USBInstall_9x.zip; for Windows 2000/NT/XP the download file is USBInstall_2X.zip. 2. Save the downloaded zip file on your computer. 3. Extract the files to a folder of your choice. 4. Run Setup.exe from the folder where you saved the extracted files. 5. Setup will copy the required files onto your computer. 6. Your computer might need to restart. After restart: 1. Attach the cash drawer to your computer s USB port. 2. Your computer should auto detect the cash drawer as a USB Device and start the Hardware update wizard. 3. Choose install from list or specific location (Advanced) option. Press button labeled Next. 4. Choose Search for best driver in this location and select include this location in the search. 5. Press browse and choose the folder in which you extracted the driver files. 6. Press next. 7. Windows will start copying the driver files to required location. 8. It will prompt you to press Finish to complete the process. Page 1

Setting DIP Switches on Cash Drawer Set the switches on the rear of the cash drawer to the desired USB ID (factory settings = 1) USB ID USB ID SW1 CHART SW2 SW3 DRAWER STATUS SW4 1 0 0 0 * 2 1 0 0 * 3 0 1 0 * 4 1 1 0 * 5 0 0 1 * 6 1 0 1 * 7 0 1 1 * 8 1 1 1 * 0 = Off, 1 = On * SW4 specifies the type of micro switch in the cash drawer used to read the open / closed status of the drawer. SW4=0 means NO ( normally open ): switch reads signal (switch closed) when drawer is closed. SW4=1 means NC ( normally closed ): switch reads signal (switch closed) when drawer is open. Testing 1. Select Start->Programs->M-S Cash Drawer Controller->M-S Cash Drawer USB Controller 2. Set the switches on the cash drawer to the USB ID you want (default = 1). 3. Select the corresponding drawer number on the test program interface.. 4. You should be able to trigger and register drawer status. M-S Cash Drawer - Page 2

POS Software The following DLL functions are used. 1. GetDrawerHandle This function determines if the cash drawer controller has been added to the bus. If so it returns the handle to the controller, else it returns a 0. ULONG GetDrawerHandle (BYTE drawer_number): handle = GetDrawerHandle(0); if (handle) drawer_online = TRUE; else drawer_online = FALSE; Private Declare Function GetDrawerHandle Lib MSPOS_USB.dll (ByVal Handle As Long) As Integer handle = GetDrawerHandle(0) If handle > 0 Then Drawer_Online = TRUE Else Drawer_Online = False End If Calling Structure In Visual FoxPro DECLARE Integer GetDrawerHandle IN MSPOS_USB.dll Long ndrawernumber handle = GetDrawerHandle( 0 ) IF handle = 0 *... failed to initialize... ENDIF (For programming purposes drawer_number = 0 for Drawer #1 and so forth.) M-S Cash Drawer - Page 3

2. OpenDrawer This function opens the cash drawer. You must give the function the handle to the cash drawer you are using. The solenoid will fire ONLY if the drawer is closed. (see setting DIP switches Drawer Status). The function will return: drawer opened (2), drawer open (3) or, failure (0). int OpenDrawer (ULONG device_handle); Result = OpenDrawer (handle); If (!Result) drawer_online = 0 Private Declare Function OpenDrawer Lib MSPOS_USB.dll (ByVal Handle As Long) As Interger Result = OpenDrawer(Handle) If Result = 0 Then Drawer_Online = False Calling Structure in Visual Foxpro DECLARE Integer OpenDrawer IN MSPOS_USB.dll Long ndevicehandle Result = OpenDrawer( handle ) * Possible results... * 0 = failure * 2 = success * 3 = drawer was already open M-S Cash Drawer - Page 4

3. GetDrawerStatus This function returns the state of the microswitch in the cash drawer which signals drawer open or closed (See setting DIP Switches). You must give the function the handle to the cash drawer you are using. The function will return failure (0), drawer closed (1), or drawer open (2). int GetDrawerStatus (ULONG device_handle); Example Result = GetDrawerStatus (handle) if (Result= =2) drawer_open = TRUE; else if (Result= =1) drawer_open = FALSE else drawer_online = FALSE; Private Declare Function GetDrawerStatus Lib MSPOS_USB.dll (ByVal Handle As Long) As Interger M-S Cash Drawer - Result = GetDrawerStatus (handle) If Result = 2 Then Else If Result = 1 Else Drawer_Online = False End If Drawer_Open = TRUE Drawer _Open = FALSE Calling Structure in Visual Foxpro DECLARE Integer GetDrawerStatus IN MSPOS_USB.dll Long ndevicehandle Result = GetDrawerStatus( handle ) DO CASE CASE Result = 2 * Drawer is open CASE Result = 1 * Drawer is closed OTHERWISE * Drawer is NOT online -- there is a problem. ENDCASE Page 5

4. ReleaseDrawerHandle This function will release the device handle. Call this function when your program is finished using the device or when your program exits int ReleaseDrawerHandle (ULONG device_handle); Example Result = ReleaseDrawerHandle (handle); Private Declare Function ReleaseDrawerHandle Lib MSPOS_USB.dll (ByVal Handle As Long) As Interger Result = ReleaseDrawerHandle(handle) Calling structure in Visual Foxpro DECLARE Integer ReleaseDrawerHandle IN MSPOS_USB.dll Long ndevicehandle Result = ReleaseDrawerHandle( ndrawerhandle ) M-S Cash Drawer - Page 6