For questions about communication via LPT parallel port and IEEE 1284 standard
Questions tagged [lpt]
68 questions
0
votes
2 answers
Sending a signal from a web app to a LPT port
I need to make a web app send a signal to a LPT port. The hardware is designed to listen for a 0V or 5V TTL signal.
Do you know any activeX, PHP class, JS, or even a piece of intermediary software, or anything which could allow me to "plug" this LPT…

Yako
- 3,405
- 9
- 41
- 71
0
votes
1 answer
Control USB to Parallel Port using C#
How to Control USB to Parallel Port using C#?
USB to Parallel Port: IEEE-1284 (36Pins)
IEEE-1284 Pin Configuration Image:
https://i.stack.imgur.com/b75Z5.png
OS(Operating System): Windows 7 x64
Programming Language: C#
My Code:
private void…

Gigi10012
- 9
- 2
- 4
0
votes
1 answer
send raw command to lpt or com port without installing the device
is there a way to send raw command like esc+something to print or to open cash drawer through lpt port or com port in c# .net , but the printer or cash drawer just plugged in and not installed in that computer(using win xp os) , so there is no…

oktober A
- 1
- 1
0
votes
1 answer
Runtime command doesn't work anymore
My command is:
Runtime.getRuntime().exec("cmd /c copy /b D:\\MeAgent\\Reports\\receipt.hex lpt2:");
System.out.println("test");
In the console comes the "test", but the command is not executed and it comes no errormessage :(

FabianG
- 120
- 1
- 2
- 10
0
votes
1 answer
LPT with VC++ under Windows 7 ERROR: "External component has thrown an exception."
i'm trying to use the LPT port with c++ under Windows 7 and Visual Studio 2010
#include
int main()
{
_outp(0x378,00000000);
int input=_inp(0x278);
}
but i'm getting this error
"External component has thrown an exception."
So how…
user1467689
-1
votes
1 answer
How to interface with a non-legacy machine that uses parallel port,through a USB port?
I'm running a new psychological experiment that uses an old, non-legacy machine that communicates with a host PC via a parallel cable and physical LPT (DB25). It sends data to 8 data pins to control eight motors, basically turning individual motors…
-1
votes
1 answer
C# How can I control the output pins of an USB LPT cable
I have an USB LPT cable (Picture) and I want to control its output pins.
I am not familiar with USB connection coding. I searched, but I can't find anything useful for USB LPT coding.
Can anyone share simple code for controlling the output pins.

mmccaann
- 21
- 5
-1
votes
2 answers
Printing from Windows application to LPT1 port
I'm building a windows application on VS 2015 and I need it to print simple text using LPT1 on Dot-Matrix printer.
anyone can help?
Thank you

Hamoudi
- 41
- 3