I have been trying to print out a word doc to a printer and keep recieving this error:
Number was less than the array's lower bound in the first dimension.
Parameter name: srcIndex
I am calling the print code as the following:
Aspose.Words.Document doc = new Aspose.Words.Document(inputFile);
Aspose.Words.Viewer.DocumentRenderer rend = new Aspose.Words.Viewer.DocumentRenderer(doc);
rend.PrinterSettings.PrinterName = @"\\ort-rosev\ORTICON2";
Any ideas? I also tried printing the document without specifying the PrinterName and had the same problem.