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.
shrinks to 1/4 size in print preview
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.