Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Changing the printer capability

Question

QP.SetupCustomPrinter(CustomPrinter, x, y) should return 1 if setting the printer capability was successful. QuickPDF 7.19 returns allways 1, even if the printer or printer driver didn't accept the new setting (f.e. duplex mode on virtual PDF printers). Is it a bug ?

Answer

We've tested the SetupCustomPrinter function for both the DLL and ActiveX editions and it appears to work fine on our end. If we set the paper size it can accept values from 1 to 68, but when something over 68 is used (such as 69) it returns 0 to indicate that the function was not successful. Similarly for print quality when we pass 1-4 it returns 1, but when pass 5 it returns 0. It sounds like there might be a problem with your code? If you edit your original question and add the code that you're using then we can investigate this further.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum