Print without saving as file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PetyaNic
    New Member
    • Jun 2007
    • 3

    Print without saving as file

    Hello,
    I'm a very beginner in Javascript and sorry if my question sounds stupidly.
    I want to print a page without showing the print window and without saving the page as a file. I want the user only to click a button and the page to be printed on the default printer. Is it possible?
  • mrhoo
    Contributor
    • Jun 2006
    • 428

    #2
    Not with javascript.

    Comment

    • dmjpro
      Top Contributor
      • Jan 2007
      • 2476

      #3
      Originally posted by mrhoo
      Not with javascript.
      These r under the Web-Browser.
      So these r not possible with JS.

      Kind regards,
      Dmjpro.

      Comment

      • PetyaNic
        New Member
        • Jun 2007
        • 3

        #4
        Thanks.
        But does anyone know how can i do this?

        I'm having a web site with .NET C# and I want to make some reports and then print them only with clicking a button.
        And also there is a problem that sometimes they can be several pages.How can I control not to be cut in the middle of a row.

        Comment

        • pankil
          New Member
          • Jun 2007
          • 2

          #5
          Originally posted by PetyaNic
          Thanks.
          But does anyone know how can i do this?

          I'm having a web site with .NET C# and I want to make some reports and then print them only with clicking a button.
          And also there is a problem that sometimes they can be several pages.How can I control not to be cut in the middle of a row.

          Hi,
          I want same thing if you got solution please send me

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            Originally posted by PetyaNic
            Thanks.
            But does anyone know how can i do this?

            I'm having a web site with .NET C# and I want to make some reports and then print them only with clicking a button.
            And also there is a problem that sometimes they can be several pages.How can I control not to be cut in the middle of a row.
            This is probably possible with ActiveX, but that's not Javascript and it would only work in IE. What's wrong with the print dialog box anyway? It just allows the user to confirm the print.

            Comment

            • PetyaNic
              New Member
              • Jun 2007
              • 3

              #7
              I don't want to have a print dialog because the documents will be printed very often
              So it will not be appropriate to see every time the dialog and again click the print button.
              May be I will look for Active-X.
              Thanks :)

              Comment

              Working...