• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Where is the portrait vs landscape choice?

    Opera for Windows
    5
    21
    7626
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sgrandin
      sgrandin last edited by

      Looking at Print Preview for a page and it shows in landscape, when it should be in portrait, as it normally is. The printer's System Dialogue preferences are set to Portrait. I don't see anything on the PP pop up for portrait vs landscape. Where is it being controlled? Version 80.0.4170.63 Thanks,

      Reply Quote 0
        sgunhouse 1 Reply Last reply
      • sgunhouse
        sgunhouse Moderator Volunteer @sgrandin last edited by

        @sgrandin Strange ... when I look at a print preview of this page I see "Layout: Portrait" over in the right column.

        Reply Quote 1
          sgrandin 1 Reply Last reply
        • sgrandin
          sgrandin @sgunhouse last edited by sgrandin

          @sgunhouse That's what I thought too, but not this one:

          https://1drv.ms/u/s!AqsCKHVTj0ydqRvtsuCvfznCUEOs

          It's an order summary page at Vitacost. Layout starts to appear then disappears. Looks like Opera is having a problem with it.

          Reply Quote 0
            sgunhouse 1 Reply Last reply
          • sgunhouse
            sgunhouse Moderator Volunteer @sgrandin last edited by

            @sgrandin There is a size limit (megabytes, not dimensions) on image uploads in the forum. Either cut the image down to the important parts (in this case, the options panel) or use an external host and embed the image from there.

            Given it is apparently showing Landscape, the panel may be somewhat narrow and you may have to scroll it.

            Reply Quote 0
              sgrandin 1 Reply Last reply
            • sgrandin
              sgrandin @sgunhouse last edited by sgrandin

              @sgunhouse Well, now two problems: the jpg image of the right side is 41k, which presumably is well within the size limits of this forum, but gives an error message when uploading. So I used OneDrive. https://1drv.ms/u/s!AqsCKHVTj0ydqRvtsuCvfznCUEOs

              Reply Quote 0
                Kramy 1 Reply Last reply
              • Kramy
                Kramy @sgrandin last edited by

                @sgrandin This must be a recent change to Opera. I am having the same problem on some websites, like Newegg. Opera forces them to be Landscape (across 3 pages) when previously the invoice fit on one. If I force it to Portrait in my printer drivers... I get a smaller portrait page printed landscape with a white bar on the right! Oy!

                Only certain websites do it. Most still have the option to change the layout. And most still default to Portrait. So I'm assuming there's either some intuitive AI settings thingy at work (which should be disabled IMO - just show me all the options) or they've enabled something that lets websites choose what you can and can't see. (bad form, IMO) Generally when you allow websites to decide what you can see - like if you have a mouse cursor, or whether menu and address bars are there, or whether to go fullscreen, etc - some scammer comes along and combines all the features into a way to trick elderly people and computer novices into paying them money. If you give a website some trust or some rope, they'll hang you with it.

                I want my print options back so that I can print invoices properly.

                Reply Quote 0
                  leocg burnout426 2 Replies Last reply
                • leocg
                  leocg Moderator Volunteer @Kramy last edited by

                  @kramy What is the behavior in other Chromium based browsers?

                  Reply Quote 0
                    1 Reply Last reply
                  • burnout426
                    burnout426 Volunteer @Kramy last edited by

                    @kramy Do you have a link to a public page that triggers landscape print layout?

                    Reply Quote 0
                      Kramy 1 Reply Last reply
                    • Kramy
                      Kramy @burnout426 last edited by

                      @burnout426 It's usually invoices for me - so public pages? Not yet.

                      @leacg Yes, Chrome and other browsers do it too.

                      Here's an example with personal info blotted out. Amazon is portrait. Newegg.ca is portrait. Newegg order invoices are landscape with no option to change it.

                      deb9c7be-a528-429b-9f0d-d22dd30877f1-image.png

                      fed3fa92-ef9b-4dd5-8641-76dee78eac24-image.png

                      69f60ce8-bc6b-44c1-9857-008d024b668a-image.png

                      Reply Quote 1
                        burnout426 leocg 2 Replies Last reply
                      • sgrandin
                        sgrandin last edited by

                        Thanks Kramy for mentioning it too. It's been a couple of months, but my hazy memory is that it was also an invoice or something similar that led me to post.

                        Reply Quote 0
                          1 Reply Last reply
                        • burnout426
                          burnout426 Volunteer @Kramy last edited by burnout426

                          @kramy When you're on the invoice page you want to print, close the print dialog if it's open, hit ctrl + shift + i to open the developer tools. Then, on the "sources" tab, look at the page's css files and see if you can find something like:

                          @media print
                          {
                          @page
                          {
                          size: landscape;
                          }
                          

                          If so, I think Chromium honors that strictly without a way to override it.

                          To test if it's a problem, delete size: landscape; from the css file (the css is editable there) and try hitting ctrl + p again to see if it then shows the layout drop-down to switch between landscape and portrait.

                          If you find this is the case, the site needs to fix their css to not force landscape mode.

                          I found https://ocw.mit.edu/ans7870/SP/SP.236/S09/lecturenotes/drugchart.htm as an example page. (Found that at https://superuser.com/questions/1455052/how-do-i-force-chrome-to-print-a-web-page-in-portrait-mode)

                          I also think there's an old post on these forums about this. Will see if I can find it.

                          Reply Quote 1
                            burnout426 Kramy 2 Replies Last reply
                          • sgrandin
                            sgrandin last edited by

                            Btw, I reported this as a bug on Oct 21 -- BS-20978. Would have thought it would have been fixed by now.

                            Reply Quote 0
                              burnout426 1 Reply Last reply
                            • burnout426
                              burnout426 Volunteer @burnout426 last edited by

                              @burnout426 said in Where is the portrait vs landscape choice?:

                              also think there's an old post on these forums about this. Will see if I can find it.

                              Couldn't find the thread on it, but found the bug I was thinking of (and previously commented in it and starred it). See https://bugs.chromium.org/p/chromium/issues/detail?id=1016235. There's also https://bugs.chromium.org/p/chromium/issues/detail?id=1098468.

                              I found those by searching for https://bugs.chromium.org/p/chromium/issues/list?q=css page size landscape&can=1.

                              https://bugs.chromium.org/p/chromium/issues/detail?id=1202672&q=css page size landscape&can=1 is another bug that sounds like the issue. But, that one was marked "wontfix" because the user didn't respond.

                              Reply Quote 1
                                1 Reply Last reply
                              • Kramy
                                Kramy @burnout426 last edited by

                                @burnout426 Yep, that did it. Found it in cartDetail-blahblahhex.css - as soon as I removed it, I was able to change the orientation in the print dialog again.

                                That's just silly that this is even a feature. I see so many ways that this could go wrong. Only makes sense for precisely laying out stuff, which business apps might use - but then they should be using locked down LTS web browsers, not public builds.

                                Reply Quote 1
                                  1 Reply Last reply
                                • burnout426
                                  burnout426 Volunteer @sgrandin last edited by burnout426

                                  @sgrandin This is something that Opera inherits from Chromium. Chromium bugs need to be filed at https://bugs.chromium.org/p/chromium/issues/list.

                                  In my opinion, it's https://bugs.chromium.org/p/chromium/issues/detail?id=1098468 that represents this issue (even if it's about "portrait" instead of "landscape"). The bug has been stalled, but someone could comment on the bug and point to this forum etc.

                                  Reply Quote 0
                                    sgrandin 1 Reply Last reply
                                  • sgrandin
                                    sgrandin @burnout426 last edited by

                                    @burnout426 Presumably, Opera communicates with Chromium's developers

                                    Reply Quote 0
                                      burnout426 1 Reply Last reply
                                    • burnout426
                                      burnout426 Volunteer @sgrandin last edited by

                                      @sgrandin Sometimes.

                                      Reply Quote 0
                                        1 Reply Last reply
                                      • leocg
                                        leocg Moderator Volunteer @Kramy last edited by

                                        @kramy So it's probably a Chromium issue, if not a page one.

                                        Reply Quote 0
                                          1 Reply Last reply
                                        • burnout426
                                          burnout426 Volunteer last edited by

                                          As a workaround, you can install User CSS. Then, when on the site that has the problem, click the extension's icon, add:

                                          @media print {
                                              @page {
                                                  size: auto;
                                              }
                                          }
                                          

                                          for the site and click the extension's icon again to save it.

                                          Then, reload the page if it's still open. From then on, you should be able to print with the orientation you want for the site.

                                          Reply Quote 1
                                            Kramy 1 Reply Last reply
                                          • Kramy
                                            Kramy @burnout426 last edited by

                                            @burnout426 Very helpful work-around! Thank you.

                                            In my opinion this should still be in the control of the end user. It's their printer and paper - they probably know best.

                                            Reply Quote 1
                                              1 Reply Last reply
                                            • First post
                                              Last post

                                            Computer browsers

                                            • Opera for Windows
                                            • Opera for Mac
                                            • Opera for Linux
                                            • Opera beta version
                                            • Opera USB

                                            Mobile browsers

                                            • Opera for Android
                                            • Opera Mini
                                            • Opera Touch
                                            • Opera for basic phones

                                            • Add-ons
                                            • Opera account
                                            • Wallpapers
                                            • Opera Ads

                                            • Help & support
                                            • Opera blogs
                                            • Opera forums
                                            • Dev.Opera

                                            • Security
                                            • Privacy
                                            • Cookies Policy
                                            • EULA
                                            • Terms of Service

                                            • About Opera
                                            • Press info
                                            • Jobs
                                            • Investors
                                            • Become a partner
                                            • Contact us

                                            Follow Opera

                                            • Opera - Facebook
                                            • Opera - Twitter
                                            • Opera - YouTube
                                            • Opera - LinkedIn
                                            • Opera - Instagram

                                            © Opera Software 1995-