Results 1 to 3 of 3

Thread: printer.print problem

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2001
    Posts
    302

    printer.print problem

    why do I get an error "print error 482" when I run my program on a PC that doesn't have VB6? It's as if it doesn't see my printer...

    It works perfectly on a PC with VB6.

    printer.print "123"



    thanks

  2. #2
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    Re: printer.print problem

    Originally posted by 2000a
    why do I get an error "print error 482" when I run my program on a PC that doesn't have VB6? It's as if it doesn't see my printer...

    It works perfectly on a PC with VB6.

    printer.print "123"



    thanks
    Don;t you have to say enddoc.

    VB Code:
    1. printer.print "123"
    2. printer.enddoc

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2001
    Posts
    302
    printer.enddoc goes at the end of the print job...


    I have to print multiple lines:

    printer.print "1"
    printer.print "2"
    printer.print "3"
    printer.enddoc

    but it crashes at the first line printer.print "1"

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