--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/bd16aa47-e36f-4973-a325-1f65d256710an%40googlegroups.com.
The way I was testing is as follows:I am using base64 PDF approach (like mentioned here : https://qz.io/docs/pixel#pdf-printing) to print a PDF using the size parameters that I mentioned in the thread and it always came out as 8.5 X 11 inch PDF. And then I used this PDF in the assets folder to try to print it again directly to my ZD421 printer and since I was using the same size configuration, I was expecting that QZ tray woud handle the supplied configuration to handle the 8.5 X 11 inch PDF and print it on a 2.62 X 1 inch label. But it sounds like I should directly print and bypass the PDF generation and testing approach.On Fri, Feb 23, 2024 at 6:23 AM Lite Finocchiaro <lite.m.fi...@gmail.com> wrote:To be clear, are you using the 8.5x11" PDF to print to the label printer via sample.html? I would expect the results you're seeing in the top three labels if that's the case.If you use the 2.62x1 PDF via QZ-Tray to print to the label printer, using autoScale: true and with the printer set to the correct size labels, I would expect the results to be similar to the last print, which I'm guessing was achieved with Adobe or a similar PDF viewer. Correct me if I'm wrong.Cheers,LiteOn Thu, Feb 22, 2024 at 4:36 PM Be the Change <beth...@gmail.com> wrote:Hi Lite,I am on Windows 11. When you say " For a virtual printer like Adobe, you may have to add a custom page size to the operating system to achieve the desired results." did you mean to say that while printing via QZ Tray, I need to provide some different configuration in sample.html?I am attaching the two PDFs that is getting generated from my application.1. PDF #1 (label_size_pdf_feb22.pdf): This is 2.62 X 1 inch label size that I am able to generate from my application without using QZ Tray and when I am printing it directly to my ZD 421 printer, it prints fine as shown in the image attached in this email.2. PDF#2: (pdf_sample.pdf) : This is the PDF that QZ Tray is printing (as 8.5 X 11 inches size) using configuration settings I showed earlier in my post.I specified size as :
{size: { width: 2.62, height: 1 },units: "in",colorType: "grayscale",interpolation: "nearest-neighbor",}
But it didn't seem to make any difference while printing it to my ZD421 printer and image seems to be printing very tiny as shown in the image attached in this email. If I just print to Adobe PDF, it will print the text nicely in a 8.5 X 11 inches PDF. However, printing it to ZD 421 seems to be printing like I have shown in the image attached ( the first 3 labels were the result of printing via QZ Tray and the as label was the result of directly printing the label to ZD 421 printer w/o having QZ Tray involved.)Please let me know if you need any more info.ThanksAK
Hi Lite,I have another question where I'm trying to print a code 128 barcode (with Jasper Report) on my label and the quality of the label seems to be not good. Please find the image attached. Is there a way it can be improved while using QZ Tray?Thanks!
--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/2d0539dc-3fa8-4863-8585-a13d5ae34b6an%40googlegroups.com.