When a ‘print’ button is pressed, an error message pops up as shown below:
Code under the procedure as shown:
PR_Verify_PDF_Printer;
PrintStartReport(sp_WeeklyReport_Cover_Title);
! Print cover
PrintPage("r::Weekly Report Cover");
! Print summary
PrintPage("r::Weekly Report Summary");
for i_WeeklyReport_PrintableMonth do
! Set month
ep_WeeklyReport_Month := i_WeeklyReport_PrintableMonth;
! Generate report
pr_WeeklyReport_GenerateReport;
for i_Report_PrintableAffiliate do
! Set affiliate
ep_WeeklyReport_Affiliate := i_Report_PrintableAffiliate;
! Generate Affiliate report
pr_WeeklyReport_GenerateAffiliateReport;
! Print page
PrintPage("r::Weekly Report");
if p_WeeklyReport_PrintExtraGraphs then
! Print page 2
PrintPage("r::Weekly Report 2");
endif;
endfor;
! Print monthly totals page
PrintPage("r::Weekly Report Month Total");
pr_WeeklyReport_ClearTotals;
endfor;
PrintEndReport();
What might be causing it? How does one resolve this issue?