word to vb printer.print code

Discussion in 'Visual Basic ( VB )' started by choudhry.usman, Feb 16, 2008.

  1. choudhry.usman

    choudhry.usman New Member

    Joined:
    Feb 16, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    i want to print a word doc through vb with only printer.print code not with
    vb > Project > Components > Insertable Objects or rtf or any other control...pure vb code only (i dont want doc file to be physically present when the program is run)

    this doc file can be converted to rtf or html if needed

    if i print a formated doc file from word its just a print command from word...but...
    if i want to print same formated page from vb printer.print code then it will be really a lengthy code and will take lot of time if i have to print many pages
    is there any way i get printer.print code converted from word, that could have same formated output as in doc

    or any other better way of doing this...note i am not a programer :sosp:
     
  2. SmartDummy

    SmartDummy New Member

    Joined:
    Mar 31, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi, did anyone ever respond? Did you ever find an answer? I'm looking to do the same thing so I'm trying to find a solution to this problem also. Please let me know. -- thanks
     
  3. Darkness1337

    Darkness1337 New Member

    Joined:
    Mar 15, 2007
    Messages:
    130
    Likes Received:
    1
    Trophy Points:
    0
    if you just wanna print whats on the form then you can use!
    Code:
    PrintForm 
    that will printout what ever is on the form!

    am not really clear about what u tryin to do.. soz..!
     

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