Hi,
We have been trying Printing Large Files from here: Printing a Microsoft Project (MPP/XML) files but always get NullReferenceException at Print(options) code. To mention, I have a physical printer attached with my system.
// Read the input Project file
Project project = new Project(dataDir + “project.mpp”);
PrintOptions options = new PrintOptions();
options.Timescale = Timescale.ThirdsOfMonths;
if (project.GetPageCount(Timescale.ThirdsOfMonths) <= 280)
project.Print(options);