Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed Dec 16, 2020 6:08 pm

Hello good afternoon!
I need to set the resolution during printing. Use those patterns like: draft, low, medium, high, for toner savings.
Can I manipulate these parameters during printing by the API?

gafforelli
 
Posts: 37
Joined: Sat Sep 15, 2018 6:38 pm

Thu Dec 17, 2020 1:39 am

Hello,

Thanks for your inquiry!

Please refer to the following code to set the resolution during printing.
Code: Select all
            PdfDocument pdf = new PdfDocument();
            pdf.LoadFromFile(@"E:\testdoc\sample.pdf");

            //High Medium Low Draft Custom
            pdf.PrintSettings.PrinterResolutionKind = Spire.Pdf.Print.PdfPrinterResolutionKind.Draft;


If you have any other questions, please feel free to contact us.

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Wed Dec 23, 2020 9:35 am

Hello,

Hope you are doing well.

Has the issue been solved now? Could you please give us some feedback at your convenience?

Thanks in advance.

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Tue Feb 02, 2021 11:58 am

Hello Marcia, how are you?
Sorry for the delay.
Yes, it worked perfectly.
Thank you very much for your support!

gafforelli
 
Posts: 37
Joined: Sat Sep 15, 2018 6:38 pm

Wed Feb 03, 2021 1:27 am

Hello,

Glad to hear that the issue has been solved.

If you encounter any issues related to our product in the future, just feel free to contact us.

Have a nice day!

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Return to Spire.PDF

cron