You can obtain the current printer, or ask the user to select one, by using
. You can ask the user about configuration by using the functions
which display the standard Page Setup and Print dialogs.
You can pass the printer object (as returned by
) to APIs with a
argument, such as
. The printer object itself is opaque but you can modify the configuration programmatically using
CAPI User Guide (Windows version) - 30 Aug 2011