qzind / tray

Browser plugin for sending documents and raw commands to a printer or attached device.
https://qz.io
Other
848 stars 276 forks source link

Dymo 30336 size can't be configured solely via QZ Tray #696

Closed CindyLulu closed 3 years ago

CindyLulu commented 4 years ago

After sending print configurations to the qz tray client, do we still need to configure the related layout size in the windows printer preference modal? For example, when I used qz tray to print Dymo 30336 label, even though I sent correct label size for the qz config parameters, the label scale on the printed label was not correct due to the default layout size in windows printer preferences modal was 30252, not 30336. I have to manually adjust the the printer layout size on windows also to make the print layout correct.

tresf commented 4 years ago

After sending print configurations to the qz tray client, do we still need to configure the related layout size in the windows printer preference modal?

Ideally, no. In practice, it seems some drivers honor our dimensions, some do not. It's probably a bug, but I'm not sure where it lives. For example, if we send a 4x6 PDF to PDFCreator, it sizes properly, produces a 4x6 PDF. However -- as you've indicated -- the same is NOT honored for Dymo printers.

CindyLulu commented 4 years ago

Right, I find the zebra driver doesn't have this issue, but Dymo and Rollo meet with this issue. Please let me know if this issue can be fixed in the future. Thanks!

tresf commented 4 years ago

Assigning @lite1979 to investigate this as to whether it's a bug with QZ Tray/Java (isolated) or if it's just a bug with the driver implementation in general (affecting apps like Acrobat, etc).

lite1979 commented 3 years ago

Unfortunately, outside programs cannot override the driver page size settings for the Dymo 450 printers. I have tested this against both QZ-Tray and Adobe Acrobat with the same PDF, intended for 30336 label size, and similar results were observed for both applications when the driver was not set to 30336 (2.13x1").

In short, the correct label size must be defined in the driver for Dymo 450 LabelWriter printers, regardless of the application printing to it.

Page size is controlled via Control Panel > Hardware and Sound > Devices and Printers > Dymo Labelwriter 450 Turbo (or similar) > right click > Printing Preferences > Advanced > Paper/Output Paper Size : 30336 (or your preferred label size)

Since the size is not evident from the name of the label stock for this series of printer, selecting the printer and clicking "Print Server Properties" at the top of the Control Panel window will open a new window that gives width and height for all of the numbered label options.

From the manual, page 10: http://download.dymo.com/dymo/technical-data-sheets/LW%20450%20Series%20Technical%20Reference.pdf

LabelWriter 450 Series Technical Reference Manual Page 10 The 450 series printers do not compare the label length variables sent by the host with the actual length of the currently loaded label stock. The printers only use the information provided to maintain the logical position counter. In addition, the printer does not check for inter-label gap when printing. It is the responsibility of the host computer to avoid overrunning the label area.