Printout Problem error 2501

A

Alu_GK

Hello -
I've created an application in access 2003, installed it on another computer
that has the following configuration:
Windows XP, Office 2007, Access runtime 2003, and I've removed the access
2007 from the office package.
The following error happens when the user is trying to print a report.
"The action Printout was canceled, Error 2501"
A message of the error handling that I've created focuses the problem on the
Function "PrintNormalTas" which has the following code lines:

DoCmd.OpenReport sReportName, acViewPreview, , sFilterCriter
DoCmd.PrintOut acPrintAll, , , , nCopies
DoCmd.Close acReport, sReportName

This error happens only with this kind of report. Other reports are printed
ok.
And it happens only on that computer, though I have more users that uses
office 2007 and access runtime 2003, that don't have this problem.

If anyone has an idea how can I solve this – I WILL BE GREATFUL!!!
Thanks !
 
A

Alu_GK

Hello -
I've solved the problem.
The report includes an jpeg object, and the user can modify this object.
My user entered an invalid object and it was too big for the report.
that why the print action was canceled.
can i ignore this problem in the future by saying "resume next" on that
error message ? because the user will see for himself if the figure that he
entered is too big.
Thanks
 
K

kamel

Alu_GK said:
Hello -
I've created an application in access 2003, installed it on another
computer
that has the following configuration:
Windows XP, Office 2007, Access runtime 2003, and I've removed the access
2007 from the office package.
The following error happens when the user is trying to print a report.
"The action Printout was canceled, Error 2501"
A message of the error handling that I've created focuses the problem on
the
Function "PrintNormalTas" which has the following code lines:

DoCmd.OpenReport sReportName, acViewPreview, , sFilterCriter
DoCmd.PrintOut acPrintAll, , , , nCopies
DoCmd.Close acReport, sReportName

This error happens only with this kind of report. Other reports are
printed
ok.
And it happens only on that computer, though I have more users that uses
office 2007 and access runtime 2003, that don't have this problem.

If anyone has an idea how can I solve this – I WILL BE GREATFUL!!!
Thanks !
 

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