Search:
|
Browse by category:
|
| | | |
|
Problem
How can I change the default printer settings?
Cause
Action
You need to get the device structures from the CGXPrintDevice object:
CGXPrintDevice* pDevice = GetPrintDevice( );
if (pDevice) |
||
// Ensure that device info is existent pDevice->NeedDeviceHandles( ); // Now, you can get the device info pd->GetDeviceInfo(pDevNames, cbSizeDevNames, pDevMode, cbSizeDevMode); // Now, you can change this structure pd->CreateDeviceHandles(pDevNames, cbSizeDevNames, pDevMode, cbSizeDevMode); delete pDevMode; |
||
} |
Prev | Next | |
Objective Grid: Determining the database field displayed in a... | Objective Grid: Row height/column width not stored correctly... |