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. Recommendations for creating and printing a form on a A4 paper?

Recommendations for creating and printing a form on a A4 paper?

Scheduled Pinned Locked Moved C#
visual-studiotoolshelpquestion
5 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.
  • D Offline
    D Offline
    DPaul1994
    wrote on last edited by
    #1

    Hello everyone. I want to develop a small application in Windows Form Application using VS Community 2015. I need to create some forms and then export them in a pdf file for printing. The problem is that I have to create the form to fit exactly in a A4 paper width and height. What tools do you recommand me to use or which do you think is the best approach?

    OriginalGriffO 1 Reply Last reply
    0
    • D DPaul1994

      Hello everyone. I want to develop a small application in Windows Form Application using VS Community 2015. I need to create some forms and then export them in a pdf file for printing. The problem is that I have to create the form to fit exactly in a A4 paper width and height. What tools do you recommand me to use or which do you think is the best approach?

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      Use a PrintDocument[^] - you have complete control over the exact placement of everything.

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      D 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        Use a PrintDocument[^] - you have complete control over the exact placement of everything.

        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

        D Offline
        D Offline
        DPaul1994
        wrote on last edited by
        #3

        Thank you, I will try with that..

        OriginalGriffO 1 Reply Last reply
        0
        • D DPaul1994

          Thank you, I will try with that..

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          You're welcome!

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          D 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            You're welcome!

            Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

            D Offline
            D Offline
            DPaul1994
            wrote on last edited by
            #5

            Ok so I have a problem. I have to create the form of the page with multiple data which will be inserted from textboxes and labels. I need to arrange them and in the final, I found a way to create more pages if is necessary. But I can't set the height of the windows forms larger than 780 and I really don't know why :)) Is there any way to create a structure for the form specially for printing? I'm kinda beginner with this type of projects..

            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