|
bool __fastcall TtcdResult::checkPrintName()
{
TPrinter *P = Printer();
TRACE("Print Name=%s P->Printers->Count=%d P->PrinterIndex=%d P->Printing=%d P->Handle=%d"
, P->Printers->Text ,P->Printers->Count ,P->PrinterIndex ,P->Printing ,P->Handle);
if (P->PrinterIndex != 0)
{
return true;
}
else
{
return false;
}
return true;
}
위의 TRACE를 넣어서 ON, OFF 시 테스트 했는데.. count ,index, name .. 등 값이 모두
내용이 같습니다..
프린트 ON , OFF 처리 어떻게 해야되는지 ..모르겠습니다.
|