Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > .NET

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-19-2009, 07:59 PM
COMPCAD COMPCAD is offline
Registered User
 
Join Date: Nov 2004
Posts: 22
word wrap - multiline textbox to printer

I need help trying to print a single multiline textbox onto a sheet of plain paper. I can print the textbox to the paper and it prints fine as a single line. The problem is when I go into properties and set the textbox for multiline and I hit the green run button at the top of the page. The textbox picks up the data from the database fine and the multilined textbox on the screen works fine each word goes to a new line. It is just when I go to print.document the text only comes out in a single line on the plain paper. I want each word to print on a new line on the plain paper. what is the easist way to word wrap this text within the textbox to the printer. What code ideas do you have that I may try. I am using VB.NET 2008.
Reply With Quote
  #2  
Old 10-20-2009, 08:25 AM
gupta_karan21 gupta_karan21 is offline
Registered User
 
Join Date: Mar 2007
Posts: 2
Are you using windows or a web application.
Reply With Quote
  #3  
Old 10-20-2009, 02:05 PM
Hack's Avatar
Hack Hack is offline
Super Moderator
 
Join Date: Apr 2007
Location: Sterling Heights, Michigan
Posts: 7,719
Are you using the Print Document control?
__________________
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista

Microsoft MVP 2005/2006/2007/2008/2009
Reply With Quote
  #4  
Old 10-20-2009, 02:50 PM
COMPCAD COMPCAD is offline
Registered User
 
Join Date: Nov 2004
Posts: 22
word wrap - multiline textbox to printer

I am creating a windows application.

I am using the printdocument control.
Reply With Quote
  #5  
Old 10-21-2009, 04:20 PM
COMPCAD COMPCAD is offline
Registered User
 
Join Date: Nov 2004
Posts: 22
multiline textbox to printdocument

I need help trying to print a single multiline textbox onto a sheet of plain paper. I can print the textbox to the paper and it prints fine as a single line. The problem is when I go into properties and set the textbox for multiline and I hit the green run button at the top of the page. The textbox picks up the data from the database fine and the multilined textbox on the screen works fine each word goes to a new line. It is just when I go to print.document the text only comes out in a single line on the plain paper. I want each word to print on a new line on the plain paper. what is the easist way to word wrap this text within the textbox to the printer. What code ideas do you have that I may try.

I am using VB.NET 2008.

I am creating a windows application.

I am using the printdocument control.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiline textbox AngelSoft .NET 7 11-05-2008 07:56 AM
Search for strings in multiline textbox sam510 VB Classic 1 12-17-2007 07:54 AM
Multiline textbox, scrolling to a Line and editing Line guptan .NET 1 07-07-2006 06:37 AM
Rich text box word wrap! GermanD VB Classic 10 05-25-2005 02:44 PM


All times are GMT -4. The time now is 08:19 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.