WndLpt Application

WndLpt Application — wndlpt.exe

1. Just run wndlpt.exe (menu: Start > All programs > WndLpt > WndLpt)

2. Open or Drag-n-Drop text file with script OR Select the "Music" field.

3. Script will be automatically compiled and run OR Play Music. JUST ALL!

4. Now look at the LEDs or other devices connected to LPT port.

Command line features


wndlpt -mask 111000!!!xxx
wndlpt [-on|-off]
wndlpt [-bkgnd] [filename]


wndlpt -mask 111111111111
wndlpt -mask 000000000000
wndlpt -mask 10!xxxxxxxxx
wndlpt -on
wndlpt -off
wndlpt -bkgnd
wndlpt -bkgnd script.txt
wndlpt script.txt
wndlpt "c:\program files\script.txt"
wndlpt ".\scripts\script.txt"

About "-mask":

1 - on
0 - off
! - invert
x - don't change

Technical details

* For low-level LPT I/O used winring0 or inpout32.

* Default LPT port is 0x378 in hexadecimal (or 888 in decimal).

* Other port may be specified by the registry key (be careful with that key):


* LPT Port must be configured into EPP mode with BIOS Settings:

[Integrated Peripherals]

Onboard Parallel Port = Enabled or 0x378h

Parallel Port Mode = EPP

Additional features

1. On startup without command line arguments WndLpt is trying to run a script "autorun.txt".

2. The window can be hidden and shown using the context menu icon in the taskbar.

3. You can find some training examples in the "scripts" directory.

4. The script stops when errors are detected in it.

5. Unessential errors will be ignored.

6. Script is ANSI or Unicode text. Maximum script file size is restricted by 64 kB for reasons of common sense.