Skip to content

infuse-us/cordova-plugin-star-micronics-air-cash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-star-micronics-air-cash

Cordova Plugin that Supports Common Tasks for the StarMicronics AirCash Cash Drawer.

Installation

cordova plugin add cordova-plugin-star-micronics-air-cash

Supported Platforms

  • Android
  • iOS

Usage

Get the plugin like this:

var drawer = $window.cordova.plugins.starMicronicsAirCash

Now you can call the following functions:

drawer.isOnline(
	drawerPortName,
	drawerPortSetting,
	successCallback,
	errorCallback
);

drawer.isOpen(
	drawerPortName,
	drawerPortSetting,
	successCallback,
	errorCallback
);

drawer.openCashDrawer(
	drawerPortName,
	drawerPortSetting,
	drawerNumber,
	successCallback,
	errorCallback
);

The drawerPortName will be in the format of TCP:192.168.1.123 and the port setting can be an empty String.

About

Cordova Plugin that Supports Common Tasks for the StarMicronics AirCash Cash Drawer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published