New
#1
Byte read and write from parallel port with powershell
I'm sitting in front of a Dell Precision T5500 running Windows 7 Professional, 64bit. It has a parallel port, (device manager describes it as "ECP Printer port LPT1"), with a driver provided by Microsoft, (c:\windows\system32\DRIVERS\parport.sys). If I were to connect some dip switches and pull-up resistors to the data lines of the parallel port, can someone show me a sample powershell script that would read those switches--the byte established by those switches, and create a variable? And If I were to connect some LEDs to the data lines of that port, can someone show me a sample powershell script that could send a byte to illuminate them?