hi
i want to know how can i wirite program for turning on and off my LEDs
by writing application in visual basic 6 through parallel port
Printable View
hi
i want to know how can i wirite program for turning on and off my LEDs
by writing application in visual basic 6 through parallel port
To talk to the parallel port you can do the following (it assumes there is some device like a printer attached)
Open "LPT1:" For Output Access Write As #1
Print #1, Chr(27); Chr(107); Chr(3); 'font
Print #1, Chr(27); Chr(77); 'pitch 12
Print #1, Chr(27); Chr(120); Chr(1); 'letter quality
Print #1, Text1.Text
Close #1
check out the info here:
http://www.geekhideout.com/iodll.shtml
io.dll is very cool
Is there any straight forward method to do this in Visual C++ 6.0 also..??
let me know..
hi there..i was just wondring..coz we're in the process of doing our design project "pc controlled switch system for home" and were planning to use visual basic and of course the parallel port..to control appliances..in the project we'll be using an interfacing device and a special type of switch...and there...can u help me..coz i still have no idea in doing this..how to program in parallel port..and do u think its cheaper than using wireless..
thanks...