I
itparis
Hello,
I have an Access 2000 (SP3) database used for reporting. This database is
composed of an autoexec macro that selects reports to print out and that
sends them to the printer via the code below :
DoCmd.SelectObject acReport, ReportName, True
DoCmd.PrintOut , , , , NbCopies
Yet, since I scheduled the running of this database in the scheduled tasks
(Win2000 Wrk SP4), one report (amoung many that work well) does not print
anymore. The error is :
"You must install a printer before you design, print, or preview"
Yet, I have got a default printer. And when I try to print it manually,
there is no error and everything goes well. Changing of default printer does
not solve the problem.
Any idea?
Thanks,
Eric.
I have an Access 2000 (SP3) database used for reporting. This database is
composed of an autoexec macro that selects reports to print out and that
sends them to the printer via the code below :
DoCmd.SelectObject acReport, ReportName, True
DoCmd.PrintOut , , , , NbCopies
Yet, since I scheduled the running of this database in the scheduled tasks
(Win2000 Wrk SP4), one report (amoung many that work well) does not print
anymore. The error is :
"You must install a printer before you design, print, or preview"
Yet, I have got a default printer. And when I try to print it manually,
there is no error and everything goes well. Changing of default printer does
not solve the problem.
Any idea?
Thanks,
Eric.