Questions tagged [lpt]

For questions about communication via LPT parallel port and IEEE 1284 standard

68 questions
1
vote
2 answers

Control a robotic arm

I have a Cyber Robot CYBER 310 and a Sciento CS-113 robotic arm with no documentation. Both use a parallel port. How could I program those? For the Cyber one, I found this: Nothing at all on the Sciento one. Any pointers or examples in…
Pepijn
  • 4,145
  • 5
  • 36
  • 64
1
vote
0 answers

Programmable Control of USB Device

I have used the LPT port before with a VB6 library called inpout32.dll. I'm much more familiar with that but it is not used in modern computers, such as laptops. I need to control a device with on / off capabilities. This would have been very easy…
1
vote
1 answer

Creating a virtual parallel for Windows 7 using C++

I am developing an application which would redirect i/o from parallel port of, say, device A to the parallel port of device B. The two devices are connected on ethernet (LAN, WAN, internet, etc.). Device A has a physical parallel port attached to it…
Mubeen Iqbal
  • 188
  • 3
  • 12
1
vote
1 answer

Access LPT in C++

How to access LPT port in C++ visual express? I've read about including io.dll but I don't know how to use it. Could someone show me a simple code for doing it?
Bozik1
  • 11
  • 2
1
vote
3 answers

Switching bit with high speed in C#

i'd like to switch bit with time shorter than 1 ms. I'd prefer do this in C# Windows Forms, but it can be in for example console app in C++, C#. What i want to do is to switch bit and send it via LPT port. Switching bit in this code is to…
Elfoc
  • 3,649
  • 15
  • 46
  • 57
1
vote
0 answers

Programmatically find COM and LPT address in Matlab

I am using Matlab to program an experiment. In particular, I am using these lines of code to read and send triggers to an external device: ioObj = io64; status = io64(ioObj); io64(ioObj,portWriteAddress,0); I have found the value for…
Glu
  • 327
  • 3
  • 14
1
vote
2 answers

Is it possible to address high Ports with Inpout32.dll?

I want to address Port 0xE020 (Hex -> Dec = 57.376) but it is out of bounds for a short. Now, I need this to test PCI-E Extension Parallel Ports. Thanks to the answer to this question (https://stackoverflow.com/a/4618383/3391678) I use the following…
Dennis Christian
  • 186
  • 1
  • 14
1
vote
1 answer

program the LPT port using Java. Really?

Conditions: OS is Windows XP have LPT port LED light bulb is connected to the LPT port Necessary: using Java to make the bulb flash Is it possible? Interested in real, proven solutions. Has anyone done this? I have our few options: the use…
user471011
  • 7,104
  • 17
  • 69
  • 97
1
vote
1 answer

LPT control on Windows

I am into new project, which should use microcontroller. The easiest way to program it is using parallel port. But, there are few things I hope you can help me with. Oh, and the preferred language is C and platform Windows. So, I studied LPT ports…
B.Gen.Jack.O.Neill
  • 8,169
  • 12
  • 51
  • 79
1
vote
0 answers

Mach3 Mill reversing

I'm trying to write a program like Mach3Mill that controls LPT servos. Now I use C# and library inpout32.dll to send data to LPT. The main problem is to make moving smooth like the original program does. Now I'm sending data in loop changing data…
pvf
  • 82
  • 1
  • 6
1
vote
1 answer

LPT POS printer alternate feed

I have an ancient POS printer Axhiohm A470 LINK. Windows 7 64bit doesn't detect this printer and drivers don't exist. Only way to print (text mode only) is to send print job directly to LPT. After some digging I found that it's pretty easy. Only…
Maciej Szpakowski
  • 571
  • 1
  • 7
  • 22
1
vote
0 answers

How to read and write data from a LPT in C#?

I did some research around, some of the answers suggest using inpout32.dll, I tried it in C#, it always return 255 whenever I read from any address. sample code. All I want to do is to read from 0x379 when my printer is power on and off, see if I…
castiel
  • 2,675
  • 5
  • 29
  • 38
1
vote
1 answer

How can I simulate a USB printer to LPT on Linux?

I have an Intermec printer connected on an USB port to my computer, the computer doesn't have a parallel port. I want to send some raw commands to the printer, the printer interprets the file send as commands only if it is send on the parallel port…
Mihai Crăiță
  • 3,328
  • 3
  • 25
  • 37
1
vote
0 answers

Map GPIO to 0x378 on Raspberry

Is it possible to map the GPIO pins of a Raspberry Board (V2) to the memory area 0x378 ("LPT") in Raspbian, so i can use it as parallel port? And if so, how can i achieve this? I have a faint clue, that this may be possible with C's mmap function,…
Stephan Richter
  • 1,139
  • 11
  • 31
1
vote
1 answer

How can I send hex data through a serial port into a custom instrument using C?

I have a machine (instrument) that can read hexadecimal numbers separately from 8 pins in Serial Port or Printer. I want to send hexadecimal data from a C Program running on a computer into this machine. The computer and machine are connected via…