Paper size in Printing
Posted on 1998-05-07
How to print in WINNT to folder paper, which size isn't
offer in Printing setup dialog. Is any way how to add a chois custom size of paper to Printing Setup dialog?
I tried change paper size after calling Print dialog by
LPDEVMODE devMode = pInfo->m_pPD->GetDevMode();
CPrintDialog * pPD = pInfo->m_pPD;
CDC *dc= new CDC();
long height = dc->GetDeviceCaps(VERTSIZE) ;
The result is that height is apropriate to A4 paper size, not
to my size.
Thank You Ivan