insert-coin

Send a message to HP printers.

npm install insert-coin
4 downloads in the last week
8 downloads in the last month

insert-coin

Send a text message to an HP printer.

Install

npm install insert-coin

Example - Send "Insert 2 Coins" to 192.168.1.80

var insertCoin = require('insert-coin')

insertCoin.sendPrinterMessage('192.168.1.80', 'Insert 2 Coins', function(err){
  if(err) console.log('Could not send.');
})

Changes

2013-11-08: Added a 5000ms timeout on connections.

npm loves you