Parallel Port Interfacing?

For issues with communication ports, protocols, etc.
Post Reply
Pius
Posts: 4
Joined: Oct 20, 2005 18:04

Parallel Port Interfacing?

Post by Pius »

Say I wanted to interface (im not sure if that is the right word exactly) with the parallel port on the computer.

What kind of commands would I use for that?
How would I transfer data?
Include files?


thanks.
MystikShadows
Posts: 612
Joined: Jun 15, 2005 13:22
Location: Upstate NY
Contact:

Post by MystikShadows »

You could OPEN "COM1:" or OPEN "LPT1:" for the printer port (parallel) and do it that way (in FB 0.15b that is) get the latest update first :-)
v1ctor
Site Admin
Posts: 3804
Joined: May 27, 2005 8:08
Location: SP / Bra[s]il
Contact:

Post by v1ctor »

The syntax is different in FB to not bloat the executables generated, it's OPEN LPT "LPTn:" or OPEN COM "COMn:", where "n" is the port to open.

Everything else (PRINT #, WRITE #, CLOSE #, etc) stills the same as in QB.

Version 0.15 is needed.
Pius
Posts: 4
Joined: Oct 20, 2005 18:04

Post by Pius »

So if I downloaded version 0.14, I need to go back and download 0.15 (the one thats still in testing?) right?

okay.

thanks for the help.
Antoni
Posts: 1393
Joined: May 27, 2005 15:40
Location: Barcelona, Spain

Post by Antoni »

If you want to use the parallel port to control something, you have QB's INP , OUT and WAIT , in v0.15.
Post Reply