摘要:
void CPrintListTestDlg::OnBnClickedButton1(){ GetDlgItem(IDC_TxtList)->SetWindowText(L""); HANDLE PrnHandle; UpdateData(TRUE); LPTSTR strPrinter = m_StrPrinterName.GetBuffer();//如果网络打印机,则格式为\\Xp-pcname\CanonLBP or \\192.168.1.x\\PrinterName m_StrPrinterName.ReleaseBuffer(); i... 阅读全文