QZ Tray is a cross-platform desktop application that connects web applications with locally attached printers and peripheral devices. It provides a JavaScript interface that communicates with the desktop service through WebSocket connections. The application supports raw printing languages such as ZPL, EPL, ESC/POS, and PCL. Users can also print PDF documents, HTML content, and raster images through compatible printer drivers. Hardware communication capabilities include serial ports, USB devices, HID peripherals, and network sockets. Digital certificates and signed messages provide mechanisms for authorizing trusted applications. QZ Tray is particularly suitable for point-of-sale systems, shipping label generation, receipt printing, and browser-based enterprise applications.
Features
- Direct browser-based printing through local WebSocket communication and JavaScript integration
- Raw printer command support for ZPL, EPL, ESC/POS, PCL, and other languages
- PDF, HTML, and raster image printing with configurable print settings
- Communication with serial ports, USB devices, HID peripherals, and network sockets
- Digital certificate authentication and signed message verification for trusted applications
- Cross-platform compatibility with Windows, macOS, and Linux printing environments