With this
ShellExecute(Handle, 'print', PChar(ExtractFilePath(ParamStr(0))+'Test.txt'),
nil, nil, SW_HIDE);
It is possible to print out files.
Is there a way I can use a TStream
instead of a file so that I can print directly from my stream?