Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How To directly Print Using Microsoft.Reporting.WinForms.ReportViewer

How To directly Print Using Microsoft.Reporting.WinForms.ReportViewer

Scheduled Pinned Locked Moved C#
csharpwinformsdesignsalestutorial
4 Posts 2 Posters 0 Views 1 Watching
  • 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.
  • T Offline
    T Offline
    Thaer Hamael
    wrote on last edited by
    #1

    Hello I'm working on writing code that the retailer C #. Net I want to print an invoice directly when you save a sales invoice, which I've created the report has been the emergence of all the details desired in the report and after the appearance of the report I print it through the land cover on the button of your printer in the report is already in MicroSoft.Reporting.WinForms.ReportViewer And a data source by the name of the report SaleReport.rdlc And a source of design through SalesDataSet.xsd I Bouklgaha in the system through the addition of Add NewItem But after arriving in this class I want to print the report directly from that I am not pressing any button on the screen without opening the screen that Tardhaltgarir How can I print this way without the emergence of direct ReportViewer I am sorry if they write English is poor :rose:

    Thaer

    L 1 Reply Last reply
    0
    • T Thaer Hamael

      Hello I'm working on writing code that the retailer C #. Net I want to print an invoice directly when you save a sales invoice, which I've created the report has been the emergence of all the details desired in the report and after the appearance of the report I print it through the land cover on the button of your printer in the report is already in MicroSoft.Reporting.WinForms.ReportViewer And a data source by the name of the report SaleReport.rdlc And a source of design through SalesDataSet.xsd I Bouklgaha in the system through the addition of Add NewItem But after arriving in this class I want to print the report directly from that I am not pressing any button on the screen without opening the screen that Tardhaltgarir How can I print this way without the emergence of direct ReportViewer I am sorry if they write English is poor :rose:

      Thaer

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      There's a walkthrough by Microsoft here[^], explaining how to print a report without showing it. Good luck :)

      I are Troll :suss:

      T 1 Reply Last reply
      0
      • L Lost User

        There's a walkthrough by Microsoft here[^], explaining how to print a report without showing it. Good luck :)

        I are Troll :suss:

        T Offline
        T Offline
        Thaer Hamael
        wrote on last edited by
        #3

        Hello Thank you for the help But this is not what I want because: the source of the database is not an existing file, but I have to create DataSet In the system and you put a source of the report and the report shows all the details that I want to But what I want is to print directly now :rose:

        Thaer

        L 1 Reply Last reply
        0
        • T Thaer Hamael

          Hello Thank you for the help But this is not what I want because: the source of the database is not an existing file, but I have to create DataSet In the system and you put a source of the report and the report shows all the details that I want to But what I want is to print directly now :rose:

          Thaer

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Thaer Hamael wrote:

          you put a source of the report and the report shows all the details

          A generic report that shows whatever data that you point to? That would require you to generate the RDL[^] at runtime. Happy Programming :)

          I are Troll :suss:

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups