Error on PrintPreparedReportDlg
I have a C++builder program which has been running Ok for some time but after changes now returns an error on calling PrintPreparedReportDlg
The program lines are like
if(ShowPreview) frInvReport->ShowReport();
else frInvReport->PrintPreparedReportDlg();
the showreport works fine and displays the report correctly but any attempt to actually print it causes an EReadError - Invalid Property Error
Error reading E1->OnKeyPress
The same error occurs on PrintPreparedReportDlg
This error also occurs when I run the old (previously working version)
The printer is on another computer connected via LAN and works OK to print other things like code listings etc.
Can anyone point me in the right direction
Steve
The program lines are like
if(ShowPreview) frInvReport->ShowReport();
else frInvReport->PrintPreparedReportDlg();
the showreport works fine and displays the report correctly but any attempt to actually print it causes an EReadError - Invalid Property Error
Error reading E1->OnKeyPress
The same error occurs on PrintPreparedReportDlg
This error also occurs when I run the old (previously working version)
The printer is on another computer connected via LAN and works OK to print other things like code listings etc.
Can anyone point me in the right direction
Steve