Results 1 to 5 of 5

Thread: Stupid Printer

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

    Post

    Does anyone know why my printer doesn't print anything until I close my program (right after I click on the X button to close my program printer prints everything!!)???
    I'm using simple Printer.Print thing with various number of copies but it shouldn't matter. I'm stuck in my attempts. If you know the answer please help!!!!!

    Thanks

    ------------------
    Visual Basic Programmer (at least I want to be one)
    ------------------
    PolComSoft
    You will hear a lot about it.


  2. #2
    Lively Member
    Join Date
    Sep 1999
    Posts
    93

    Post

    You have to use the printer.enddoc command to send it to the printer. I'm pretty sure this is the command that sends it to your printer, but I think I had that problem even when I used the enddoc command one time.

    BJ

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

    Post

    Works for me. Thanks

    ------------------
    Visual Basic Programmer (at least I want to be one)
    ------------------
    PolComSoft
    You will hear a lot about it.


  4. #4
    New Member
    Join Date
    Nov 1999
    Posts
    1

    Post

    That doesn't Work for me. It gives me some kind of an error. Can someone send me an example of how to use it? I have VB6.

  5. #5
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Sure thing:


    Printer.Print "Hello, this is a sample text"
    Printer.EndDoc



    Regards,

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]
    ICQ#: 51055819


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