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 Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
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
HPE-201f computer no parallel port
Bought a used HPE-201f but it does not have a parallel printer port 25 pin for my old Hp lazer printer. Can i just install a Parallel card in the computer and install drivers etc. ?
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 Solution Needed
I just build a new PC and need to connect my printer, which is a very good but older HP Laserjet 4000N with no USB connector. Which is the best approach--- use a parallel to usb cable - has anyone used these with success? install a PCI parallel port card in the PC get a print server...
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 22:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App