473,382 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Printing more than one page in vb

Im trying to find more examples of how to print multiple
pages from vb. I have the hasmorepages property set to
true. I need to know a better way to determine the length
of the page vs the information to make it more than one
page.

My page is set up in two rect areas to make text colums.
these span more that one page. Im using a
PrintPageEventArgs object (ev.Graphics.DrawString) to hold
the information.

I would appreciate any help with this. Also would it help
if I posted the sub routine code here?

jason
Nov 20 '05 #1
2 1421
http://msdn.microsoft.com/library/de...et01282003.asp
--
Regards - One Handed Man

Author : Fish .NET & Keep .NET
=========================================
This posting is provided "AS IS" with no warranties,
and confers no rights.
"Jason S" <in***********@hotmail.com> wrote in message
news:0f****************************@phx.gbl...
Im trying to find more examples of how to print multiple
pages from vb. I have the hasmorepages property set to
true. I need to know a better way to determine the length
of the page vs the information to make it more than one
page.

My page is set up in two rect areas to make text colums.
these span more that one page. Im using a
PrintPageEventArgs object (ev.Graphics.DrawString) to hold
the information.

I would appreciate any help with this. Also would it help
if I posted the sub routine code here?

jason

Nov 20 '05 #2
Thank you, this is an article I havent found yet and It
looks like it will work
-----Original Message-----
http://msdn.microsoft.com/library/default.asp? url=/library/en-us/dnadvnet/html/vbnet01282003.asp

--
Regards - One Handed Man

Author : Fish .NET & Keep .NET
=========================================
This posting is provided "AS IS" with no warranties,
and confers no rights.
"Jason S" <in***********@hotmail.com> wrote in message
news:0f****************************@phx.gbl...
Im trying to find more examples of how to print multiple
pages from vb. I have the hasmorepages property set to
true. I need to know a better way to determine the length of the page vs the information to make it more than one
page.

My page is set up in two rect areas to make text colums.
these span more that one page. Im using a
PrintPageEventArgs object (ev.Graphics.DrawString) to hold the information.

I would appreciate any help with this. Also would it help if I posted the sub routine code here?

jason

.

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Tinus | last post by:
Hello all, Because you have been so helpfull the last couple of times, I thought after testing and wasting more than 20 pages (and google-ling for 3 days :-( ). I would ask you again for your...
4
by: Arif | last post by:
I C# code prints very slow as compared to a third party barcode printing software. That software prints approximately 10 labels in 2 seconds while my C# code prints 10 labels in 5 to 6 seconds. And...
0
by: Ian | last post by:
Hi, I want to print a selection of pages from a PrintDocument. I have enabled the SomePages facility on the PrintDialog, and I am thus using the .FromPage and .ToPage properties of the...
6
by: Bill | last post by:
Hi I am trying to get my listbox items to print if they stream past the one page mark. my code is working for one page of information (if the e.hasmorepages) is not there. But I am having...
8
by: CJM | last post by:
What is the best way to force a page break when printing from a browser? A page in my application generates a series of tables which are usually less than will fit on a page of A4. Ideally I want...
6
by: Siv | last post by:
Hi, I am getting into printing with VB.NET 2005 and want to implement the usual capability that a user can select a selection of pages. I have a report that is generated by my application that if...
6
by: randy1200 | last post by:
I'm using Visual Studio 2005 and C#. I need to print a WinForm used for data entry as a graphic. In other words, I need to print the exact WinForm the user sees on the screen. I searched through...
6
by: Chris Dunaway | last post by:
The method for printing documents in .Net can be confusing, especially for newer users. I would like to create a way to simplify this process. My idea would be implemented using a PrintDocument...
8
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web...
0
by: gnewsgroup | last post by:
In my asp.net 2.0 web application. I create chart images on the fly by getting the data from the database. These chart images all have fixed width, but the height is dynamic depending on the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.