{"repo":"artiebits/pdf-to-printer","free":true,"listed":false,"github":"https://github.com/artiebits/pdf-to-printer","clone":"git clone https://github.com/artiebits/pdf-to-printer.git","description":"Print PDFs and images directly to Windows printers from Node.js or Electron.","language":"TypeScript","stars":495,"topics":["pdf","printer","pdf-printer","zebra-printer","rollo-printer","silent-printing","nodejs","electron","windows","jpeg"],"license":"MIT","category":"media-processing","readme_excerpt":"PDF to Printer Print PDF files and images directly to Windows printers from Node.js or Electron. Works with office printers, label printers (Zebra, Rollo), and network printers alike. Features - Print PDFs and images to any Windows printer - Precise control over printing options (pages, orientation, paper size, etc.) - Label printer support (Rollo, Zebra, and more) - Printer discovery - list all available printers - Fast and reliable using SumatraPDF engine - TypeScript support with full type definitions - Windows only - for Unix-like systems, see unix-print Requirements - Windows — for macOS and Linux, use unix-print (same API, same author) - Node.js 14 or later Installation Quick Start Common Use Cases Shipping label printing — send generated labels directly to a Zebra or Rollo printer in an order fulfillment backend: Invoice and receipt printing — print from a Node.js server without any user interaction: Electron desktop app — paths inside .asar archives are handled automatically: Print specific pages only: Support This Project If you rely on this package, please consider supporting it. Maintaining an open source project takes time and your support would be greatly appreciated. API Reference print(pdf, options?) Prints a PDF file to a printer. Parameters: - pdf (string): Path to the PDF file to print - options (PrintOptions, optional): Printing configuration options Returns: Promise Throws: Error if the PDF file doesn't exist, the operating system is not supported, or prin","default_branch":null,"files":null,"tree":[],"storefront":"/r/artiebits","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/artiebits/pdf-to-printer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}