what lang is this written in#??
you should be ok with just a normal button on the form.
the buttons onclick event you will need to write the details to a temp file
something like
Set tsTemp = FSO.CreateTextFile("c:\temp.txt", True)
tsTemp.WriteLine Now()
tsTemp.WriteLine "Username=" & txtBox1.Value '???
tsTemp.Close
Set tsSMSStampfile = Nothing
'then print the c:\temp.txt??
'never told a printer to print a file before, there must
'b a clever way of doing it, all i can think of is
'WshShell.Run "cmd /c c:\temp.txt > lpt1
im sure someone else can help you out with that one