VBScript code to print using notepad:
Dim objFSO, objText, strText, strFile, objShell
strFile=replace(WScript.ScriptFullName,WScript.ScriptName,"to_print.txt")
strText="Test" 'message that should be printed
Set objShell=WScript.CreateObject("WScript.shell")
Set objFSO=WScript.CreateObject("Scripting.FileSystemObject")
Set objText =objFSO.CreateTextFile(strFile,2)
objText.Write(strText)
objText.Close
objShell.Run "%windir%notepad /p """ & strFile & """",0
WScript.Sleep 1000
objFSO.DeleteFile strFile
Set objText=Nothing
Set objFSO=Nothing
Set objShell=Nothing
WScript.Quit