{"_id":"@alexssmusica/node-printer","_rev":"6-d490555c9710a0ed0b4e62e40ca89898","name":"@alexssmusica/node-printer","dist-tags":{"latest":"0.8.1"},"versions":{"0.6.3":{"name":"@alexssmusica/node-printer","version":"0.6.3","author":{"url":"http://program-support.co.uk/","name":"Ion Lupascu","email":"ionlupascu@gmail.com"},"_id":"@alexssmusica/node-printer@0.6.3","maintainers":[{"name":"alexssmusica","email":"alexssmusica@gmail.com"}],"contributors":[{"name":"Alex Santos","email":"alexssmusicag@gmail.com"}],"homepage":"https://github.com/Alexssmusica/node-printer","bugs":{"url":"https://github.com/Alexssmusica/node-printer/issues"},"dist":{"shasum":"7a5d02e519dec3c3d3e1fc80be8041a5a9e52478","tarball":"https://registry.npmjs.org/@alexssmusica/node-printer/-/node-printer-0.6.3.tgz","fileCount":65,"integrity":"sha512-XckFFODnHVreZnOJ+3a/rEEjBpe8LoX+lo1gvpAhkW4UF9954gIGXy8dm806oanwHwr9myJUpyeZVaP32mpOrg==","signatures":[{"sig":"MEYCIQDKHMbqItrjeH5viXHMnI267WJxiax6OnwkV0nH36JZmgIhAN1G0tWKyaDs9ytmf2yGnSs3N2HNRbwYdgOZpGWVFG8f","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20125474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/2UwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQQQ//YHUmGvbiieau3ySamQsjgGxnXHsc8JmhCDnSdBgw2EbmYEBh\r\nsIV09U6n171FLn8Z3G4LbDkIt+5RZV626dbS7F1WrkSQp75c1+4n0QIPVGde\r\nA2E1x/hGeOct1FGBrIeIJ00lJpXgAV7GYKyWOzepI6ozzCYNk/GXz4NcRy9S\r\nnCrHv5JgBqOB7+Ah7qzpYQVdu5RuW6FxsuYQkOaDEmuq4JzLgtDUawI6YiwR\r\nUm7P5daozjemgTZ2rbOUibhyM/O4Ae4Y7Hv4uBW2ILs4Yr6G6Rj5UERNF541\r\nILOWFE642qs6XMzyTGPXwH6wo5bOl6z8XK38uMtDryOKiQ9JGN7iHbZK8PXm\r\ndMxGRvzmt6KtdriyOsFdXrJd+7lfkoKzrDZ61O/A7VaBJtrRpUjl1C8e1z+n\r\nUoBsYleRYqa+JqgYqRkZBWnPjqtLC42cV34PZhwb3yCi+D1njDpSDWVedK/L\r\nfoaE5OwWZKnq+p3NFHDj7+zQM9U4SSTGEwGZxmzBqCAzySUtZ9cLH6fjjxz5\r\nYZtxjw7oeZFVKov4PFVuPjTv4gV5S8AF5SrPmoyuofKzzRvVPaZ+MEth/b3M\r\nCUGY00CLXszsUFSaVqlaDEBKcE12VYLHSkMjSDdz63XdWNYh4GwgI7x8SXQb\r\nOXDwMVpqiAPzTUJNpGUE9qz6bgSwJYGwbhE=\r\n=GE+X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/printer","types":"types/index.d.ts","binary":{"host":"https://github.com/Alexssmusica/node-printer/releases/download/","module_name":"node_printer","module_path":"./lib/","remote_path":"v{version}"},"engines":{"node":">= 4.0.0"},"gitHead":"ea92672a4e6c0ce60f436838d17c9b5a4e328c2f","private":false,"scripts":{"test":"nodeunit test","install":"prebuild-install || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild","prebuild-all":"prebuild --all --force --strip --verbose --openssl_fips=X","apply-patches":"patch-package"},"_npmUser":{"name":"alexssmusica","email":"alexssmusica@gmail.com"},"licenses":[{"type":"BSD"}],"repository":{"url":"git://github.com/Alexssmusica/node-printer.git","type":"git"},"_npmVersion":"6.14.17","description":"Node.js printer bindings","directories":{},"_nodeVersion":"14.19.3","dependencies":{"nan":"git+https://github.com/weedz/nan.git","prebuild-install":"^7.0.1"},"_hasShrinkwrap":false,"devDependencies":{"node-abi":"^3.24.0","nodeunit":"*","prebuild":"^11.0.3","prebuild-ci":"^4.0.0","patch-package":"^6.4.7"},"_npmOperationalInternal":{"tmp":"tmp/node-printer_0.6.3_1677681968576_0.021244043614811137","host":"s3://npm-registry-packages"}},"0.6.4":{"name":"@alexssmusica/node-printer","version":"0.6.4","author":{"url":"http://program-support.co.uk/","name":"Ion Lupascu","email":"ionlupascu@gmail.com"},"_id":"@alexssmusica/node-printer@0.6.4","maintainers":[{"name":"alexssmusica","email":"alexssmusica@gmail.com"}],"contributors":[{"name":"Alex Santos","email":"alexssmusicag@gmail.com"}],"homepage":"https://github.com/Alexssmusica/node-printer","bugs":{"url":"https://github.com/Alexssmusica/node-printer/issues"},"dist":{"shasum":"0e324217f07657112ffd37a2c3a0d800c572b2a1","tarball":"https://registry.npmjs.org/@alexssmusica/node-printer/-/node-printer-0.6.4.tgz","fileCount":50,"integrity":"sha512-mg+TmB/2rjfrH5xuA6G7Kr+IHgYgEvPNKHePu2tfzX2xRG82H4fmUsZOqChJSFjhby1N7nmPS7ntXn8xo6d1lw==","signatures":[{"sig":"MEUCIB37iwLWAtZZA01v0ODCpqjWMK7v4X8a6jo/1nSfy/EJAiEA5XPV6RiDe+dlPU2Kk2INah4/iIhvGjhU7RlZfYq9Tvo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1385919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/3ypACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5Dg//SqVP8NLq96RhBfVF9ge0PhtZFPDtn3w+VU3H+OjH/2O3715I\r\nxyOwi0xvF40q0aqNDksz+y3Y4l34LjaXHP3XNnpEeb9tcgl4jNLwK+2bFjZF\r\nNM0LxoGhMTcnEoUrlaoEWj/S7fGnxgl6xdmAsqCtUCCCK2nLmS/rl687qM51\r\nRH0ZTVFCfvwTyFi5lsaXP7s1wdcUNnIXOYnS5a/EaQPkx6dJA147+4fyaA6F\r\nIHYhoG364rGsR3/6hIJgnYpDXKZlmv8WO0VWVdgRf32B6xyopoJhjpdAAFSP\r\n0I+T026sWXWSBPlI/3cDp4dRsFgjiuL2d0B7y2xwYdkmeRhvug3VRjPNnpZR\r\noS9/PDpM4B7M4NOqCQWFeKvuhF3cNu2QxeOwzQyI6u1+9e79xEfqRNUxpI9u\r\nVgAn9ntEJ3o7ff07E96tGhMdJUSgK6qAbFvtRSddeb+2Mr94ueYpogogvFYP\r\nzqo+U35ClhZwEuHSaGldoiJ+J/t8BXV+23ZmT1XCz2XLIjmMiw9lCjRJLqE1\r\nGAf1wSKQZjcj03dbes0vJkHNOVuWmPnWUIYDBYkz3KA+QF/YNAVh5xKV5KBt\r\nw9GQHjUTfMXhEw07X/+c+Ogf3/m3N1VwCI4kkYe8kregr0KRK6MZKvQ+yxut\r\nUBek4EUjZr3RVQ1VGY0E+eISnlU1OdhoD+Q=\r\n=huYN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/printer","types":"types/index.d.ts","binary":{"host":"https://github.com/Alexssmusica/node-printer/releases/download/","module_name":"node_printer","module_path":"./lib/","remote_path":"v{version}"},"engines":{"node":">= 4.0.0"},"gitHead":"5a1ef42e848b9f2492dae359c847c162996d89ef","private":false,"scripts":{"test":"nodeunit test","install":"prebuild-install || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild","prebuild-all":"prebuild --all --force --strip --verbose --openssl_fips=X","apply-patches":"patch-package"},"_npmUser":{"name":"alexssmusica","email":"alexssmusica@gmail.com"},"licenses":[{"type":"BSD"}],"repository":{"url":"git://github.com/Alexssmusica/node-printer.git","type":"git"},"_npmVersion":"8.11.0","description":"Node.js printer bindings","directories":{},"_nodeVersion":"16.16.0","dependencies":{"nan":"^2.17.0","prebuild-install":"^7.1.1"},"_hasShrinkwrap":false,"devDependencies":{"node-abi":"^3.33.0","nodeunit":"*","prebuild":"^11.0.4","prebuild-ci":"^4.0.0","patch-package":"^6.5.1"},"_npmOperationalInternal":{"tmp":"tmp/node-printer_0.6.4_1677687977437_0.49360779459200765","host":"s3://npm-registry-packages"}},"0.6.5":{"name":"@alexssmusica/node-printer","version":"0.6.5","keywords":["native","node","printer"],"author":{"url":"http://program-support.co.uk/","name":"Ion Lupascu","email":"ionlupascu@gmail.com"},"license":"MIT","_id":"@alexssmusica/node-printer@0.6.5","maintainers":[{"name":"alexssmusica","email":"alexssmusica@gmail.com"}],"contributors":[{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"},{"name":"Francimar Alves","email":"mazinsw@gmail.com"},{"name":"Damon Smith","email":"damon.default@gmail.com"}],"homepage":"https://github.com/Alexssmusica/node-printer#readme","bugs":{"url":"https://github.com/Alexssmusica/node-printer/issues"},"dist":{"shasum":"fcf55816941941e10697cc83220e69c95bf4c5c2","tarball":"https://registry.npmjs.org/@alexssmusica/node-printer/-/node-printer-0.6.5.tgz","fileCount":74,"integrity":"sha512-/J3+Yy6fZ5c1ABT+dFDCAkmEpcyACgZTPpB3+p+M26Luarw7Sgzrti7b8E3xwTv/M87MMlanPVdHWt6uqPjPIA==","signatures":[{"sig":"MEYCIQDmjpd4b2hTqrYTJRuG0NoQnuR6mDinDFd1TuDlos9yqAIhALLIP/ogfZ3BJr9Z7q6HSnx6AIpQiTZtVmmSoyUCsD/J","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15283650},"main":"./lib/printer","types":"types/index.d.ts","binary":{"host":"https://github.com/Alexssmusica/node-printer/releases/download/","module_name":"node_printer","module_path":"./lib/","remote_path":"v{version}"},"engines":{"node":">= 4.0.0"},"exports":{".":"./lib/printer.js","./build":"./build.js"},"gitHead":"0ee3ffdf4301d1e4c64db0bed04c2cf3ab03433e","scripts":{"test":"nodeunit test","install":"prebuild-install || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild"},"_npmUser":{"name":"alexssmusica","email":"alexssmusica@gmail.com"},"overrides":{"node-gyp":"9.3.1"},"repository":{"url":"git://github.com/Alexssmusica/node-printer.git","type":"git"},"_npmVersion":"8.11.0","description":"Node.js printer bindings","directories":{"lib":"lib","test":"test","example":"examples"},"_nodeVersion":"16.16.0","dependencies":{"nan":"^2.15.0","prebuild-install":"^7.0.1","@mapbox/node-pre-gyp":"^1.0.9"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","eslint":"^7.11.0","node-abi":"^3.31.0","nodeunit":"*","prebuild":"^11.0.4","lint-staged":"^10.4.2","prebuild-ci":"^4.0.0","patch-package":"^6.4.7","@commitlint/cli":"^11.0.0","eslint-config-egg":"^8.1.2","@commitlint/config-conventional":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node-printer_0.6.5_1685824119587_0.8310192746531653","host":"s3://npm-registry-packages"}},"0.6.6":{"name":"@alexssmusica/node-printer","version":"0.6.6","keywords":["native","node","printer"],"author":{"url":"http://program-support.co.uk/","name":"Ion Lupascu","email":"ionlupascu@gmail.com"},"license":"MIT","_id":"@alexssmusica/node-printer@0.6.6","maintainers":[{"name":"alexssmusica","email":"alexssmusica@gmail.com"}],"contributors":[{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"},{"name":"Francimar Alves","email":"mazinsw@gmail.com"},{"name":"Damon Smith","email":"damon.default@gmail.com"}],"homepage":"https://github.com/Alexssmusica/node-printer#readme","bugs":{"url":"https://github.com/Alexssmusica/node-printer/issues"},"dist":{"shasum":"15cad6d2511937901f36e5cdf4f7a49d16356f8a","tarball":"https://registry.npmjs.org/@alexssmusica/node-printer/-/node-printer-0.6.6.tgz","fileCount":74,"integrity":"sha512-BfuC/oBxV7uyBUpghKDLX5+fGYzwvHQBVl1bD3NBMu9QWDCHa0EdUYQtXvL7W7RtMi35J/0rpWSQCuOD1K5xwA==","signatures":[{"sig":"MEQCIA/FXsEThqP/PVBPqyTX4M26ykujEFs4JSLWe8Qm7O+4AiBCeORdVzjnd7iiRXk5lhZfKVgvJHvKKyGtnX7ZjkmA/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15283650},"main":"./lib/printer","types":"types/index.d.ts","binary":{"host":"https://github.com/Alexssmusica/node-printer/releases/download/","module_name":"node_printer","module_path":"./lib/","remote_path":"v{version}"},"engines":{"node":">= 4.0.0"},"exports":{".":"./lib/printer.js","./build":"./build.js"},"gitHead":"cd9b531e02eb3ea4546a920876c578ce95d948fc","scripts":{"test":"nodeunit test","install":"prebuild-install || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild"},"_npmUser":{"name":"alexssmusica","email":"alexssmusica@gmail.com"},"overrides":{"node-gyp":"9.3.1"},"repository":{"url":"git://github.com/Alexssmusica/node-printer.git","type":"git"},"_npmVersion":"8.11.0","description":"Node.js printer bindings","directories":{"lib":"lib","test":"test","example":"examples"},"_nodeVersion":"16.16.0","dependencies":{"nan":"^2.15.0","prebuild-install":"^7.0.1","@mapbox/node-pre-gyp":"^1.0.9"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","eslint":"^7.11.0","node-abi":"^3.43.0","nodeunit":"*","prebuild":"^11.0.4","lint-staged":"^10.4.2","prebuild-ci":"^4.0.0","patch-package":"^6.4.7","@commitlint/cli":"^11.0.0","eslint-config-egg":"^8.1.2","@commitlint/config-conventional":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node-printer_0.6.6_1685825407069_0.5045751615016592","host":"s3://npm-registry-packages"}},"0.6.7":{"name":"@alexssmusica/node-printer","version":"0.6.7","keywords":["native","node","printer"],"author":{"url":"http://program-support.co.uk/","name":"Ion Lupascu","email":"ionlupascu@gmail.com"},"license":"MIT","_id":"@alexssmusica/node-printer@0.6.7","maintainers":[{"name":"alexssmusica","email":"alexssmusica@gmail.com"}],"contributors":[{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"},{"name":"Francimar Alves","email":"mazinsw@gmail.com"},{"name":"Damon Smith","email":"damon.default@gmail.com"}],"homepage":"https://github.com/Alexssmusica/node-printer#readme","bugs":{"url":"https://github.com/Alexssmusica/node-printer/issues"},"dist":{"shasum":"4690c6be6b2244840de65f46a1e3dfe09509e0ec","tarball":"https://registry.npmjs.org/@alexssmusica/node-printer/-/node-printer-0.6.7.tgz","fileCount":72,"integrity":"sha512-nJFHx3jii6+XbDcbKCadEoRh6xCq3dY5CLOOaeE6mcS2sPiflpJCK2jl/i0SoIYi3lAaW6S7Npue2cIoDWLWog==","signatures":[{"sig":"MEQCIBxxV2SYoVPCCzg67lDBeftp2+6bGg/mqaTRV3u2t6siAiBhd8JQgXOVMd0wVgfwrwRAVAhRz+V8odUQJTz9A18pQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15487918},"main":"./lib/printer","types":"types/index.d.ts","binary":{"host":"https://github.com/Alexssmusica/node-printer/releases/download/","module_name":"node_printer","module_path":"./lib/","remote_path":"v{version}"},"engines":{"node":">= 4.0.0"},"exports":{".":"./lib/printer.js","./build":"./build.js"},"gitHead":"3113fca59c507b4017acc08a6ebd3d8caf268a1e","scripts":{"test":"nodeunit test","install":"prebuild-install || node-gyp rebuild","rebuild":"node-gyp rebuild","prebuild":"prebuild"},"_npmUser":{"name":"alexssmusica","email":"alexssmusica@gmail.com"},"overrides":{"node-gyp":"9.3.1"},"repository":{"url":"git://github.com/Alexssmusica/node-printer.git","type":"git"},"_npmVersion":"10.5.0","description":"Node.js printer bindings","directories":{"lib":"lib","test":"test","example":"examples"},"_nodeVersion":"20.12.2","dependencies":{"nan":"^2.18.0","prebuild-install":"^7.0.1","@mapbox/node-pre-gyp":"^1.0.9"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","eslint":"^7.11.0","node-abi":"^3.43.0","nodeunit":"*","prebuild":"^11.0.4","lint-staged":"^10.4.2","prebuild-ci":"^4.0.0","patch-package":"^6.4.7","@commitlint/cli":"^11.0.0","eslint-config-egg":"^8.1.2","@commitlint/config-conventional":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node-printer_0.6.7_1737725424895_0.9910743278610898","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@alexssmusica/node-printer","description":"Node.js printer bindings","version":"0.8.1","homepage":"https://github.com/Alexssmusica/node-printer","author":{"name":"Ion Lupascu","email":"ionlupascu@gmail.com","url":"http://program-support.co.uk/"},"contributors":[{"name":"Steven Lehn","email":"steven.lehn@Alexssmusica.com"},{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"}],"repository":{"type":"git","url":"git://github.com/Alexssmusica/node-printer.git"},"devDependencies":{"@semantic-release/changelog":"6.0.3","@semantic-release/commit-analyzer":"13.0.1","@semantic-release/git":"10.0.1","@semantic-release/github":"11.0.1","@semantic-release/npm":"12.0.1","@semantic-release/release-notes-generator":"14.0.3","@types/node":"^22.15.3","dotenv":"^16.5.0","node-abi":"^3.56.0","nodeunit":"^0.11.3","prebuild":"^13.0.1","prebuild-ci":"^4.0.0"},"engines":{"node":">= 18.0.0"},"scripts":{"install":"prebuild-install || node-gyp rebuild","prebuild-all":"prebuild --force --strip --verbose --target 18.0.0 --target 19.0.0 --target 20.0.0 --target 22.0.0","prebuild":"prebuild","prebuild-electron":"prebuild --strip --verbose","rebuild":"node-gyp rebuild","release":"node release.js","test":"nodeunit test"},"binary":{"module_name":"node_printer","module_path":"lib","host":"https://github.com/Alexssmusica/node-printer/releases/download/","remote_path":"v{version}","package_name":"{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz"},"license":"MIT","main":"./lib/printer","dependencies":{"nan":"^2.22.2","prebuild-install":"^7.1.1"},"types":"types/index.d.ts","_id":"@alexssmusica/node-printer@0.8.1","gitHead":"5d6fb2646968f08019d3328e13d42f0d0029862b","bugs":{"url":"https://github.com/Alexssmusica/node-printer/issues"},"_nodeVersion":"20.18.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-1HYYMb4Ji9PbrMehdUeFqunu2kkDRb7WvlGr/1k+o2VDXIThYWa/BVrwIfUOCmHp5QAWEz/6krlvLu7NAQgatQ==","shasum":"143b11a4b1344ed21cb9e67f3dba24fc13f67d88","tarball":"https://registry.npmjs.org/@alexssmusica/node-printer/-/node-printer-0.8.1.tgz","fileCount":65,"unpackedSize":13948166,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCrIcHEPZ0HTsqODmQfKB23vSCL3erGuEu6M0o5TQh+CAIhAI96KtujQvpZ6X2IsZoGby/iWgsIrcLHa4pmI+aS8vLt"}]},"_npmUser":{"name":"alexssmusica","email":"alexssmusica@gmail.com"},"directories":{},"maintainers":[{"name":"alexssmusica","email":"alexssmusica@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-printer_0.8.1_1746463993227_0.8276259034301201"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-01T14:46:08.480Z","modified":"2025-05-05T16:53:13.741Z","0.6.3":"2023-03-01T14:46:08.851Z","0.6.4":"2023-03-01T16:26:17.766Z","0.6.5":"2023-06-03T20:28:39.858Z","0.6.6":"2023-06-03T20:50:07.304Z","0.6.7":"2025-01-24T13:30:25.217Z","0.8.1":"2025-05-05T16:53:13.569Z"},"bugs":{"url":"https://github.com/Alexssmusica/node-printer/issues"},"author":{"name":"Ion Lupascu","email":"ionlupascu@gmail.com","url":"http://program-support.co.uk/"},"license":"MIT","homepage":"https://github.com/Alexssmusica/node-printer","repository":{"type":"git","url":"git://github.com/Alexssmusica/node-printer.git"},"description":"Node.js printer bindings","contributors":[{"name":"Steven Lehn","email":"steven.lehn@Alexssmusica.com"},{"name":"Thiago Lugli","email":"thiagoelg@gmail.com"},{"name":"Eko Eryanto","email":"ekoeryanto@gmail.com"}],"maintainers":[{"name":"alexssmusica","email":"alexssmusica@gmail.com"}],"readme":"# @alexssmusica/node-printer\r\n\r\nNode.js native module for printer management and printing functionality.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @alexssmusica/node-printer\r\n```\r\n\r\n## Requirements\r\n\r\n- Node.js >= 18.0.0\r\n- Windows: No additional requirements\r\n- Linux/macOS: CUPS (Common Unix Printing System)\r\n\r\n## Features\r\n\r\n- Direct printing of raw data or text\r\n- File printing\r\n- Printer management (list, get info, set defaults)\r\n- Job management (view, control)\r\n- Cross-platform support (Windows, Linux, macOS)\r\n\r\n## API Reference\r\n\r\n### Printer Operations\r\n\r\n#### `getPrinters()`\r\nReturns an array of all available printers with their properties and current jobs.\r\n\r\n```javascript\r\nconst printer = require('@alexssmusica/node-printer');\r\nconst printers = printer.getPrinters();\r\n```\r\n\r\n#### `getDefaultPrinterName()`\r\nReturns the name of the default printer. Returns `null` if no default printer is set.\r\n\r\n```javascript\r\nconst defaultPrinter = printer.getDefaultPrinterName();\r\n```\r\n\r\n#### `getPrinter(printerName)`\r\nGet detailed information about a specific printer.\r\n\r\n- `printerName` {String} Name of the printer\r\n\r\n```javascript\r\nconst printerInfo = printer.getPrinter('My Printer');\r\n```\r\n\r\n#### `getPrinterDriverOptions(printerName)`\r\nGet printer driver specific options.\r\n\r\n- `printerName` {String} Name of the printer\r\n\r\n```javascript\r\nconst driverOptions = printer.getPrinterDriverOptions('My Printer');\r\n```\r\n\r\n### Printing Functions\r\n\r\n#### `printDirect(options)`\r\nPrint raw data directly to the printer.\r\n\r\nOptions:\r\n- `data` {String|Buffer} Raw data to print\r\n- `printer` {String} Printer name\r\n- `docname` {String} Document name\r\n- `type` {String} Data type (e.g., 'RAW', 'TEXT')\r\n\r\n```javascript\r\nprinter.printDirect({\r\n  data: 'Hello World!',\r\n  printer: 'My Printer',\r\n  docname: 'Test Document',\r\n  type: 'RAW'\r\n});\r\n```\r\n\r\n#### `printFile(options)`\r\nPrint a file directly to the printer.\r\n\r\nOptions:\r\n- `filename` {String} Path to the file to print\r\n- `printer` {String} Printer name\r\n- `docname` {String} Document name\r\n\r\n```javascript\r\nprinter.printFile({\r\n  filename: '/path/to/file.txt',\r\n  printer: 'My Printer',\r\n  docname: 'File Document'\r\n});\r\n```\r\n\r\n### Job Management\r\n\r\n#### `getJob(printerName, jobId)`\r\nGet information about a specific print job.\r\n\r\n- `printerName` {String} Name of the printer\r\n- `jobId` {Number} ID of the job\r\n\r\n```javascript\r\nconst jobInfo = printer.getJob('My Printer', 123);\r\n```\r\n\r\n#### `setJob(printerName, jobId, command)`\r\nControl print jobs using various commands.\r\n\r\n- `printerName` {String} Name of the printer\r\n- `jobId` {Number} ID of the job\r\n- `command` {String} Job command\r\n\r\nAvailable commands:\r\n- `\"CANCEL\"`\r\n- `\"PAUSE\"`\r\n- `\"RESTART\"`\r\n- `\"RESUME\"`\r\n- `\"DELETE\"`\r\n- `\"SENT-TO-PRINTER\"`\r\n- `\"LAST-PAGE-EJECTED\"`\r\n- `\"RETAIN\"`\r\n- `\"RELEASE\"`\r\n\r\n```javascript\r\nprinter.setJob('My Printer', 123, 'PAUSE');\r\n```\r\n\r\n### Utility Functions\r\n\r\n#### `getSupportedPrintFormats()`\r\nGet a list of supported print formats for direct printing.\r\n\r\n```javascript\r\nconst formats = printer.getSupportedPrintFormats();\r\n```\r\n\r\n#### `getSupportedJobCommands()`\r\nGet a list of supported job commands.\r\n\r\n```javascript\r\nconst commands = printer.getSupportedJobCommands();\r\n```\r\n\r\n## Platform Specific Notes\r\n\r\n### Windows\r\n- Supports both local and network printers\r\n- Raw printing supported through Windows API\r\n\r\n### Linux/macOS\r\n- Requires CUPS installation\r\n- Minimum CUPS version: 1.1.21 (OS X 10.4)\r\n- Uses CUPS API for printer management and printing\r\n\r\n## License\r\n\r\nMIT\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please feel free to submit a Pull Request. ","readmeFilename":"README.md"}