Results 1 to 2 of 2

Thread: Validate the lpt1....

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    México
    Posts
    3

    Exclamation

    I have this code :
    ---
    Open "lpt1:" For Output As #1
    For I = 1 To Pulsos
    Print #1, Chr(Caracter)
    Next I
    Close #1
    --
    but if I send something when there's no printer conected to the lpt1 my computer no respond, and I need to restart it.

    how can i to validate.

  2. #2
    Member
    Join Date
    May 2000
    Location
    Canada
    Posts
    52
    Why don't you use Printer.print instead of printing to lpt1?
    It is just that printing to a port is old technology. It still there for backwards compatibility.

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