node package manager

lpd-printers

Installing

npm install lpd-printers

Using

TSP100

tsp100 = require('lpd-printers').tsp100;

tsp100.dataFileForP4(
          '192.168.0.123',
          require('fs').readFileSync('foo.pbm'),
          function(err){...});

tsp100.openCashDrawer(
          '192.168.0.123',
          function(err){...});