473,320 Members | 1,884 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,320 software developers and data experts.

Printing text from text boxes in multiline

1
How can I print the contents of a text box to paper in a line by line way. Eventhough I have enabled multiline as true, then also it prints continiously across the boudary of the paper. I have to print the text in A4 size paper with necessary margins on all sides.
Sep 7 '06 #1
1 1718
There is a sample in C# here:
http://www.c-sharpcorner.com/UploadFile/mgold/NotepadDotNet07312005142055PM/NotepadDotNet.aspx?ArticleID=f0d1979f-e07d-4820-9f10-cbd52cdc2c8d

Paul
Sep 8 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Rob Lemieux | last post by:
Using Visual Basic 6.0 I want the program to be able to print the carriage return. txtDisplay.Text = "Welcome to" + Chr(13) + "my demo." All I get is Welcome to|my demo.
2
by: Newsgroup | last post by:
I have a multiline textbox with 10 lines of text in it. I want to search Line by Line for the word" ". How do I process one line in a text box at a time? I DON'T want to just search the whole...
3
by: Jimbo | last post by:
Hey Its easy to print a string. You just write: System.Drawing.Printing.PrintPageEventArgs.Graphics.DrawString("This is a string!", new Font("Ariel", 14, FontStyle.Bold), Brushes.Black, 0,...
2
by: sql | last post by:
Hi all, I use javascript's Print function to print my web page. But the web page contains multiline text boxes. The print function only prints the visible portion of the multiline textboxes. How...
2
by: gjtired | last post by:
Hi, I'm not sure the best way to do something and I hope someone can help me. I'm developing a web application that a user enters test questions in. I store the questions in a database. When a...
1
by: Michael Tanner | last post by:
I have a multiline text box. I would like some of the text to be one font color and other text another font color. Is this possible with a multiline text box?
2
by: Chris | last post by:
Hi We are using style sheets to set the font of our labels and text boxes. This has been working great until we required a text box with a textmode of Multiline. The control picks up the...
1
by: MrXs | last post by:
first of all can i say hello to all members :D i have made a very basic program with a few one line text boxes and a few drop down boxes i would like to print the data that is selected in...
2
by: shihab | last post by:
I have created two text boxes,One is single line text box other is multiline. On button click i want to 'add text from single text box to Multiline text box'one by one. please give solution for...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.