anastaciocintra / escpos-coffee-samples

https://anastaciocintra.github.io/escpos-coffee
MIT License
48 stars 17 forks source link
android barcode escpos escpos-coffee escpos-printer java printer-status stream

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:

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.