int = GetDeviceCaps(hdc, Index
)
Retrieves device-specific parameters and settings
Parameters
hdc : PyHANDLE
Handle to a printer or display device contextIndex : int
The capability to return. See MSDN for valid values.Comments
Can also be used for Display DCs in addition to printer DCs
Win32 API References
Search for GetDeviceCaps at msdn, google or google groups.