Code for koahub.js connected printers based on the KOA Platform node. JS Development

Source: Internet
Author: User

Recently a lot of small partners are doing the mall project, then to share a koa.js platform based on node. JS Web Development Framework to connect the code of the interface of the easy-link cloud printer for everyone to learn.
Koahub-yilianyun

Yi Yin-yun Printer Interface

Koahub-yilianyun Easy-Connection cloud Printer node interface

Installation

$ NPM Install Koahub-yilianyun
Use with Co-request

var printer = require (' Koahub-yilianyun ');
var result = Yield Printer ({
"Partner": 914,//User ID (acquired in Central Administration system integration)
"Apikey": "3785b31b2c84f3c47e51a6c4481f8a5fc2eea72a",//apikey (acquired in Central Administration system integration)
"Machine_code": "3400453726",//Printer terminal number
"Msign": "Gn5p5zk585b6",//Printer terminal key
"Time": parseint (New Date (). GetTime ()/1000),//current timestamp (server for authentication timeout)
"Content": ' 2222 '//required to transfer printed content data
});

Koahub.js--node. JS Web Rapid development framework based on Koa.js platform

Code Source: http://js.koahub.com

Code for koahub.js connected printers based on the KOA Platform node. JS Development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.