Solved

Multiple Page Printing With Same Page Title

Posted on 1998-08-06
1
151 Views
Last Modified: 2012-05-04
At the moment I'm trying to print from a rich text box but I can't find out when a new page is going to be needed before I start the print job. I want to do this so I can insert the same title on each page but with different data. Does anyone know how to do this in VB4 in any way what so ever.

Thanks
0
Comment
Question by:sircs
1 Comment
 
LVL 3

Accepted Solution

by:
a111a111a111 earned 150 total points
ID: 1468095
1. Print the title.
2. Print 55 lines or so as long as the paper allows you.
3. Send "Printer.NewPage" to the printer.
4. go back to line 1 here.

Also you can make a loop form the 4 lines here.


0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

747 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

12 Experts available now in Live!

Get 1:1 Help Now