Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 10-03-2008, 02:26 AM   #1
Baseband Member
 
Join Date: Oct 2008
Posts: 56
Unhappy port dilemma..

Helo everyone, my name is andrew.
I'm from hungary.

I have a bit problem.
I searched the net for information regarding printer parallel ports.
I can controll the pins manualy on my local machine, I made the led test kit, and was able to do things from DOS without problems.

Now, the problem is the following.
I need to controll a parallel port remotely.

The basic idea is to get a wireless router, and a printserver with parallel port.
It should work,

http://www.tekkies.co.uk/index.php?o...17&Itemid=1001

this here gentleman did make it work.

The problem is, it is not described well, and I have no clue how to do it.
I work as a security guard, and winter is commmmmming..
I made a chessy from 4 bicycle wheels and some 12 volt electronic motors,
and made an interface that pluggs into a paralell port.
I plan to use this "gadget" to avoid walking outside when it get cold, and dark. I'm lazy.. You know..

So the "chassy" equipted with an IP cam, and some lights will do the job for me.

So.. I would like to ask, if anyone has the slightest clue how to make a small program to controll the printservers paralell port.

The article says the printserver can be fooled to think there IS a printer connected, by wireing Pin 11 to Pin 20 and Pin 12 to Pin 21.

I found a methood to be able to print to a printserver from dos,
useing a command

net use lpt2 \\pserver\laser1 /persistent:yes

like this.
I understand 'net use lpt2', but .. how I supposed to find out what to write instead of '\\pserver\laser1' ?
'/presistent:yes' is okay, i figured that out.


So.. any clue how to do this?
I'm realy lost, and the damn snow is commmmming soon..
I wanna be ready with this stuff by then. I hate cold weather..
__________________

2457 is offline   Reply With Quote
Old 10-03-2008, 02:33 PM   #2
In Runtime
 
darroll's Avatar
 
Join Date: Apr 2008
Posts: 242
Default Re: port dilemma..

The com port is is made for things like that..
Not your printer port.

d
__________________

darroll is offline   Reply With Quote
Old 10-03-2008, 02:59 PM   #3
Baseband Member
 
Join Date: Oct 2008
Posts: 56
Default Re: port dilemma..

llllllllooook.
http://www.epanorama.net/circuits/parallel_output.html

most industrial controll stuff uses the printers port.
switching simple relays is easy with a local printer port.

serial port can do the stuff too, but the easyest way is the printers port.
Only a handfull of resistors and 8 transistors, and 8 relays are needed.

with a bit of experience in circuits one can controll more than 8 relays with one port.
2457 is offline   Reply With Quote
Old 10-03-2008, 03:01 PM   #4
BSOD
 
Anti-Flag's Avatar
 
Join Date: Oct 2008
Posts: 333
Default Re: port dilemma..

Quote:
Originally Posted by 2457 View Post
Helo everyone, my name is andrew.
I'm from hungary.

I have a bit problem.
I searched the net for information regarding printer parallel ports.
I can controll the pins manualy on my local machine, I made the led test kit, and was able to do things from DOS without problems.

Now, the problem is the following.
I need to controll a parallel port remotely.

The basic idea is to get a wireless router, and a printserver with parallel port.
It should work,

http://www.tekkies.co.uk/index.php?o...17&Itemid=1001

this here gentleman did make it work.

The problem is, it is not described well, and I have no clue how to do it.
I work as a security guard, and winter is commmmmming..
I made a chessy from 4 bicycle wheels and some 12 volt electronic motors,
and made an interface that pluggs into a paralell port.
I plan to use this "gadget" to avoid walking outside when it get cold, and dark. I'm lazy.. You know..

So the "chassy" equipted with an IP cam, and some lights will do the job for me.

So.. I would like to ask, if anyone has the slightest clue how to make a small program to controll the printservers paralell port.

The article says the printserver can be fooled to think there IS a printer connected, by wireing Pin 11 to Pin 20 and Pin 12 to Pin 21.

I found a methood to be able to print to a printserver from dos,
useing a command

net use lpt2 \\pserver\laser1 /persistent:yes

like this.
I understand 'net use lpt2', but .. how I supposed to find out what to write instead of '\\pserver\laser1' ?
'/presistent:yes' is okay, i figured that out.


So.. any clue how to do this?
I'm realy lost, and the damn snow is commmmming soon..
I wanna be ready with this stuff by then. I hate cold weather..
Ur parents stole my name but seriously, it would be best to get a USB printer and USB computer (which urs has unless its over 15 years old?)
Anti-Flag is offline   Reply With Quote
Old 10-03-2008, 03:34 PM   #5
Baseband Member
 
