Incorrect page orientation

• Apr 20, 2024 - 12:33

Page orientation is handle incorrectly:

Screenshot from 2024-04-20 10-44-38.png

Screenshot from 2024-04-20 10-45-01.png

The same problem occurs with all scores coming from Musescore 3. New files created in Musescore 4 are OK.


Comments

That looks like it's generated by your printer driver rather than by Musescore.

I always export as a pdf from Musescore first and then print from Adobe as that has a wider range of print options than my printer driver. Try that.

In reply to by SteveBlower

I already did that, and it works fine. It's not even necessary, though. As a workaround, selecting landscape prints fine in portrait mode. But the fact that it occurs only with files created in Musescore 3 and opened in Musescore 4 is strange.

In reply to by peewhy

Perhaps there is something odd about the MU3 scores that are demonstrating the problem. Please attach one here so that someone can take a look.

Some more questions that may aid diagnosis.

  • Which version of Musescore are you using and what operating system. You can copy that information from the Help>About menu and paste it into your reply.
  • Can you try it on another printer? Even a virtual "print to pdf" one.
  • What is the default paper orientation and size set at in your printer driver?
  • Which printer and driver are you using?
  • Can you update your printer driver?

And the usual one.

  • have you tried turning it off and on again? It really works sometimes!

In reply to by SteveBlower

  • Which version:
    OS: Ubuntu 22.04.4 LTS, Arch.: x86_64, MuseScore version (64-bit): 4.2.1-240230938, revision: d757433

Also version 3, which works fine:
OS: Ubuntu Core 18, Arch.: x86_64, MuseScore version (64-bit): 3.6.2, revision: 3224f34

  • Can you try it on another printer? Even a virtual "print to pdf" one.
    No other printer at the moment, but printing to pdf file works fine. Printing from pdf viewer also works fine. Printing from other applications such as LibreOffice also works fine. Printing to file, or exporting to pdf, and then printing trough pdf viewer works fine.

  • What is the default paper orientation and size set at in your printer driver?
    portrait

  • Which printer and driver are you using?
    No specific driver. Printer is recognize by Ubuntu and works mostly fine. The only function that isn't supported by Ubuntu is recto/verso. The HP driver downloaded from HP doesn't work at all.

  • Can you update your printer driver
    No, for the reason above

  • Have you tried turning it off and on again? It really works sometimes!

Yes. Restarting the printer didn't change anything.

By the way, it appears that the files created with Musescore 4 have the same problem now. It might be related to an update of the kernel that I did yesterday. So I have restarted the computer with the previous kernel, but it didn't solve the problem.

It doesn't seems useful to upload a file since it now does it with any file, even a newly created blank file.

Musescore 3 doesn't have this problem.

In reply to by peewhy

I don't have much experience if linux but I understand that musescore distributed from some sources other than here - the Musescore.org site may have incorrect/outdated libraries. Did you download and install the app image from here?

A newly created score may include some customised settings. Or possibly it is a particular combination of instruments/fonts/other things that I can't think of yet that may cause the problem. It is a long shot but it would he useful to rule out score peculiarities as the cause and so an upload of an example would be somewhat worthwhile.

In reply to by SteveBlower

  • Did you download and install the app image from here?

Yes. By the way, I created a new document, selecting a single instrument, nothing else, and it has the same problem. Not a big deal, though, since the workaround is to select "landscape" in the printing dialog box. It's just that the "portrait" button selects "landscape" and the "landscape" button selects "portrait". Musescore 3 has the same printing dialog box (although with an slightly older look, but with the same options disposed with the same layout) and it works normally.

In your screenshots...

For 'Portrait', the (grayed out) 'Width' x 'Height' shows 11.69in. x 8.26in.
For 'Landscape', the (grayed out) 'Width' x 'Height' shows 8.26in. x 11.69in.
Clearly, the widths and heights are reversed.
Also, 'Page size' shows 297x210mm. Margins are stated as 0.00in.
Why the mixed standards (mm and in)?
Also, what size paper are you using?

In reply to by peewhy

Ubuntu 22.04 here. Epson printer (but i don't think MS4 is using settings from printer anymore). I don't have this problem.
Early MS4 releases had this problem: https://github.com/musescore/MuseScore/issues/12829
Just an idea: maybe you could check
cat /etc/papersize
a4

and you locale (mine: LC_PAPER=nl_BE.UTF-8)
locale -k LC_PAPER
height=297
width=210
paper-codeset="UTF-8"

IMHO, usage of inches and/or centimeters are based on locale settings.

Do you still have an unanswered question? Please log in first to post your question.