dear friends,

i am using visual basic 6.0 and oracle 9i.
i am doing project for hostel management.

i am facing problem in printing report.

i want to print report of four different sizes using same printer.

but i want to mention the page size in the code only so that the printer should directly print the desired sized report.

how can this be done in vb6 data report.

thanks in advance
rahul