InpOut32 | windows DLL and Driver to give direct access
kandi X-RAY | InpOut32 Summary
kandi X-RAY | InpOut32 Summary
This is a mirror. InpOut32 is a windows DLL and Driver to give direct access to hardware ports (for example the parallel and serial port from user level programs.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of InpOut32
InpOut32 Key Features
InpOut32 Examples and Code Snippets
Community Discussions
Trending Discussions on InpOut32
QUESTION
I have just installed Strawberry Perl 5.26 on a Win32 machine (XP), and installed Device::ParallelPort (with cpanm, and the installation is OK).
When I try to use the module, I have :
...ANSWER
Answered 2018-Mar-08 at 22:59According to the Device::ParallelPort::drv::win32 docs...
Standard installation, but you also need "inpout32.dll" which may require either putting into your windows System directory, or at the location of your executable.
inpout32.dll actually comes from a 3rd party source and is freely available.
Unfortunately that site appears to no longer work. You'll have to find another source.
If you wanted to get ambitious, you could patch the module to handle this automatically and, if the DLL's license allows, ship with the DLL. Or write an Alien wrapper module.
QUESTION
I am working on building a website that will print ZPL code to a Zebra printer "140XiIII". The specifics are as follows:
The Printer is connected to the computer via Parallel Port.
The Printer is not connected to the network.
Website Administrator wished to avoid Javascript use if at all possible and instead focus on C#.
I have tried using the code at .NET code to send ZPL to Zebra printers that states that it will work on any port. I run through the code and get no errors, but also nothing gets sent to the printer.
I have attempted to decipher and use the InpOut32/64 DLL, though that is more complicated than my meager learnings are able to understand.
Other options either require the printer be connected to the network, or are outdated and no longer an option due to no longer being in the Windows code.
Thank you.
...ANSWER
Answered 2018-Feb-21 at 16:17I would suggest trying the following:
- Log into the server, preferably as the user that the service is set to run as.
- Ensure your Zebra printer is installed as a local printer, and the printer name is correct.
- Print a test page from the printer properties.
- Print your ZPL manually:
net use lpt1 "printer shared name"
print "C:\Users\serviceuser\desktop\label.txt"
If you try the above and it works, I would be surprised that the code you linked does not work.
QUESTION
I want to be able to read and write to an LPT port from C#.
Tried to import inpoutx64.dll and inpout32.dll, to use these to read and write to the LPT port. But I get the following error message when I add the reference ...
A reference to 'C:\Users\User\Documents\inpoutx64.dll' could not be added. Please ensure that the file is accessible, and that it is a valid assembly or COM component.
Is there any other DLLer for windows 10, or is there anything i can use in Windows SDK to communicate with the LCP port ...?
I use Windows 10 64 bit, and .NET 4.5.
...ANSWER
Answered 2017-Jun-30 at 08:02Since inpoutx64.dll
and inpout32.dll
are no valid assembly or COM components you can't import them using the project references.
You need to import the functions of the dll in code like
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install InpOut32
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page