Solved

Printing Multiple Pages

Posted on 1998-07-20
1
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

730 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