parallel-port

How can I write to the parallel port from the Windows Command line?

How can I write to parallel port through Windows XP command line? ...

parallel port programming

Hi, quick question: Can parallel port receive and send data at same time? And if u have more tips about VB and parallel port programming, please feel free to tell me. :) Thank you ...

Parallel Port

If I understand the parallel port right, sending data from (D0 to D7) simultaneous, but that it can control the sticks individually? example: D0 = Input D1 = Input D2 = Output ... ... ... D7 = Input would it work? what I want to do is to both send and receive data simultaneously. thank. ...

Is there any open source program that use the inpout.dll ?

Is there any open source program that use the inpout.dll to hook up the parell port and turn LED's on and off ive been looking for almost a whole month and havent found jack. I want to do this without any microcontrollers. ...

Parallel Port Emulator

Hi! It seem that my USB -> parallel port converter(SUNIX ComHUB) don't show as parallel port in Windows Hardware. But instead as "Support for USB printer port". Is there anyway for me for me to make Windows recognise it as parallel port in Windows? If not. Are there any parallel port emulator that I can test my program too? Thank you ...

C# - Emulate device - Parallel to Serial Port

We are trying to emulate a device that runs off a parallel port. We have the exact same model that runs on RS232, and can run a null modem cable from one port to another and emulate the device with the following settings: _port = new SerialPort { PortName = comport, BaudRate = 960...

Which easy programming language to use for parallel port programming under Linux?

My father would like to use Ubuntu for LPT programming (via a relay card). He is used to QBasic and PowerBasic but willing to learn a new (simple) language for his goals. What recommendations can you give me for this task? Python would be my favourite if the module pyParallel worked. If there are other modules available for Python, let...

"#include <asm/io.h>" causes "error: asm/io.h: No such file or directory"

I am using gentoo and trying to compile a program to control the bits on the parallel port. It has this line near the top of it: #include <asm/io.h> And when I try to use gcc on it, it produces this output: port.c:4:20: error: asm/io.h: No such file or directory "locate asm/io.h" yeilds (among other things): /usr/src/linux-2...

programmatically controlling power sockets in the UK

It's very simple. I want to plug a lamp into the UK mains supply. I want to be able to power it on and off from software - say from serial port commands, or by running a command-line or something I can get to from ruby or Java. I see lots written about how to do this with X10 with American power systems - but has anybody actually trie...

Printing in (Parallel Port) Dot Matrix over C#

For the needs of a project, i want to print over the LPT1 in specific locations, this will print a document in a dot matrix printer where i should print values in the places they should go. I really hate going back, and i don't have any idea where to start. Internet has no specific information about printing in LPT port with C# and espec...

running a parallel port controlling program through php.

I have a program that is interacting with hardware via parallel port programming. i had compiled it and using its object file to interact with the hardware (a simple led). when i execute it directly on the shell it serves the purpose of glowing the LED but when i execute it using shell_exec() in php the command is executed but unable to ...

Parallel port recording to file on Win XP

Hi there. I need to write a simple program that records all the input from parallel port into a file. Data flows from industrial machine, setup is fairly simple, but I can't find any good open source examples on parallel port reading for Windows. Do you know a software that does this (and lets me learn how to do it myself), or is there...

Parallel port with C#

Hello, I am trying to send data to LPT1 port with a C# program, unfortunately with no success.. I am using windows 7 x64. I tried both x86 and x64 (inpoutx64.dll) dll's.. With the x64 dll when I send: Output(888, 255); It just continues the program as everything went ok, but i can't see anything on my multimeter (only the static 0.02...

Reading info from printer on USB port

In the days of parallel printers one used to be able to send a command on LPT1 and receive back standard info such as life count etc. Now, with USB devices, have we lost that capability? Or is there still a way to read the info? ...

Controlling a parallel port via USB adaptor on modern hardware and OS

I have a USB to parallel port device that i want to interface with through c++ on a modern windows OS (xp and newer). I've done a little research but the information is a bit patchy when it comes to programming to one of these USB to parallel port devices (most of the information is dated and assumes that you have a parallel port built ...

On a PC, how to write program to give ON/OFF/ON/OFF, like bitstream to USB port, RS-232 port, or Parallel port?

Is there a way to write a program to output ON/OFF/ON/OFF sequence to one of USB, RS-232, or Parallel port? The On probably will be 5V or is "close circuit", and Off will be 0V or is "open circuit". Can the frequency be very high? This can be achieve long time ago by using TTL chips and a "clock", and programming in Microcode, which i...