Programming the parallel port

Posted on 1998-11-19
Last Modified: 2012-05-05
How can you give a pulse of 5 volts out of your computer, in  a program in C, using the parallel port. This needs to give  the plan of the parallel port (of the 25 wires), and to give the adress of the two wires used for the 5 volts output, and then to write it in C.
Question by:LaCase
  • 2
  • 2

Author Comment

ID: 1254480
Adjusted points to 200

Expert Comment

ID: 1254481
First: this will require building hardware as well as software. The PC does not put 5vdc on the parallel port.  Typically you draw 3vdc at 2.6ma. You would need a step up to get to a reasonable 5vdc.
You can use any of the data lines to put out the signal to the step up regulator.
It ends up depending on what you are trying to do. I would suggest going to
to find a project that is similar to yours.

Author Comment

ID: 1254482
In the first answer there is nothing about the fact of programming it in C, with the adressing of the parallel port.

Accepted Solution

pjmaze earned 200 total points
ID: 1254483
Read this paper and you find there everithing you need

in case that dont be enoutgh go to:

see ya

Expert Comment

ID: 1254484
Hi, its me again,

i found a place that's just what you need, try this first to get things running, if you want to know how things work read the paper in the first site ..

here is the site

see ya

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now