A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Printout Problem, error 2501



 
 
Thread Tools Display Modes
  #1  
Old March 16th, 2010, 06:22 AM posted to microsoft.public.access.tablesdbdesign
Alu_GK
external usenet poster
 
Posts: 51
Default Printout Problem, error 2501

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 !
--
Alu_GK
  #2  
Old March 16th, 2010, 02:00 PM posted to microsoft.public.access.tablesdbdesign
Golfinray
external usenet poster
 
Posts: 1,597
Default Printout Problem, error 2501

I think that error is related to the printer, not access. Is this machine
printing to the same printer as everyone else? Check your print queue and
cartridge and printer driver.
--
Milton Purdy
ACCESS
State of Arkansas


"Alu_GK" wrote:

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 !
--
Alu_GK

  #3  
Old March 16th, 2010, 02:29 PM posted to microsoft.public.access.tablesdbdesign
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Printout Problem, error 2501

Is there a default printer installed on that computer?

What happens when they try to manually print the report?

Are there records for the reports to print?

DoCmd.PrintOut prints the active object. Could there be something
interfering with the report after it's open?
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"Alu_GK" wrote:

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 !
--
Alu_GK

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.