Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Byte read and write from parallel port with powershell

23 Dec 2014   #1
777subob

Windows 7 Professional 64 bit
 
 
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?


My System SpecsSystem Spec
.
23 Dec 2014   #2
Berton

Windows 7 Ultimate 64-bit, Windows 8.1 64-bit, Mac OS X 10.10, Linux Mint 17, Windows 10 Pro TP
 
 

Good question and I have no answer, haven't seen DIP switches as were used on some Dot-Matrix printers in 20 years. It does seem to me the port doesn't actually send electricity, just data signals which have to be processed by something at the other end of the cable. Serial ports [9-pin or 25-pin] are different, and Yes, there used to be Serial port printers, fortunately I never had to work with them.
My System SpecsSystem Spec
24 Dec 2014   #3
777subob

Windows 7 Professional 64 bit
 
 

The parallel port can certainly be used in the way I've described. The data lines send and receive 5 volt logic. I've done this sort of thing in Windows XP using a SourceForge utility called "ParaShell". But it doesn't work in Windows 7, and all development of ParaShell seems to have ceased. So I'm fishing for alternatives.
My System SpecsSystem Spec
.

Reply

 Byte read and write from parallel port with powershell




Thread Tools




Similar help and support threads
Thread Forum
pci parallel port resource problems
hi Just built a cnc milling machine, and fitted a pci parallel port as lpt 1 to run the machine trouble is it wont run actions 1) oem drivers set up and working 2) Device manager shows a new mulitfunction adapter - the same as the card make, using resources at ...
Hardware & Devices
Parallel port data output
Hello, I build relay switch for parallel port and it works with Z-ParSwitch as I hope to. Problem is if PC shuts down then relays get power for moment then turns off http://img.tomshardware.com/forum/uk/icones/frown.gif Win7/32 boot and all data pins D0...D7 switch on...
Hardware & Devices
Do I need a parallel port connection rather than a usb?
I'm able to print standard images but when I print Separations in advanced mode.It gives me a print error.
Hardware & Devices
Parallel port card need help
Hello I am new here and stuff that I do and I need help from you but in the beginning. I am sorry for the language because I don't know very well. I have a problem with the parallel port card , I have install this parallel port card Vergrößern BL-CP1 PCI TO 1 PORT PARALLEL KARTE NEU - Google...
Hardware & Devices
Parallel port (LPT) not working in 7
I've been using Windows 7 RC1 as a clean install. The computer has multiple drives and I have on each something else installed (XP, 7 and Ubuntu). I first noticed I couldn't print to my LPT printer in 7 (it works in XP and ubuntu). Then I plugged in some other stuff. Everything works in the...
Hardware & Devices


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 02:58.
Twitter Facebook Google+