print txt file

Discussion in 'Visual Basic ( VB )' started by viv345, Mar 21, 2010.

  1. viv345

    viv345 New Member

    Joined:
    Feb 22, 2010
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    0
    i am getting problem in coding for printing the text file in a particular format. How should i write code?
    Example for is attached
     

    Attached Files:

  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Instead of attaching your code post it inline and show us what you have done and what is not addressed and if possible why
     
  3. viv345

    viv345 New Member

    Joined:
    Feb 22, 2010
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    0
    Command given:

    Private Sub cmdPrint_Click()

    cmdPrint.Visible = False
    cmdPrint.Visible = True

    PrintForm

    cmdPrint.Visible = True

    End Sub

    Getting problem in printing like Invo ( I want to print in this format)

    While printing it gives print like Invoy

    Invo.jpeg & Invoy.jpeg attached
     

    Attached Files:

  4. viv345

    viv345 New Member

    Joined:
    Feb 22, 2010
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    0
    And it is also printing in left margin with backgrounds
    How should I give code? To print like Invo.jpeg
     
  5. viv345

    viv345 New Member

    Joined:
    Feb 22, 2010
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    0
    How can i use tab in codes for printing
     
  6. viv345

    viv345 New Member

    Joined:
    Feb 22, 2010
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for your help.
    My Problem RESOLVED
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice