GithubHelp home page GithubHelp logo

vanceeasleaf / qqprinter Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 2.03 MB

A nodejs package for printing under Windows framework net4.0

License: GNU General Public License v2.0

JavaScript 100.00%
nodejs printer lable

qqprinter's Introduction

qqprinter

Downloads Version License

A nodejs package for printing labels under Windows framework net4.0

@Authour Yang Zhou

@Mail [email protected]

Summary

What

  • qqprinter is a js wrapper for label printer operations such as getting printer names, setting default printer, and printing some contents discripted with JSON format.

  • qqprinter is able to print text, tables, images and QRcodes.

Why

  • With the developing of our ERP system, it's important access printers directly from js under the framework of NW.js. However there's not a proper library yet, so a simple but enough wrapper is written.

How

  • A full functional binary is preprared with c#.net4.0 named as labelPrinter.exe. This binary could be used with command-line operations. With the help of childprocess module of nodejs we provide you a js wrapper called labelPrinter.js.

Usage

Install

you can simply install the module by

npm install qqprinter --save

Examples can be found in test_get_availabel.js and test_labelPrinter.js.

  • get_available can let you know what printers are available on this computer.

  • labelPrinter let print some labels using js.

Enjoy!

qqprinter's People

Contributors

vanceeasleaf avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

pannysp

qqprinter's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.