How to create and print a complex form.

Gideon

Member
Joined
Aug 31, 2015
Messages
8
Programming Experience
Beginner
Hi All

I need to create and print the following form. It is really a repetition of the same small boa times six to fit onto an A4 sheet.

I have no idea where to start.

Regards
 

Attachments

  • Voorpars.pdf
    61.8 KB · Views: 30

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,335
Location
Sydney, Australia
Programming Experience
10+
When you say that you want to create a form, are you talking about displaying a Windows Form to the user that mimics that paper form or do you just mean create the form conceptually and then print the output?
 

Gideon

Member
Joined
Aug 31, 2015
Messages
8
Programming Experience
Beginner
Hi jmcilhinney

First of all thank you for your reply - much appreciated. Indeed what is need is the second part of your question. I only need to print the form - the user does not need to see the form.
I think I would need two datagridview's (each showing only part of the records). I know that the records for the datagridview would not be more than a certain amount. My problem is how to make the lay-out on a form/panel to print the would size of an A4 paper. Only the first "block" needs to be designed, then I could copy it six times to fit onto the A4 paper.
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
Look into the PrintDocument control.
You'll have to do the GDI+ coding yourself but that's easy to get the hand of.

You can use a PrintPeviewDialog to see the output as you code without needing to see it on paper.
 
Top Bottom