hi there, i like to know how to print a record set in the following manner
with out using crystal reports or printing to the form or using msword etc.
heading 1
empno name salary
1111 abc 10000
. . .
. . .
. . .
there must be 1" gap between fields. all so after 50 records there must be a page break.
please put comments if you are giveing a small sample code (what i'm hoping for) cos i'm a new guy to this VB6 programming.
i'm testing this using "A4" paper so the main heading must centered.the whole process (reading data from database and then printing it)
must be done by single clicking of a command button.(i'm ok with reading from database part, just want to know the printing part)
the printing must be done while the vb programm is running (spoolng the data and then printing after the exit from the program is not the idea)
thank you.
with out using crystal reports or printing to the form or using msword etc.
heading 1
empno name salary
1111 abc 10000
. . .
. . .
. . .
there must be 1" gap between fields. all so after 50 records there must be a page break.
please put comments if you are giveing a small sample code (what i'm hoping for) cos i'm a new guy to this VB6 programming.
i'm testing this using "A4" paper so the main heading must centered.the whole process (reading data from database and then printing it)
must be done by single clicking of a command button.(i'm ok with reading from database part, just want to know the printing part)
the printing must be done while the vb programm is running (spoolng the data and then printing after the exit from the program is not the idea)
thank you.