drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

Try to print landscape mode. Prints portrait mode instead (Windows)

Open jeff922 opened this issue 4 years ago • 12 comments

  • [X ] I agree to follow the Code of Conduct that this project adheres to.
  • [X ] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug Printing with Landscape mode selected still prints in Portrait mode.

To Reproduce File -> New -> Network > network.lan.xml

File -> Print. Fit to 1 sheet across 1 down, Paper Size = US-Letter 8.5x11" Landscape still prints in Portrait mode. HP Printer.

Changing paper size to/from portrait and landscape in print dialog has not affect on print orientation. Changing paper size from Diagram tab also does not appear to rotate the printout.

Expected behavior I expect the printed output to be rotated 90 degrees when fitted to one page, so printout takes up full sheet of paper.

  • draw.io version
  • 14.4.3

Desktop (please complete the following information): Windows 10 20H2 19042.804

jeff922 avatar Feb 28 '21 15:02 jeff922

Hi,

if change to Landscape in Preferences section, does it help? If not, you could try File > Export as > Advanced > PDF and change settings.

Regards,

mararad avatar Mar 01 '21 10:03 mararad

The export Advanced PDF is a good workaround. That works for now.

I could not find a Preference section in the draw.io GUI. I this is the Diagram ->Paper Size tab, I tried changing from portrait to landscape there, but I don't see any change

jeff922 avatar Mar 01 '21 13:03 jeff922

Hi, for the record, in draw.io on 15.4.0 running on macOS 11.6 the problem is still present. @mararad Thank you for the workaround. regards Herb

maps0n avatar Nov 01 '21 09:11 maps0n

See the same in 15.7.3. In both Macos (Intel) and Windows version of draw.io, the print interface gives Portrait and Landscapes as options. However, the setting does not seem to be passed through to the OS printing interface - select Landscape, and the printout still arrives in portrait.

To Reproduce Steps to reproduce the behavior:

  1. Go to Print
  2. Select landscape
  3. Click Ok
  4. On Mac, click Show details - in the Layout page, Portrait is selected. On Windows 10, select a printer and click Preferences. Portrait is selected. This is the case for the printer I have and Microsoft Print to PDF

The selection in draw.io is not getting passed through to the OS printing service.

dunxd avatar Nov 19 '21 18:11 dunxd

v20.3.0 on MacOS 12.6.1 still exhibits this problem. Most vexing. Is this on the To Fix list? The wontfix tag is a little disconcerting for such a fundamental problem.

twojtyniak avatar Dec 07 '22 19:12 twojtyniak

The portrait / landscape preference failure still exists in Windows 11 / 21.2.8. Even though I have landscape as my canvas and printing preference in draw.io, I have to change the orientation in my printer dialog.

wrldtvlr avatar May 04 '23 13:05 wrldtvlr

A fix for the portrait/landscape option in the system dialog will be added in the next release

m-mohamedin avatar Sep 29 '23 19:09 m-mohamedin

Fix in 22.0.2.

davidjgraph avatar Oct 03 '23 11:10 davidjgraph

Sorry - upgraded to 22.0.2 and printed a document set to landscape. Still comes out in portrait unless I change the system dialog. Windows 11.

wrldtvlr avatar Oct 03 '23 13:10 wrldtvlr

Sorry - upgraded to 22.0.2 and printed a document set to landscape. Still comes out in portrait unless I change the system dialog. Windows 11.

I believe this is a bug in Electron itself, we set the landscape in the settings and it works on macOS but not on Windows

m-mohamedin avatar Oct 03 '23 13:10 m-mohamedin

I am using the 22.1.2 version on Windows 10 Pro.

I am not able to print in landscape mode OR do a print preview.

I tried using the settings on the right under 'Diagram' AND going under 'File > Page Setup' ... neither worked.

Thanks for your work on this, I do love draw.io!

fixinproblems avatar Dec 06 '23 14:12 fixinproblems

Is this still an issue in the latest release. I've just tried and it looks OK to me Screenshot 2024-06-07 at 7 40 22 PM

m-mohamedin avatar Jun 07 '24 23:06 m-mohamedin

I agree - it appears to be working correctly in build 24.5.1.

wrldtvlr avatar Jun 08 '24 16:06 wrldtvlr