I need help to write an applet to redirect LPT1 output to the printer that
user selects.

Seems that using the GetPrinter() function would be easiest. Questions:

1) Do I need a form at all?
2) What command/API implements the NET USE LPT1 \\ComputerName\PrinterName
windows command ?
3) How do I setup the project if the only thing that the program needs to
do is call GetPrinter(), redirect output, and save user's answer into a text

As you can see my questions are _very_ basic.