|
-
Nov 3rd, 2000, 11:44 AM
#1
Thread Starter
New Member
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.
-
Nov 3rd, 2000, 07:24 PM
#2
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|