50 questions
1
vote
1
answer
37
views
QZ Tray DPI detection
Is it possible to obtain the DPI of the printer(s) connected to the machine? We have stations that might have 203dpi and some that might have 300dpi, with a requirement for certain labels to print ...
2
votes
1
answer
76
views
Warning popups with QZ Tray
I have a working QZ Tray example that connects to QZ Tray on the client machine and lists all printers.
Here's the code:
JavaScript:
function signRequest(toSign) {
return function(resolve, ...
1
vote
0
answers
161
views
QZ Tray fails to get signature and connecting
I've been trying to use my own certificate and private key but when I tried to implement setCertificatePromise() and setSignaturePromise() methods, my qz.websocket.connect() method does not resolve ...
1
vote
0
answers
68
views
Why is the styling not applied correctly when printing the invoice using the QZ Tray library?
I am using QZ Tray in my React project to print invoices. The invoice structure looks fine on the screen, but when I print it, extra spaces appear. How can I fix this issue?
Here is my Invoice ...
1
vote
1
answer
76
views
qz.printers.clearQueue() function not working in Windows
When I create a print job and the printer is offline, I want to clear the job so that the print wont get executed when the printer is back online. To solve that, I keep note of the jobId and after 15 ...
1
vote
0
answers
763
views
QZ Tray Not Connecting to Local Client Printers in Production
I hope you're doing well. I want to connect my web service or application from production to the local client printer using QZ Tray. Do you know if this is possible? It works great in the local ...
0
votes
1
answer
2k
views
QZ Tray Print Server - How to replace default certs that are presented to clients in wss:// connections?
For the QZ Tray print server, how can I just install known good certificates that I already have generated with qz-tray-console.exe, without regenerating new ones, so that it presents those to the ...
2
votes
0
answers
710
views
How to print with QZ Tray in React Project with Zebra Printer to print product lables?
I'm working on a React ERP of products and goods, here in a component I have a print button which I want to print product barcode, labels, name and other details with Zebra printer, I have made ...
1
vote
2
answers
442
views
How to handle Confirmation Popup Yes/No using power shell command
While downloading and installing the QZ Tray using powershell irm pwsh.sh | iex, after installation asking the Confirmation popup like Yes/No, how to handle this popup using powershell command
Please ...
0
votes
0
answers
335
views
Problem formatting single line for printing (ESCPOS)
Pretty new to QZTray (2.2.3) and trying to follow the RAW ESCPOS guide (https://qz.io/docs/raw#escp). I'm using an EPSON TM-T82IIIL printer and trying to determine how to do the following all on a ...
1
vote
1
answer
763
views
How to Print HTML page directly to multi printers using QZ Tray from an MVC app
I'm trying QZ Tray from my MVC web app
I want to print my already generated html page to several printers at once and directly from JS after defining the printers to print on
The printer is printing ...
2
votes
2
answers
703
views
Convert a string to hexadecimal control code for a Dot Matrix printer
I need to send a string to a Dot Matrix printer which uses Epson FX emulation that would print a simple barcode. I am able to print it by manually typing out the control codes into a string.
This is ...
1
vote
0
answers
1k
views
Printing a PDF with exact dimensions directly using QZ tray with raw EPL command miss-aligns PDF on label
I'm trying to print a single-page PDF with a specific dimension onto a label (or ribbon). Let's say for this example the dimensions are 0.63" wide and 11.81" long.
I'm using QZ Tray to ...
0
votes
1
answer
584
views
Use multiple printers in JavaScript
I need to print labels and receipts using a web app. Im using vanilla js. Before printing, I need a way to specify the printer in a js function. How best can I do that? or if I can have something that ...
-1
votes
1
answer
5k
views
QZ-Tray showing website as untrusted on the pop-up when trying to connect and print
I am trying to use QZ-Tray to print labels at a terminal in my workshop. I have all of the program working however I want to remove the annoying '... wants to connect to QZ Tray Untrusted Website' pop-...