Printing in a specific position

I’m new at this, so maybe this is a very easy one. I need to print a string on a selected position on the sheet (Letter size). The user have to select the position. Any help



Answer this question

Printing in a specific position

  • nate-d-o-double-g

    Thank’s for the help very usefull tips

    JCS


  • ahmedWebDev

    I have a VB express program that lets

    you line up text to fill out diplomas and

    certificates at:

    http://users.adelphia.net/~gcumbia/CertificateMaker.zip



  • qrli

    Try something like this:

    Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
    e.Graphics.DrawString("Nobugz waz here", Me.Font, Brushes.Black, _
    Single.Parse(txtXPos.Text) * 100.0F, Single.Parse(txtYPos.Text) * 100.0F)
    End Sub

    The user would enter the string position in inches. You need to add error checking...


  • Printing in a specific position