🇩🇪

USB-Logo The API for USB2LPT (Application Programmer's Interface) 25pol. SubD-Buchse

There is a specific API to access USB2LPT. You need this API to do: This API is relatively simple and uses almost no symbolic constants.

The objective while creating USB2LPT was not to adopt application software. In many cases, this will work well. But for some reasons, USB2LPT specific application software will have some advantages as noted above.

The strategy to communicate to USB2LPT is easy and portable accross programming languages as C, Delphi, VisualBasic, VBA, and LabVIEW. No additional DLLs are needed. You open communication by CreateFile of device "\\.\LPT1" (or "LPT2" if second device etc.), and transfer data over the DeviceIoControl Windows API.