G
Guest
I am using the following C# code to print a PDF to a network printer. The
document prints in portrait mode, I would like the document to print in
Landscape mode. Is there/What is the argument that I need to supply to
accomplish this?
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = FileName;
startInfo.Verb = "printto";
startInfo.Arguments = @"\\server1\Printer1";
startInfo.CreateNoWindow = true;
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.UseShellExecute = true;
startInfo.ErrorDialog = true;
System.Diagnostics.Process.Start(startInfo);
Thank You,
Vinny
document prints in portrait mode, I would like the document to print in
Landscape mode. Is there/What is the argument that I need to supply to
accomplish this?
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = FileName;
startInfo.Verb = "printto";
startInfo.Arguments = @"\\server1\Printer1";
startInfo.CreateNoWindow = true;
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.UseShellExecute = true;
startInfo.ErrorDialog = true;
System.Diagnostics.Process.Start(startInfo);
Thank You,
Vinny