"You must install a printer..." error on Access

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top