I have a code where i am printing word document.
I have decided on using print process as i need to print from command line.
In the sample document there is a section with picure that has modified margins by user.
How do i set it up to print doublesided?
my code so far:
Process printJob = new Process();
printJob.StartInfo.Verb = "PrintTo";
printJob.StartInfo.Arguments = printerName;
printJob.StartInfo.CreateNoWindow = true;
printJob.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
printJob.StartInfo.FileName = path;
printJob.StartInfo.UseShellExecute = true;
printJob.StartInfo.Verb = "print";
printJob.Start();
Just setup 2 pages. The print if setup to support printing on both sides of a single piece of paper will simply do that.
Why on earth are you using a Process to print a word document?