{"versions":{"0.4.2":{"name":"@types/printer","version":"0.4.2","description":"TypeScript definitions for printer","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/printer","license":"MIT","contributors":[{"name":"Christos Panagiotakopoulos","url":"https://github.com/chrispanag","githubUsername":"chrispanag"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/printer"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"bdbe56a1a0ecf159d5c341978e5224e2533466ddc9065901e3e47323fcbc973c","typeScriptVersion":"3.8","_id":"@types/printer@0.4.2","dist":{"integrity":"sha512-8rSR0TLvgfwbzASw2kUmx4+F1V1akNByAeKLB71zmHr0LcepGilrrBad5dgMA0pIdrQRx2/N3DO42FiCqjV7FA==","shasum":"45c98003ea198966f42b8afb4bcd62b86931c231","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/printer/-/printer-0.4.2.tgz","fileCount":4,"unpackedSize":7097,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhu8DBCRA9TVsSAnZWagAAVnUP/jxmY3pc1rP5jFqwOdF0\nmbui+yOiSv0So7RLvUPHRcUexktIFA0hOZIm94PB3GaR3O2ujwQNB/dQa1U/\nAuxRtWmg4U+vh4L5oX73NsUfKM5zke404dud3pBwkNvaS/+weQrzkPGWr9At\nvJg7qu90gLE4eL7bzd8egZz5/yJFV9Lo3rrd9z8/B7UQ0YRe9GB+MOW97dFT\n2L5dO1EdelO1WjKjIr1GhqgDBy5vxd8NtZ6z22Rm8VDq5brqJqS0dyNQo/x4\n8uGRH7ZJWYDLQzFmuX7POzr5SfBR/HW+/VE6jYdiGWzR+19M93ArddUI+qO6\nIgPSCvTZadoa3BR+UV+e9Pz+rq8FWYVmn0KNK4ox6FdnrWp04UFHdqBSqrEL\nb5Sli7/OcBhNP6bEEgcIzZousV/+k/flalEcnyNL15SImhGpLSNCzrrHvssI\nG+/zPADacWVedxXJDzUCdER5IouIHsao+q5Kwt9yexJhSkhvFM4NTeWgEtIw\nAZ8RcoK60tNRKqoKwTcYU/qwcV+Pgf0UIZ10BQoje9qeVE/pUTKc2/B7IRdO\nCX7k6wyw762MSA1vEQ+IzjubiULAUT+jGBST3oWhipTrzKzbI8q+jezhVXRG\nRaWQHhdALhJw2UEE8HXFzJf3Pw2OGh/7oYQqFw0j2Bv4lJwq2lHJEA4VpcMR\n3Qw8\r\n=SOYs\r\n-----END PGP SIGNATURE-----\r\n","size":2133,"noattachment":false},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/printer_0.4.2_1639694529690_0.21106723690414797"},"_hasShrinkwrap":false,"publish_time":1639694529810,"_cnpm_publish_time":1639694529810,"_cnpmcore_publish_time":"2021-12-16T23:48:43.979Z"},"0.4.1":{"name":"@types/printer","version":"0.4.1","description":"TypeScript definitions for printer","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/printer","license":"MIT","contributors":[{"name":"Christos Panagiotakopoulos","url":"https://github.com/chrispanag","githubUsername":"chrispanag"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/printer"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"fc13942d8829f5039022b735f9a9eea86082f5ddd060232ab6e7d13b80658cde","typeScriptVersion":"3.6","_id":"@types/printer@0.4.1","dist":{"shasum":"357bc9fb97c6dfeefa73faf0f6a0ba9e8ce0f62b","size":2133,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/printer/-/printer-0.4.1.tgz","integrity":"sha512-S5pCEaVCtr0ZUpuuEm7WpZZKvt3KoL5JYHlHW4h0jvn8cxclq4Hz5oTRXhAVNDqADQ03ZEUPTA/K6jpestMgDQ=="},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/printer_0.4.1_1625778272625_0.7552844944648491"},"_hasShrinkwrap":false,"publish_time":1625778272770,"_cnpm_publish_time":1625778272770,"_cnpmcore_publish_time":"2021-12-16T23:48:44.184Z"},"0.4.0":{"name":"@types/printer","version":"0.4.0","description":"TypeScript definitions for printer","license":"MIT","contributors":[{"name":"Christos Panagiotakopoulos","url":"https://github.com/chrispanag","githubUsername":"chrispanag"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/printer"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"579430caf80cca27139ad4d13cac8a2f671aff6bf1c82bcb814c4ba6779e7aa5","typeScriptVersion":"3.2","_id":"@types/printer@0.4.0","dist":{"shasum":"8622a8e19186c3e9c699f3fd565d61c07e763201","size":2057,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/printer/-/printer-0.4.0.tgz","integrity":"sha512-XY0I1vB37pZd14rDUeCnwKHQcfLEwHqFtTIZAORQG+dRBf78+OMAhdw06nv8T0H+WwA8Q3LMDYJ0dJ3765K4HQ=="},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/printer_0.4.0_1600361629774_0.5718329717261097"},"_hasShrinkwrap":false,"publish_time":1600361629974,"_cnpm_publish_time":1600361629974,"_cnpmcore_publish_time":"2021-12-16T23:48:44.405Z"},"0.4.3":{"name":"@types/printer","version":"0.4.3","description":"TypeScript definitions for printer","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/printer","license":"MIT","contributors":[{"name":"Christos Panagiotakopoulos","url":"https://github.com/chrispanag","githubUsername":"chrispanag"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/printer"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"c8047907c288dcc41e6c42b21bf64e79e0d17ca5582f3d9531b809b923a22024","typeScriptVersion":"4.5","_id":"@types/printer@0.4.3","dist":{"integrity":"sha512-ToAzPDRPh0XVEUwt7I9/4uBUEQGYaCkwH/5XgU42d2B6KGFf+d/E2z0NLAbf/zpTqIIamI6FrLvaTbfQeLsvXQ==","shasum":"bfb9f24365e5d03450cd5ac69036522d9d3d2209","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/printer/-/printer-0.4.3.tgz","fileCount":5,"unpackedSize":7093,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZBk0P6o81BDH1Z2lVRHXVMprV1Wy5RDVs/K9CCAsu5gIgHuJsk3JtHNzmO+9mYGse2I++cn+AymzhDQiKxF6uwzc="}],"size":2185},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/printer_0.4.3_1695539418378_0.794355992420823"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-24T07:10:18.542Z","publish_time":1695539418542,"_source_registry_name":"default"},"0.4.4":{"name":"@types/printer","version":"0.4.4","description":"TypeScript definitions for printer","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/printer","license":"MIT","contributors":[{"name":"Christos Panagiotakopoulos","githubUsername":"chrispanag","url":"https://github.com/chrispanag"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/printer"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"73032ad00a409120d57c2dba56ecc0e846fa8c1fe71c9ac595147fd7f57fa4e9","typeScriptVersion":"4.5","_id":"@types/printer@0.4.4","dist":{"integrity":"sha512-H2BhIkZNTlj1iiJhCSxapMMRtzb3TLgM1w0GloSR6jbq0WLRmYPpePxoDvO161UwGfW2mJRzp+GGYAlupkNx4w==","shasum":"27e9d403462ccbdd021a220edd02d05220282be8","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/printer/-/printer-0.4.4.tgz","fileCount":5,"unpackedSize":6601,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBfMZEPmKhzyqJ0TCU9IoEPiwREahT/pwg/pJqHrnVvrAiAg7ywJRD4e7YGtEA9NorFEmBcCvZVLbtXh6Hl7P+Jv1Q=="}],"size":2120},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/printer_0.4.4_1697628114893_0.7195593892209744"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T11:21:55.071Z","publish_time":1697628115071,"_source_registry_name":"default"},"0.4.5":{"name":"@types/printer","version":"0.4.5","description":"TypeScript definitions for printer","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/printer","license":"MIT","contributors":[{"name":"Christos Panagiotakopoulos","githubUsername":"chrispanag","url":"https://github.com/chrispanag"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/printer"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"7076663a2e79396aba602bc9a0e520f8e0a3d8b73e2d6509691b616c73fb6dc2","typeScriptVersion":"4.5","_id":"@types/printer@0.4.5","dist":{"integrity":"sha512-cl2aJE2aHSjpNJhgeqvIGqNbonMTu2VbxrByLolLXVT26ynVIxXh6xYsxAOFyU1GVcAheUph6MsB+ogSzdjrrA==","shasum":"ea6a6da9227d1bc52a71b744710e5e286307e1d1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/printer/-/printer-0.4.5.tgz","fileCount":5,"unpackedSize":6601,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP28VOnV3Hm/E2y9cKntxoWSi6MErqTwfezwSWQMdyGAIhAOmjhdXRthwM+fiGdqgBgO1eD+0+wtUTmINaCC61U3Kd"}],"size":2120},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/printer_0.4.5_1699363389357_0.8318700274614925"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T13:23:09.584Z","publish_time":1699363389584,"_source_registry_name":"default"}},"dist-tags":{"latest":"0.4.5","ts3.2":"0.4.0","ts3.3":"0.4.0","ts3.4":"0.4.0","ts3.5":"0.4.0","ts3.6":"0.4.1","ts3.7":"0.4.1","ts3.8":"0.4.2","ts3.9":"0.4.2","ts4.0":"0.4.2","ts4.1":"0.4.2","ts4.2":"0.4.2","ts4.3":"0.4.2","ts4.4":"0.4.2","ts4.5":"0.4.5","ts4.6":"0.4.5","ts4.7":"0.4.5","ts4.8":"0.4.5","ts4.9":"0.4.5","ts5.0":"0.4.5","ts5.1":"0.4.5","ts5.2":"0.4.5","ts5.3":"0.4.5","ts5.4":"0.4.5","ts5.5":"0.4.5","ts5.6":"0.4.5","ts5.7":"0.4.5","ts5.8":"0.4.5","ts5.9":"0.4.5","ts6.0":"0.4.5","ts7.0":"0.4.5","ts7.1":"0.4.5"},"name":"@types/printer","time":{"created":"2022-01-27T11:05:59.734Z","modified":"2026-10-04T08:57:24.766Z","0.4.2":"2021-12-16T22:42:09.810Z","0.4.1":"2021-07-08T21:04:32.770Z","0.4.0":"2020-09-17T16:53:49.974Z","0.4.3":"2023-09-24T07:10:18.542Z","0.4.4":"2023-10-18T11:21:55.071Z","0.4.5":"2023-11-07T13:23:09.584Z"},"readme":"# Installation\r\n> `npm install --save @types/printer`\r\n\r\n# Summary\r\nThis package contains type definitions for printer (https://github.com/tojocky/node-printer).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/printer.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/printer/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\" />\n\nexport function getPrinters(): PrinterDetails[];\nexport function getPrinter(printerName: string): PrinterDetails;\nexport function getPrinterDriverOptions(printerName: string): PrinterDriverOptions;\nexport function getSelectedPaperSize(printerName: string): string;\nexport function getDefaultPrinterName(): string | undefined;\nexport function printDirect(options: PrintDirectOptions): void;\nexport function printFile(options: PrintFileOptions): void;\nexport function getSupportedPrintFormats(): string[];\nexport function getJob(printerName: string, jobId: number): JobDetails;\nexport function setJob(printerName: string, jobId: number, command: \"CANCEL\" | string): void;\nexport function getSupportedJobCommands(): string[];\n\nexport interface PrintDirectOptions {\n    data: string | Buffer;\n    printer?: string | undefined;\n    type?: \"RAW\" | \"TEXT\" | \"PDF\" | \"JPEG\" | \"POSTSCRIPT\" | \"COMMAND\" | \"AUTO\" | undefined;\n    options?: { [key: string]: string } | undefined;\n    success?: PrintOnSuccessFunction | undefined;\n    error?: PrintOnErrorFunction | undefined;\n}\n\nexport interface PrintFileOptions {\n    filename: string;\n    printer?: string | undefined;\n    success?: PrintOnSuccessFunction | undefined;\n    error?: PrintOnErrorFunction | undefined;\n}\n\nexport type PrintOnSuccessFunction = (jobId: string) => any;\nexport type PrintOnErrorFunction = (err: Error) => any;\n\nexport interface PrinterDetails {\n    name: string;\n    isDefault: boolean;\n    options: { [key: string]: string };\n}\n\nexport interface PrinterDriverOptions {\n    [key: string]: { [key: string]: boolean };\n}\n\nexport interface JobDetails {\n    id: number;\n    name: string;\n    printerName: string;\n    user: string;\n    format: string;\n    priority: number;\n    size: number;\n    status: JobStatus[];\n    completedTime: Date;\n    creationTime: Date;\n    processingTime: Date;\n}\n\nexport type JobStatus = \"PAUSED\" | \"PRINTING\" | \"PRINTED\" | \"CANCELLED\" | \"PENDING\" | \"ABORTED\";\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 09:09:39 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n\r\n# Credits\r\nThese definitions were written by [Christos Panagiotakopoulos](https://github.com/chrispanag).","users":{}}