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";
rend.Print();
Any ideas? I also tried printing the document without specifying the PrinterName and had the same problem.
Thanks
Hi,
I am using DocumentRenderer to print a word document, The word document already contains some tables(Manuly added), The border type for the tables are “none”, Means it should not get print while printing, I have just used this table for layouting my document. but Aspose is printing the table too, How make this invisble. Please replay fast.
Thanks in advance
Manikandan Balakrishnan (LogicaCMG)
Hi,
Sorry, but the renderer is currently beta and we are working on another version with completely different codebase. Therefore we do not fix the beta. Please wait until the final version is released.
We are happy to tell you that the new Rendering Engine has replaced the “old Viewer Beta”. The Rendering Engine can print, save as images or draw onto .NET Graphics object any document page.
Please see Aspose.Words documentation to learn more about new features.