Print Page | Close Window

Counterpart to SetupCustomPrinter for print qual.?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2811
Printed Date: 04 Apr 26 at 4:38AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Counterpart to SetupCustomPrinter for print qual.?
Posted By: siggeltheturtle
Subject: Counterpart to SetupCustomPrinter for print qual.?
Date Posted: 13 Jan 14 at 9:30PM
Hi there,
is there a counterpart function to SetupCustomPrinter to obtain supported printer qualities (like GetPrinterBins for supported bins)?
Some printers support 300 and 600 dpi, others 600 dpi only, or ink jets 360 or 720 dpi only. So given e.g. a minimum target quality of 600 dpi, how do I know what resolution to provide in SetupCustomPrinter?
Best regards,
siggeltheturtle



Replies:
Posted By: AndrewC
Date Posted: 14 Jan 14 at 11:06AM
Siggel,

You will need to use the Win32 API calls specifically designed for this.  It doesn't make sense for Debenu Quick PDF Library to reproduce every possible printer API function as we need to focus on core PDF features.

These links will help you get started.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd183552(v=vs.85).aspx

http://msdn.microsoft.com/en-us/library/office/ff197339.aspx

Remember that the DEVMODE structure used in SetupCustomerPrinter is not always respected by printer driver manufacturers and some drivers use their own custom DEVMODE settings for Duplex, collation etc..

Andrew.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk