Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Invoices

Status
Not open for further replies.

mp001

Programmer
Oct 24, 2006
9
US
I am trying to print three invoices using the version of Crystal Reports that is bundled with Visual Studio .Net 2003. When the invoice I created is viewed in the report viewer, it shows all three invoices (all 3 records in the database).

Executing the following procedure results in printing the content of all three invoices on a single page:

Dim rep As New rep1
rep.PrintToPrinter(1, False, 0, 0)

What am I doing wrong?

Thanks,
Mark
 
Ido,

I want to print each invoice on a 8 1/2" x 11" sheet of paper.

Mark
 
To clarify my question, I am trying to print a batch of three invoices. Each invoice will be printed on a separate sheet of 8 1/2" x 11" paper.

Thanks,
Mark
 
Forcing a page break after the desired section solved the problem. Thank you, synapsevampire, for the solution.

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top