Skip to content
Java ESC POS Library for any supporting receipt printers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gradle
.idea
gradle/wrapper
src
.gitignore
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

An ESCPOS library written in Java. Just pass in a output stream.

Socket socket = new Socket("10.0.0.52", 9100);

OutputStream stream = socket.getOutputStream();

ESCPOSPrinter printer = new ESCPOSBasicPrinter(stream); printer.initialize();

printer.newLine() .emphasize() .center() .fontSizeFactor(2) .print("HELLO") .newLine() .alignLeft() .fontSizeFactor(2,1) .println("World") .feedLines(2) .cut();

https://flakeynetworks.co.uk/jescpos/

You can’t perform that action at this time.