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.

Wed Nov 11, 2015 5:56 pm

Hello everybody: How can I preview my print job before send it to the printer?

image01.png
image01.png (72.72 KiB) Viewed 1459 times


Cheers.

QMark
 
Posts: 10
Joined: Mon Sep 28, 2015 7:27 pm

Thu Nov 12, 2015 5:58 am

Hi,

Thanks for your inquiry.
Sorry that our Spire.Xls doesn't have print preview function. But you can use this code
Code: Select all
book.SaveToFile("sample.xps", FileFormat.XPS);
to save your excel file as XPS file so that can view the print effect.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Mon Nov 23, 2015 4:37 pm

It's enough for me.
Thanks!

QMark
 
Posts: 10
Joined: Mon Sep 28, 2015 7:27 pm

Tue Nov 24, 2015 1:24 am

Hi,

Thanks for your feedback.
Welcome to write to us again for further problems.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.XLS