Document prints blank pages after upgrading to 9.0.0

I have a document, that printed good under the previous version I had installed, now after upgrading it started to print a this document as blank pages, when I save it to disk the document looks good, just the printing is blank, the difference between the other documents that do print and this, is that this is using a special paper size.

Attached the document

Hi

Thanks for your inquiry. I cannot reproduce the problem on my side using the latest version of Aspose.Words. I use the following code for testing:

Document doc = new Document("PickLabel.docx");
PrinterSettings printerSettings = new PrinterSettings();
printerSettings.PrinterName = @"\\192.168.0.4\hp LaserJet 1010 Series Driver";
doc.Print(printerSettings);

Best regards,

I am getting blank pages, here is the code I used to test

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aspose.Words;
using System.Drawing.Printing;
namespace TestAspose
{
    class Program
    {
        static void Main(string[] args)
        {
            Document doc = new Document(@"\192.168.1.47\ServerDocs\Templates\PickLabel.docx");

            PrinterSettings printerSettings = new PrinterSettings();

            printerSettings.PrinterName = "HP LaserJet 4250 PCL 6";

            doc.Print(printerSettings);

        }
    }
}

Hi

Thank you for additional information. I cannot reproduce the problem on my side. Could you please check printer setting on your side?
Also you can try printing your document to TIF file using the following code:

Document doc = new Document("PickLabel.docx");
PrinterSettings settings = new PrinterSettings();
settings.PrinterName = "Microsoft Office Document Image Writer";
settings.PrintToFile = true;
settings.PrintFileName = "out.tif";
doc.Print(settings);

Best regards,

I don’t have the “Microsoft Office Document Image Writer” printer installed, I did try using the XPS printer driver, and it worked, but to any other actual printer we have in this place I only get blank pages.

I tries both as a 32 and 64 bit version in visual studio, on Windows 7 64 bit

Basically what I am seeing is that if the page size is not standard it will not print trough Aspose, but it will save to PDF etc. perfect

Got some more information.

Printing on any HP printer in our place will print blanks. But when I printed to a Zebra Label printer it printed OK.

Hi
Thank you for additional information. But I still unable to reproduce the problem on my side. I can successfully print your document on paper.
I think there must be something wrong with HP printer settings.
Best regards,