Results 1 to 2 of 2

Thread: printing problem

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    321

    printing problem

    Hello everybody....
    can anybody teach me how to print text in different colors? how to set the colors? red, blue or some numeric values?
    pls help
    urgent

    thank you in advance

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    VB Code:
    1. Private Sub Command1_Click()
    2.     Printer.ForeColor = vbRed
    3.     Printer.Print "Red"
    4.     Printer.ForeColor = &H80C0FF
    5.     Printer.Print "orange"
    6.     Printer.EndDoc
    7. End Sub
    -= a peet post =-

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