Results 1 to 4 of 4

Thread: question about printing

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2011
    Posts
    21

    question about printing

    hi just finished my first project and it was quite a journey (hahaha, considering its my first time to do it. Just wanna ask, with this code:.....

    Code:
    Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintiTicket.PrintPage
    
            e.Graphics.DrawString("COUNTER 17.Your number is " & iTicket, TextBox1.Font, Brushes.Blue, 50, 50)
        End Sub
    .... i was able to print the text that i want, but is it possible that it be printed in three lines? i mean on the first line, the text "Counter 17", and in the second line with a smaller font size, "Your number is" and on the third line with a bigger font size the "& iticket portion"?

    ive read lots of tutorial but i guess, i just cant find the one that tackles this one. Thank you so much in advance.
    Attached Images Attached Images  
    Last edited by dennis_ian; Dec 14th, 2011 at 06:48 PM.

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