Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

About the parallel port control.

Posted on 2002-03-16
8
Medium Priority
?
255 Views
Last Modified: 2013-11-15
I am writting a programme for my temperature circuit. How can I force a control bit(C0 pin1) that on the parallel port as an input ? because i want to receive a data from a chip . How do i know i am receiving data from the chip, is that any way to know that ?

Thanx

0
Comment
Question by:ComputerG
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 

Author Comment

by:ComputerG
ID: 6873470
Please help Please help
0
 
LVL 49

Accepted Solution

by:
DanRollins earned 100 total points
ID: 6873638
If you are programming in Windows (even in a Command prompt), you can't just read or set the port.  You will need to use some higher-level functions.  The pin values equate to certain status codes available in a structure called PRINTER_INFO_2.  See

http://search.microsoft.com/gomsuri.asp?n=1&c=rp_Results&target=http://support.microsoft.com/support/kb/articles/Q160/1/29.asp

for some example code.

-- Dan
0
 

Expert Comment

by:Nizvoo
ID: 6873641
thx
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 49

Expert Comment

by:DanRollins
ID: 6873721
If that helps you, please be sure to come back here and accept my comment as an answer :-)

-- Dan
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 6924212
hi ComputerG,
Do you have any additional questions?  Do any comments need clarification?

-- Dan
0
 
LVL 11

Expert Comment

by:griessh
ID: 6955391
Dear ComputerG

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "DanRollins"

comment(s) as an answer.

If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points. The link to the Community Support area is: http://www.experts-exchange.com/commspt/

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 

Author Comment

by:ComputerG
ID: 6958046
not really what i want
0
 
LVL 11

Expert Comment

by:griessh
ID: 6958083
ComputerG

You never stated what you REALLY want. In my suggestion I told you already that th eexperts need feedback to their comments or else we have to suspect the comment was enough information for you. Dan offered you twice to get back to him about any help and I am sure he is still willing to help out. BUT: you have to ask him! He just doesn't know ...

I would suggest to explain any further problems here.

======
Werner
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Invest in your employees with these five simple steps to improve employee engagement and retention.
Have you ever run into that annoying problem where the computer won't boot?  Wouldn't it be great if you had a tool that would make that disk boot again?  I have found one tool that works more often than not ...
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

610 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