GithubHelp home page GithubHelp logo

bh4fnb / escpos-coffee-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anastaciocintra/escpos-coffee-samples

0.0 0.0 0.0 462 KB

Home Page: https://anastaciocintra.github.io/escpos-coffee

License: MIT License

Shell 0.16% Java 99.84%

escpos-coffee-samples's Introduction

escpos-coffee-samples

Samples projects to use escpos-coffee library https://github.com/anastaciocintra/escpos-coffee

GitHub

Running Samples

tip: build all together as below, otherwise you can get compilation errors.

cd usual
mvn clean package
java -jar [samplename]/target/[samplename]-jar-with-dependencies.jar 
# without argument to list the priter names
java -jar [samplename]/target/[samplename]-jar-with-dependencies.jar "printer name"

Usual Directory

Have samples for most common functions of the escpos-coffee lib, for example, how to print an image or how to print a barcode. It is enough to make a good receipt print.

Miscellaneous Directory

More specific usages of the escpos-coffee:

  • AndroidImage - (android only) How to print an image with Android Studio
  • SerialStream - (desktop only) How to use Serial Port (com1, com2...) Stream
  • SerialStatus - (desktop only) How to get online status of the printer using Serial port I/O
  • Usb4JavaStream - (desktop only) How to use a usb port I/O
  • UsbStatus - (desktop only) How to get on line status of the printer using usb port I/O
  • SliceImage - (android/desktop) How to print big images (beta version to be incorporated on escpos-coffee library)
  • CoffeeBitmap - (desktop only) How to construct Graphics2D, jEditorPane and html/css receipts
  • PdfPrinting - (desktop only) How to print pdf content
  • PdfPrintingAndroid - (android only) How to print pdf content on Android
  • BarcodeGen - How to generate barcode image

Versioning

The version of this project follow the versions of escpos-coffee library and each version have its own branch: For example, the version 4.0.1 can be accessed on branch 4.0.1

The branch master have always the last stable version.

Contributting

Contributors are welcome, but before you do it its important to read and agree with CODE_OF_CONDUCT.md and CONTRIBUTING.md.

escpos-coffee-samples's People

Contributors

anastaciocintra avatar

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.