| | | | Browse by category |
Article ID: 45
Last updated: 16 Apr, 2018
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; |
||
} |
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 45
Last updated: 16 Apr, 2018
Revision: 3
Views: 1890
Posted: 12 Jan, 2001 by
Meltreger B.
Updated: 16 Apr, 2018 by
Meltreger B.
Others in this category
Powered by KBPublisher (Knowledge base software)