CListCtrlPrint::PrintListHead(CDC * pDC, CRect & rcPage, bool bCalc)
CFont * oft = pDC->SelectObject(&ftPrint);
int box = 0;
int y = rcPage.top;
int nMaxHeight = szFtPrint.cy;
//draw header text first
for (int t = 0; t < iNumCol; t++)
rc1.SetRect(rcPage.left + pDx[t], y, rcPage.left + pDx[t+1], y + szFtPrint.cy);
CString cs = pColTitle[t] ? pColTitle[t] : "";
Could you help me:
I wrote an application which calls database (Access,SQL Server) wich shows at time only information about one person
How to send to Printer/Print Preview the data shown at the given time. The Document is SDI.
thank you furthermore.
Koay Kah Hoe has written that print preview was added and he has also given the site for getting the example.But while i am trying to access that site it says that page is not found.From where can i get the Print preview.Please help me .
Thanks in advance
Posted by MaxMax14
on 07/21/2012 01:40pm
Print Previewing without the Document/View Framework
By Koay Kah Hoe | 26 Nov 1999 :
That's a nice class !!
I have used this class, but could not find how to implement print preview.
Is there any source code or demo project that explains the way to provide print preview using this class ??
I need your help...
When I have a network printer as my default printer the Print Setup dialog is bypassed. Setting any local printer as the default printer allows the print setup dialog to be brought up and includes the network printers in the selection list. Does anyone have a fix for this behavior?
I am using Visual C++ v.6.0 SP3 and testing in debug mode.