Set printer paper size from HTML?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Al Grant

    Set printer paper size from HTML?

    I have a 'printable' button to generate printable output
    and want this to use A3 if available, irrespective of the
    user's default printer setting. Is there any way to set
    a page's preferred printed paper size from HTML?
    Portable if possible, but IE-only would be better than nothing.
  • Bergamot

    #2
    Re: Set printer paper size from HTML?

    Al Grant wrote:
    I have a 'printable' button to generate printable output
    and want this to use A3 if available, irrespective of the
    user's default printer setting.
    What if the user doesn't have A3 paper?

    --
    Berg

    Comment

    • Harlan Messinger

      #3
      Re: Set printer paper size from HTML?

      Al Grant wrote:
      I have a 'printable' button to generate printable output
      and want this to use A3 if available, irrespective of the
      user's default printer setting. Is there any way to set
      a page's preferred printed paper size from HTML?
      Portable if possible, but IE-only would be better than nothing.
      Definitely not in HTML. In CSS3, yes, but this isn't an official
      recommendation yet and I doubt it has sufficient browser support,
      particularly in IE, though I could be wrong.

      Comment

      • Harlan Messinger

        #4
        Re: Set printer paper size from HTML?

        Harlan Messinger wrote:
        Al Grant wrote:
        >I have a 'printable' button to generate printable output
        >and want this to use A3 if available, irrespective of the
        >user's default printer setting. Is there any way to set
        >a page's preferred printed paper size from HTML?
        >Portable if possible, but IE-only would be better than nothing.
        >
        Definitely not in HTML. In CSS3, yes, but this isn't an official
        recommendation yet and I doubt it has sufficient browser support,
        particularly in IE, though I could be wrong.
        I'm not wrong. IE7 doesn't support it.

        Comment

        • David Stone

          #5
          Re: Set printer paper size from HTML?

          In article <606p8tF1nu0omU 1@mid.individua l.net>,
          Bergamot <bergamot@visi. comwrote:
          Al Grant wrote:
          I have a 'printable' button to generate printable output
          and want this to use A3 if available, irrespective of the
          user's default printer setting.
          >
          What if the user doesn't have A3 paper?
          What if the user does have A3 paper, but wants to print on
          A4 paper anyway? Maybe they even prefer to do a "two up"
          layout to save paper, so each page is effectively A5?

          There's a reason that these things are called USER preferences!

          Comment

          • usenet.sucks@gmail.com

            #6
            Re: Set printer paper size from HTML?

            On Jan 28, 1:42 pm, Harlan Messinger
            <hmessinger.rem ovet...@comcast .netwrote:
            Harlan Messinger wrote:
            Al Grant wrote:
            I have a 'printable' button to generate printable output
            and want this to use A3 if available, irrespective of the
            user's default printer setting. Is there any way to set
            a page's preferred printed paper size from HTML?
            Portable if possible, but IE-only would be better than nothing.
            >
            Definitely not in HTML. In CSS3, yes, but this isn't an official
            recommendation yet and I doubt it has sufficient browser support,
            particularly in IE, though I could be wrong.
            >
            I'm not wrong. IE7 doesn't support it.
            You are always wrong because your an idiot.

            Comment

            • David E. Ross

              #7
              Re: Set printer paper size from HTML?

              On 1/28/2008 11:25 AM, Al Grant wrote:
              I have a 'printable' button to generate printable output
              and want this to use A3 if available, irrespective of the
              user's default printer setting. Is there any way to set
              a page's preferred printed paper size from HTML?
              Portable if possible, but IE-only would be better than nothing.
              Being in the U.S., I have letterhead and legal sizes of paper but no A3.
              Do you mean that I should not print your page?

              As for your "IE-only would be better than nothing", the trend is that
              IE-only might someday become nothing. IE's share of the browser market
              has been declining steadily for the past four years.

              --
              David Ross
              <http://www.rossde.com/>

              Have you been using Netscape and now feel abandoned by AOL?
              Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.

              Comment

              • Stan Brown

                #8
                Re: Set printer paper size from HTML?

                Mon, 28 Jan 2008 11:25:05 -0800 (PST) from Al Grant
                <algrant@myreal box.com>:
                I have a 'printable' button to generate printable output
                and want this to use A3 if available, irrespective of the
                user's default printer setting.
                Stop wanting that. What size paper I use is my business, not yours.

                --
                Stan Brown, Oak Road Systems, Tompkins County, New York, USA
                DRAGON222 menjadi pusat resmi terunggul Sportsbook Digital. Sistem cepat respon, tampilan sangat lancar anti lag, dan kemungkinan menang terjadi pada tekad kuat anda.

                HTML 4.01 spec: http://www.w3.org/TR/html401/
                validator: http://validator.w3.org/
                CSS 2.1 spec: http://www.w3.org/TR/CSS21/
                validator: http://jigsaw.w3.org/css-validator/
                Why We Won't Help You:

                Comment

                • liamgegan@gmail.com

                  #9
                  Re: Set printer paper size from HTML?

                  On Jan 29, 11:52 am, "usenet.su...@g mail.com" <usenet.su...@g mail.com>
                  wrote:
                  You are always wrong because *your* an idiot.
                  lol Irony much?

                  Comment

                  • Andy Dingley

                    #10
                    Re: Set printer paper size from HTML?

                    On 28 Jan, 19:38, Bergamot <berga...@visi. comwrote:
                    What if the user doesn't have A3 paper?
                    Then the page should throw some degree on exception on printing,
                    possibly recoverable for manual intervention.

                    This isn't about selfishly excluding Americans who only have letter
                    and legal paper, it's about auto-switching printers with multiple
                    paper trays. It's a useful feature - nothing at all wrong with it.


                    AFAIK, it's not possible (for good, practical, standards-based
                    solutions available today). Future CSS will do it one day, in the
                    meantime there are IE-only solutions using an ActiveX control (start
                    looking with ScriptX from MeadCo)

                    Comment

                    • Al Grant

                      #11
                      Re: Set printer paper size from HTML?

                      On 29 Jan, 05:51, Stan Brown <the_stan_br... @fastmail.fmwro te:
                      Mon, 28 Jan 2008 11:25:05 -0800 (PST) from Al Grant
                      <algr...@myreal box.com>:
                      I have a 'printable' button to generate printable output
                      and want this to use A3 if available, irrespective of the
                      user's default printer setting.
                      >
                      Stop wanting that. What size paper I use is my business, not yours.
                      What I put on my pages is my business, not yours.

                      Comment

                      • Scott Bryce

                        #12
                        Re: Set printer paper size from HTML?

                        Al Grant wrote:
                        I and colleagues are the users and this is how we would
                        prefer to do it. The pages contain machine-generated reports.
                        The HTML specifies the fonts, font sizes, colors etc. to
                        maximise readability; specifying a paper size preference
                        would avoid paper wastage when people forget to select A3
                        and get something unreadably small.
                        If you need this much control over the page layout, you might consider
                        delivering in PDF format.

                        You still have no control over the paper size in the user's printer, and
                        the user can still resize the page, but you can format the page
                        specifically to fit a certain size of paper and hope the user
                        understands that.

                        Comment

                        • bealoid

                          #13
                          Re: Set printer paper size from HTML?

                          Al Grant <algrant@myreal box.comwrote in news:50cea324-cc0b-4afd-a9f3-
                          b00be7de2dda@d4 g2000prg.google groups.com:
                          I have a 'printable' button to generate printable output
                          and want this to use A3 if available, irrespective of the
                          user's default printer setting. Is there any way to set
                          a page's preferred printed paper size from HTML?
                          Portable if possible, but IE-only would be better than nothing.
                          A CSS rollover on the button to set some image to say "USE A3 PAPER
                          SETTINGS" is easy to implement and would seem to be better than nothing in
                          your specific situation. Sorry this isn't more use.

                          Comment

                          • Harlan Messinger

                            #14
                            Re: Set printer paper size from HTML?

                            Al Grant wrote:
                            On 29 Jan, 05:51, Stan Brown <the_stan_br... @fastmail.fmwro te:
                            >Mon, 28 Jan 2008 11:25:05 -0800 (PST) from Al Grant
                            ><algr...@myrea lbox.com>:
                            >>I have a 'printable' button to generate printable output
                            >>and want this to use A3 if available, irrespective of the
                            >>user's default printer setting.
                            >Stop wanting that. What size paper I use is my business, not yours.
                            >
                            What I put on my pages is my business, not yours.
                            *My* pages. *My* paper. *My* printer.

                            (This seems like such an odd thread. How w many people you think happen
                            to have a tray loaded with A3 paper sitting on their printer anyway?)

                            Comment

                            • bealoid

                              #15
                              Re: Set printer paper size from HTML?

                              Harlan Messinger <hmessinger.rem ovethis@comcast .netwrote in
                              news:60abghF1qb ackU1@mid.indiv idual.net:
                              Al Grant wrote:
                              >On 29 Jan, 05:51, Stan Brown <the_stan_br... @fastmail.fmwro te:
                              >>Mon, 28 Jan 2008 11:25:05 -0800 (PST) from Al Grant
                              >><algr...@myre albox.com>:
                              >>>I have a 'printable' button to generate printable output
                              >>>and want this to use A3 if available, irrespective of the
                              >>>user's default printer setting.
                              >>Stop wanting that. What size paper I use is my business, not yours.
                              >>
                              >What I put on my pages is my business, not yours.
                              >
                              *My* pages. *My* paper. *My* printer.
                              >
                              (This seems like such an odd thread. How w many people you think happen
                              to have a tray loaded with A3 paper sitting on their printer anyway?)
                              I used to have an A3 printer. I hated printing anything from the web,
                              because so many people did things in weird ways, and I was forced to use
                              Internet Explorer (this was around 1999 - 2003) on Windows 2000. All
                              technology sucks, but printing stuff out from the web, using IE, in 2002,
                              with piss-poor )(or no) css and spacer pixels and all that went with
                              them, REALLY SUCKED.

                              I have a lot of sympathy for the OP, especially if he's in the UK,
                              because often a boss will force the staff to do something in a suboptimal
                              way.

                              Comment

                              Working...