Trying to avoid writing to temp file, printing file, then deleting file. I am able to do that using the code below.
report.Publish("C:\\testdoc.pdf", Siberix.Report.FileFormat.PDF);
Process p = new Process();
p.StartInfo = new ProcessStartInfo()
{
CreateNoWindow = true,
Verb = "print",
FileName = "C:\\testdoc.pdf"
};
p.Start();
I know that Publish allows sending pdf output to stream. Is there a way to print that stream?