What you need
Before starting, make sure you have the following on the Windows machine:
- Administrator access to the machine.
- Thermal printer already installed in Windows (visible in Devices and Printers).
- PowerShell available (included in Windows 10 and 11).
- Internet connection.
Install QZ Tray
Open PowerShell as administrator and run the Recompry installation script:
PowerShell -ExecutionPolicy Bypass -File .\scripts\install-qz-windows.ps1If you already downloaded the QZ Tray .exe installer manually, you can specify the path:
PowerShell -ExecutionPolicy Bypass -File .\scripts\install-qz-windows.ps1 -InstallerPath .\qz-tray.exeTo open PowerShell as administrator: right-click the Windows Start button and select 'Windows PowerShell (Admin)'.
Provision the Recompry certificate
If QZ Tray is already installed and you only need to add the certificate for silent printing, run:
PowerShell -ExecutionPolicy Bypass -File .\scripts\qz-provision-own-root-windows.ps1 -RootCertPath .qz\root-ca.crtConnect in Recompry
- Open QZ Tray if it is not running (it will appear in the system tray).
- Sign in to Recompry and go to Settings > Printing.
- Select the location you are configuring.
- Under Printer selection, switch to QZ Tray.
- Click Refresh to detect available printers.
- Select your thermal printer from the list.
- Set the Paper width (usually 80 mm).
- Define whether each template should open the cash drawer.
Test printing
- In the Templates section, find the template you want to test (Order, Pre-bill, Invoice).
- Click the printer icon next to each template.
- Verify the ticket prints correctly.
The first time you print, QZ Tray may show a trust dialog. Accept it and check 'Remember this decision'.
Configure print zones
Set up zones to automatically route orders to different printers by area (kitchen, bar, cashier).
- Go to Settings > Printing > Print zones.
- Click Create zone.
- Name the zone (e.g., Kitchen, Bar).
- Assign the corresponding printer.
- Save your changes.
Troubleshooting
If QZ Tray does not connect or no printers appear:
- Verify QZ Tray is running in the system tray (bottom-right corner).
- Check that your antivirus or firewall is not blocking localhost:8181 or localhost:8182.
- Restart QZ Tray from the system tray.
- Go back to Settings > Printing and click Refresh.