Skip to content

Commit

Permalink
Version update
Browse files Browse the repository at this point in the history
  • Loading branch information
Klemen Kastelic committed Aug 12, 2015
1 parent 9656e41 commit 57d8801
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $ npm install node-thermal-printer

### Features
```js
printer.init('epson'); // 'star' or 'epson'
printer.execute(); // Executes all the commands
printer.print("Hello World"); // Append text
printer.println("Hello World"); // Append text with new line
Expand All @@ -37,6 +38,7 @@ printer.setTextQuadArea(); // Set text to quad area
### Examples
```js
var printer = require("node-thermal-printer");
printer.init('epson');
printer.alignCenter();
printer.println("Hello world");
printer.cut();
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "node-thermal-printer",
"version": "0.0.3",
"description": "Made to work with Epson thermal printers",
"version": "0.0.4",
"description": "Made to work with Epson and Star thermal printers",
"main": "printer.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand All @@ -13,7 +13,8 @@
"keywords": [
"thermal",
"printer",
"epson"
"epson",
"star"
],
"author": "Klemen Kastelic <klemen.kast@gmail.com> (http://kastelic.net/)",
"license": "ISC",
Expand Down

0 comments on commit 57d8801

Please sign in to comment.