Solved

Printing Multiple Pages

Posted on 1998-07-20
1
175 Views
Last Modified: 2010-05-03
I have multiple pages of straight text data in the form of a simple report.  I want to print each page separately. However, when I send the report to the printer, the text just runs down the first page over and over, making a big mess on the page. How do I tell the printer to make a "page break" in the text it is printing?
0
Comment
Question by:gwaltersii
1 Comment
 
LVL 1

Accepted Solution

by:
khaledc earned 100 total points
ID: 1466291
Use Printer.NewPage method, this will make sure that the printer will jump to a new page once this line is executed, for example:
Printer.Print "Something"
Printer.NewPage
Printer.Print "Something Else"
Printer.EndDoc
The above will print "Something" on one page, and then "Something Else" on Next page
Also, make sure you use the EndDoc property to finish your printing job (as shown above)
Hope that answered your question
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now