{
  "name": "node-printer",
  "description": "Create and manage one or multiple printers (w/ CUPS), send file path or node buffer with support for all lp options. Get feedback on jobs you sent.",
  "version": "1.0.2",
  "homepage": "http://github.com/alepee/node-printer",
  "keywords": [
    "printer",
    "print",
    "cups",
    "lp",
    "job"
  ],
  "author": {
    "name": "Antoine Lépée",
    "email": "alepee@gmail.com"
  },
  "main": "./printer",
  "scripts": {
    "test": "jasmine"
  },
  "bugs": {
    "url": "http://github.com/alepee/node-printer/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/alepee/node-printer.git"
  },
  "engines": {
    "node": ">=0.11.12"
  },
  "dependencies": {
    "underscore": ">=1.3.3"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "http://github.com/alepee/node-printer/raw/master/LICENSE"
    }
  ],
  "devDependencies": {
    "jasmine": "^2.3.1"
  },
  "readme": "node-printer\n===============\n\n[![Code Climate](https://codeclimate.com/github/alepee/node-printer/badges/gpa.svg)](https://codeclimate.com/github/alepee/node-printer)\n\nN.B.: Please take a look on [node-ipp-interface](https://github.com/alepee/node-ipp-interface) node module, it relies on IPP protocol and provide a more constistent way to communicate with a printer. (node-ipp-interface module is a WIP, please feel free to contribute)\n\nA tool to print document or data. Based on \"lp\" binary.   \nSupports complete set of lp options (http://unixhelp.ed.ac.uk/CGI/man-cgi?lp)\n\nBased on armetiz/node-printer-lp and diegoalberto/node-printer-lp-complete.\n\n## Quick Examples\n\n```js\nvar Printer = require('node-printer');\nvar options = {\n    media: 'Custom.200x600mm',\n    n: 3\n};\n\n// Get available printers list\nPrinter.list();\n\n// Create a new Pinter from available devices\nvar printer = new Printer('EPSON_SX510');\n\n// Print from a buffer, file path or text\nvar fileBuffer = fs.readFileSync('/path/to/file.ext');\nvar jobFromBuffer = printer.printBuffer(fileBuffer);\n\nvar filePath = 'package.json';\nvar jobFromFile = printer.printFile(filePath);\n\nvar text = 'Print text directly, when needed: e.g. barcode printers'\nvar jobFromText = printer.printText(text);\n\n// Cancel a job\njobFromFile.cancel();\n\n// Listen events from job\njobFromBuffer.once('sent', function() {\n    jobFromBuffer.on('completed', function() {\n        console.log('Job ' + jobFromBuffer.identifier + 'has been printed');\n        jobFromBuffer.removeAllListeners();\n    });\n});\n```\n\n## Roadmap\n\n- Rewrite option factories\n- Remove dependency to underscorejs\n- Write more tests\n- Find a way to emulate CUPS printers on Travis env\n",
  "readmeFilename": "README.md",
  "_id": "node-printer@1.0.2",
  "dist": {
    "shasum": "b63bfa33ca8f5bf133230546c98445b3d21fc65c"
  },
  "_from": "node-printer@^1.0.2",
  "_resolved": "https://registry.npmjs.org/node-printer/-/node-printer-1.0.2.tgz"
}