Join Date: Oct 2008
Posts: 56
Default Re: port dilemma..

Did you even read my post? I don't wanna print with it dummy, I need to control relays with it...
2457 is offline   Reply With Quote
Old 10-03-2008, 03:43 PM   #6
BSOD
 
Anti-Flag's Avatar
 
Join Date: Oct 2008
Posts: 333
Default Re: port dilemma..

Quote:
Originally Posted by 2457 View Post
Did you even read my post? I don't wanna print with it dummy, I need to control relays with it...
Nice, -rep for you. And still get a USB printer.
Anti-Flag is offline   Reply With Quote
Old 10-03-2008, 04:10 PM   #7
Daemon Poster
 
NEED WOW NOW's Avatar
 
Join Date: Jun 2007
Posts: 1,315
Send a message via AIM to NEED WOW NOW
Default Re: port dilemma..

Quote:
Originally Posted by 2457 View Post
most industrial control stuff uses the printers port.
switching simple relays is easy with a local printer port.

serial port can do the stuff too, but the easiest way is the printers port.
Only a handful of resistors and 8 transistors, and 8 relays are needed.
Few questions:
One: Why do you need a wireless Ethernet port if you work security "outside"?
Two: If it's easy then why haven't you done it? Easiest way IS to use a COM Port. Its MADE for the thing you want to do. If you want to set up a wireless relay for printers, why would you want to do that? Ethernet I can understand but you don't really NEED to control that.
Three: Program? Message that guy on that site and he should send you it.

Not really getting the gist of what your problem is here. You want to create a relay for Ethernet,right?

And Deathhell77, because you don't have a high post count, rep doesn't really count from you. And as he said, he didn't want to control printers.
__________________
AMD is Happy!
Intel is Pissed!
Europe is $1.45 Billion Dollar's Richer!
NEED WOW NOW is offline   Reply With Quote
Old 10-03-2008, 04:22 PM   #8
Fully Optimized
 
BrynF_UK's Avatar
 
Join Date: Jun 2007
Posts: 1,574
Send a message via MSN to BrynF_UK
Default Re: port dilemma..

Hey Andrew

Please note, what im going to explain wont work with any version of windows past 98 (i.e. 2000 - XP/Vista)

It is possible to control the computer parallel port over the internet (and I assume a local area network) but it requires Linux (specifically server software, for example Apache) as an operating system.

Also, it involves a lot of programming so it depends on your abilities to program. I've looked into using the parallel port myself, mainly to communicate with a micro controller.

Here is a link with all the information you need (be warned, there is ALOT of reading!)

There is an alternative, you can make a simple but long range FM circuit, which works directly to the transistors/relays without the need for a computer (or any coding either depending how complex it needs to be)
__________________
`

Visit today! ---> www.smouch.net/lol <---

_______________________________________________
BrynF_UK is offline   Reply With Quote
Old 10-03-2008, 07:00 PM   #9
Baseband Member
 
Join Date: Oct 2008
Posts: 56
Default Re: port dilemma..

FINALY, a worthy post.

Unfortunatly I posted that link too. I done reading it, and YES I know how to controll parallel port. On my computer, and on a remote computer.


BUT, question is, if I use a printservers port (I mean those inexpensive gandgets that plug into LAN, and on the other there is a parallel port) how the hell can I acces it?

Question is, if I use the NET USE command, will ALL commands sent from DOS box to the LPT port in question will be forwarded "AS IS" or not?

To give a basic logic of this:
PC-->WIFI CARD-->WIFI ROUTER-->PRINTSERVER ON ROUTER-->DRIVE CIRCUIT ON PRINTSERVERS PARALLEL PORT--> RELAY(S)-->DC MOTORS.

Thats what I need to achieve.
IF I use the NET USE command, will I be able to use the parallel port on the printserver like a LOCAL port, or not?
2457 is offline   Reply With Quote
Old 10-04-2008, 04:46 AM   #10
Fully Optimized
 
BrynF_UK's Avatar
 
Join Date: Jun 2007
Posts: 1,574
Send a message via MSN to BrynF_UK
Default Re: port dilemma..

Sorry, I didn't notice the other link

The only problem I can see is that you would need to specify the exact parallel port your trying to use, otherwise it should work
__________________

__________________
`

Visit today! ---> www.smouch.net/lol <---

_______________________________________________
BrynF_UK is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 09:25 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0