leadprofit-labelprinter-node
v1.0.0
Published
The leadprofit.com node module for the Lead Profit label printer. Released under the LGPL-2.1
Downloads
64
Readme
LP Connector
Overview
LP Connector is a JavaScript library designed to facilitate the connection between web clients and LP software. It enables printing and device communication capabilities directly from JavaScript.
Features
- Web Client to LP Software Connection: Establishes a bridge between a web client and the Label Printer software for efficient communication.
- Printing and Device Communication: Offers the ability to interact with printing devices and other peripherals.
- Promises/A+ Functionality: Utilizes RSVP for advanced promise handling in API calls.
- Customizable Dependencies: Allows overriding of the default Promise and Sha256 dependencies.
Version
1.0.0
Core Connector Version
2.0.3-2
Dependencies
- RSVP: Used for Promises/A+ functionality in API calls. Can be overridden with
lp.api.setPromiseType
. - Sha256: Provides hashing algorithms for signing messages. Can be overridden with
lp.api.setSha256Type
.
Installation
To use LP Connector in your project, include it in your HTML or JavaScript file. Ensure that the dependencies (RSVP and Sha256) are also included if the default implementations are being used.
Usage
After including LP Connector in your project, you can initiate a connection to the LP software and use the library's functionality for printing and device communication.
Polyfills
LP Connector includes polyfills to ensure compatibility with a broader range of JavaScript environments. For example, a polyfill for Array.isArray
is included.
Support
For any issues or questions regarding LP Connector, please reach out to us at [https://leadprofit.com/].
License
LGPL-2.1