anyone managed to print via his vb program?HOW?
Results 1 to 5 of 5

Thread: anyone managed to print via his vb program?HOW?

  1. #1
    Registered User
    Join Date
    Apr 2001
    Location
    Thessaloniki Greece
    Posts
    42

    Post anyone managed to print via his vb program?HOW?

    i've tried again and again.The printer just feeds the paper out .The only think i managed to print is a form (in graphics)
    any suggestions are welcome.

  2. #2
    Registered User ShadowKing's Avatar
    Join Date
    Dec 1999
    Location
    WA
    Posts
    743

    Post

    Here are a bunch of Sample Projects showing how to format the information to be printer friendly.
    http://vb.digitalroutes.co.uk/index.shtml?print

    Enjoy.

    BTW, I have really found some good stuff on www.vb-helper.com

    See the HowTo section.

  3. #3
    Adm¡nistrator JungleMan1's Avatar
    Join Date
    Jan 2001
    Posts
    2,463

    Talking

    this won't directly solve your problem but you may want to try your luck at www.vbforums.com

    They have excellent help there sometimes I get an answer within the hour...

    they also have forums for C++, java, and other languages

  4. #4
    Registered User
    Join Date
    Sep 2000
    Location
    Kutztown, PA
    Posts
    234

    Post

    Printer.Print expr

    is the command which will send expr to the printer. Additional properties can be set, such as:

    Printer.Font.Name="Courier"
    Printer.Font.Bold=True
    Printer.Font.Size=12

    PrintForm

    prints the content of the form.

    Also near the end of your program you may want to include

    Printer.Enddoc

    since the windows print manager usually waits until it has a whole page to print, this will ensure that your data doesn't get lost

    Sorry if these things are something you already know or too simplistic, but I've found with VB that sometimes one teeny little thing is causing a problem.
    <a href="http://www.8ung.at/furlong47" target="_blank">Furlong47's Poetry Page</a>
    <a href="http://roadtrip.d-domains.net" target="_blank">ROADTRIP!!!</a>

    You know it's going to be a long day when you get up, shave and shower, start to get dressed and your shoes are still warm. -- Dean Webber

  5. #5
    Registered User
    Join Date
    Apr 2001
    Location
    Thessaloniki Greece
    Posts
    42

    Post

    i want to thank you all . I found what wend wrong sortly after posting.The problem is somewhat stupid.A crest of dried up ink had covered the nozzle of the black ink cartridge.As i always tried to print a small string ,all i could see was the page being transfered to the out tray. Thanks again everyone.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •