borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Print tif file on legal size paper)Next Topic (printing question) New Topic New Poll Post Reply
AndreaVB Forum : Printing : wordwrap In printing List ListView
Poster Message
nasarohan
Level: Trainee

Registered: 18-05-2005
Posts: 1

icon wordwrap In printing List ListView

Hi Guys

I m workin on a billing software for my DAD and i m new with little knowledge of VB can u plz help me...

I want to print a data field of Items/Particulars of objct that are Too long to next line ie: to print a sentence more than 50 characters to next line even while using text box is there any Code for it plz let me know

18-05-2005 at 07:52 PM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: wordwrap In printing List ListView

You should use some proffesional printing tools, like Data reports (free) in Vb6, or Crystal reports (not free). With Crystal reports all you need is to point it to a database wheere data is stored, CR will do the rest (like wrapping text in several lines, as in your example).

Sending commands directly to printer will demand much more work to be done. To my knowledge, you would need to measure letters height and width, and page height and width, so you could calculate number of letter that can fit in one row. I alwasy used CR, so I never needed to write this code, and since you say you are a beginner, I suggest that using some 3d party software.

____________________________
If you find the answer helpful, please mark this topic as solved.

21-05-2005 at 07:05 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Printing : wordwrap In printing List ListView
Previous Topic (Print tif file on legal size paper)Next Topic (printing question) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder