Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Fri Jul 03, 2020 12:17 pm

Greeting,

I found a problem for using FreeSpire.XLS 10.1.0 and Spire.XLS 10.5.7.

when i set printer BP-3000(DPI is 180)as default,the content shrinks to 1/4 size in print preview, then when set other printer as default, the print prewiew shows normally.

微信截图_20200703200115.png
微信截图_20200703200115.png (30.71 KiB) Viewed 831 times


shrinks to 1/4 size in print preview
微信截图_20200703200242.png
微信截图_20200703200242.png (22.62 KiB) Viewed 831 times


Normally A4 paper should be fully occupied by contents.

here is the testing code:
Code: Select all
            Workbook workbook = new Workbook();
            workbook.LoadFromFile("test.xlsx");

            PrintPreviewDialog printPreviewDialog = new PrintPreviewDialog();
            printPreviewDialog.Document = workbook.PrintDocument;
            printPreviewDialog.PrintPreviewControl.Zoom = 1.0;
            printPreviewDialog.ShowDialog();


BP-3000 download URL:hxxp://down.5down.net:8585/startqudong.rar
It doesn't need real printer, just install this driver。

Please help me.

qiangqiang
 
Posts: 1
Joined: Fri Jul 03, 2020 11:52 am

Mon Jul 06, 2020 6:54 am

Hello,

Thanks for your inquiry.
I tested your scenario and indeed noticed the issue you mentioned. This issue has been posted to our Dev team with the ticket SPIREXLS-2491 for further investigation. If there is any update, we will inform you. Sorry for the inconvenience caused.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.XLS