Results 1 to 14 of 14

Thread: Problem Printing from a Text Box

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2004
    Posts
    29

    Question Problem Printing from a Text Box

    VB Code:
    1. Private Sub cmdPrint_Click()
    2.     'Print the Description
    3.     Printer.Font.Name = "Times New Roman"
    4.     Printer.Font.Size = 11
    5.     Printer.Print  Text1.Text
    6.     Printer.EndDoc

    I wrote these code to print the description in the text box and the output is like it can't print the text as what it shown in the text box or text file (The descriptions were stored in a text file). Certain lines in a paragraph were skipped until a suppose to be long document (description) printed as short/uncompleted. Seems like the printer can't "wrap" the paragraph to make the text fit to the page.

    Thanks in advance!
    Last edited by hbin; Sep 25th, 2004 at 04:47 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width