Questions tagged [lpt]

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

68 questions
0
votes
0 answers

giving uninterrupted access to parallel port linux

I want to modify my program so that I can ensure my linux system can give my C application 100% uninterrupted access to my parallel port. I have the following statements in my program already: if (ioperm(0x378,3,1) ==-1){printf("Access…
Mike -- No longer here
  • 2,064
  • 1
  • 15
  • 37
0
votes
2 answers

c# LPT Control all pins. Not 8

I can control 8 pins in LPT using inpout.dll. I want to control some LPT device but I need to use more than 8 pins. How to do it? It can be COM or NET dll. I have no idea how to control more than 8 pins.
Hooch
  • 28,817
  • 29
  • 102
  • 161
0
votes
2 answers

How is it possible to control hardwares like Parallel port and serial port from asp.net

Guyz, please tell me if i can control a LPT port or COM port or any other hardware of server using ASP.Net with C#. I haven't found any clue in the internet. I want to control a COM port Parallel port from web application. I want to know about this…
0
votes
1 answer

Unable to write to file LPT1 java

I have one small problem. Somewhere I found that I can program LPT port by writing to file "LPT1" But this code doesn't work. It outputs: 1 2 3 Here is my code: public static void writeByte(byte data, String portName) throws IOException { …
Poseydon
  • 59
  • 1
  • 9
0
votes
1 answer

C# LPT Name problem

How can I send output to LPT in C#. I use SerialPort class. I set port name to "LPT1" and I'm getting this error. The given port name does not start with COM/com or does not resolve to a valid serial port. Parameter name: portName What to do?
Hooch
  • 28,817
  • 29
  • 102
  • 161
0
votes
1 answer

Send data to LPT on windows XP

I want to send data to a printer on LPT1 and i trying exactly this but my CreateFile returns -1 (The system cannot find the file specified.Exception from HRESULT:0x80070002). How to open LPT1 port and send data to? I am trying this on XP and after…
gigi
  • 3,846
  • 7
  • 37
  • 50
0
votes
0 answers

AT89C52 SPI programming via parallel port nightmare

I'm trying to figure out why my chip can't be programmed completely. I attempted to store 1.7 KB of code in the chip. I was successfully able to program the first 256 bytes and was able to verify each one (even though there were hiccups at times),…
Mike -- No longer here
  • 2,064
  • 1
  • 15
  • 37
0
votes
1 answer

Android: Communicate with printer using USB to LPT adapter

My Android software need to talk with a Zebra printer using an USB-to-Parallel(LPT) adapter. I don't know if I have to consider the adapter as a Usb/serial interface or a Parallel connection. I don't think that Android can handle LPT connections; on…
Michele
  • 48
  • 1
  • 6
0
votes
0 answers

Parallel port usage on Windows

I'm planning to drive a Noritake VFD GU256x64D-3900 through parallel port from a Windows 10 PC. For that purpose I started investigating ways to use parallel ports on Windows. I found some documentations about Communications Resource Handles and…
Slion
  • 2,558
  • 2
  • 23
  • 27
0
votes
1 answer

inpou32.dll doesn't work on my computer

I've tried to run the following code on my PC. With PORT 0x378 (LPT1 data) it works fine. But with PORT 0x379 (LPT1 status) it always returns 126 no matter what I output in the previous line. 0x37A works too. I have Windows XP #define PORT…
hencz
  • 3
  • 1
0
votes
1 answer

Qt Parallel Port Interfacing

i'm beginner to Qt, I wanted to know how can i interact with Printer like devices which are connected to LPT/Parallel port. i just want to send the control codes to dot matrix printer and also receive the data from a device which is connected to…
K Vinay
  • 13
  • 6
0
votes
1 answer

Printing text and images on an LPT port

I'm working on c#.net application that already use serial port to print ticket with text and a little image as logo by thermal printer. Now i need to migrate the implementation to allow application to print through Parallel Port because the hardware…
0
votes
1 answer

Printing ESC Codes In LX 350

We have a Old Software that Prints through LPT port and we are passing ESC code 14 & 18 to double-width printing and this works perfect when we use LPT port but when change the same printer to USB port all fonts print same small size and it prints…
0
votes
2 answers

How to check if button is pressed and working on LPT port in C++

I have a button I got out of a random item around the house and I wanna hook it up to my LPT port and check if its pressed or not in C++ and if it is display a message.
H4cKL0rD
  • 5,421
  • 15
  • 53
  • 74
0
votes
1 answer

c# LPT loopbacktest

I need to test LPT Ports via a Loopbacktest. I've got Loopbackdongles and just want to know if the LPT Ports are working correctly. I have no idea how to accomplish this goal with c#. I know that I need these inpout.dll's for either 32- or…
DerHelm
  • 37
  • 6