Discussion Locked

VB print preview & control

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

In visual basic, can we have any control over print preview, e.g. page breaking or insert line, to avoid unnecessary orphaning sentence come on to next page.

Thank you

luitay

5 replies

by peyison

You have two options. You can code it yourself - keep track of where sentences and paragraphs start, and how many line are left on the page, etc. You'd also have to write the code to do the print preview. The other option is to try a third party component that can do this for you. There are several, including RoboPrint and SPrint. You can find these at www.componentsource.com.

Hope this helps.

by tjc

You can use Crystal Reports. It would automatically do this for you.

This discussion is closed to new replies.