win32print.GetDeviceCaps
int = GetDeviceCaps(hdc, Index )
Retrieves device-specific parameters and settings
Parameters
Comments
Can also be used for Display DCs in addition to printer DCs
Win32 API References
int = GetDeviceCaps(hdc, Index )
Retrieves device-specific parameters and settings