Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PrintRTF and email problem

Status
Not open for further replies.

smeyer56

IS-IT--Management
Oct 16, 2002
206
US
I have an application that was set up by previous programmer to take text from a RichTextBox and print it using a function that called PrintRTF that it seems is quite familiar with many programmers. I have added functionality to the application that takes the text, saves it as an RTf ad then zips and emails the file. Works great except for one thing. The printRTF function allows margins to be entered and the reports are based on this. When I saveFile there are no margins so my files come out as 2 pages instead of 1. Any thought s on how to introduce margins in the saveFile process.
 
Sounds like a problem in the function coding. Make sure all text is selected before setting the margins.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top