We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Print B&W PDF

Dear Team,

I am using version of Aspose PDF. I am trying to print a PDF which has colored text and images in it as B&W. Color property of the printer is set to true. So I am changing it to false as below. Any kind of suggestion is most welcome and appreciated.

var pageSettings = new PageSettings { Margins = new Margins(0, 0, 0, 0), Color = false };
var printDocument = new PrintDocument();

        var viewer = new PdfViewer
            AutoResize = true,
            AutoRotate = true,
            PrintPageDialog = false

        var printerSettings = new PrinterSettings
            PrinterName = printDocument.PrinterSettings.PrinterName,
            Duplex = Duplex.Simplex,

        printerSettings.DefaultPageSettings.Color = false;

            log.Info(string.Format("Printing document - {0}", filePath));
            viewer.PrintLargePdf(filePath, pageSettings, printerSettings);


Thank you for contacting support.

We are afraid that you can not convert a colored PDF document to a black and white one, at the moment. We have already logged a feature request under the ticket ID PDFNET-35728 in our issue tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

We are sorry for the inconvenience.