-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QZ-Tray reverses width and height values when pixel printing wide images #1230
Comments
Oh, I found them: https://github.com/tresf/tray/releases/tag/v2.2.3 |
Reopening because this bug is clearly different from #965 Tested and reproduced on both Linux and Mac using jpeg: results on both OSes are rotated 90 degrees with the jpeg provided. |
I understand that this is not exactly the target printer for your use-case @leoburgos |
Although not necessarily intuitive, I was able to get the desired results with the following settings: { size: { width: 1, height: 2 }, orientation: 'landscape' } ... both MacOS and Windows seemed to properly print the document. @leoburgos can you test this combination? |
The OP messaged me privately and is no longer using this feature. Closing for now. Feel free to request a reopen if it's believed that it was closed in error. |
Environment:
OS: MacOS Ventura
QZ Tray: 2.2.3
Config: width: 2, height: 1, units: 'in'
Java: Java(TM) SE Runtime Environment (build 12.0.2+10)
Printer: RWTS PDFwriter emulator and Canon MP250 series
Paper/Label: A4
PDF: Attached here:
QZ Tray Pixel Print-26.pdf
Expected results
PDF prints to label stock, scaled and positioned correctly. Pdf should be 2x1 inches size.
Positioned on the top left corner of the page when using physical printers
Actual results
PDF reverses the size measures, printing a 1x2 inches pdf with the design showing "horizontal" as it should be but the PDF being printed "vertically".
Depending on the image and sizes sent, printing position changes from bottom left to top center to other weird positions when printing on physical printers.
Background
I've tested with emulator and a few different printers, both in Windows and Mac and I get the same results. When printing vertical labels i.e. height being larger than width then it prints correctly as measures don't get reverted, such as this example:
QZ Tray Pixel Print-27.pdf
Code snippet:
Things I've tried so far:
-Windows vs Mac, emulator vs physical printers
Sounds related to this other open issue #965, but this one isn't tied specific neither to PDF printing nor to MacOS.
The text was updated successfully, but these errors were encountered: