PC Review


Reply
Thread Tools Rate Thread

Copies of Access Report

 
 
=?Utf-8?B?SGFycHJlZXQ=?=
Guest
Posts: n/a
 
      10th Jun 2005
I am trying to print more than one copies of an access report. I tried
Docmd.PrintOut acPrintall,,,,5 --- did not work
Application.Printer.Copies=5 --- did not work
For Next Loop --- it works but does not solve the problem
I am printing labels on thermal printer and if I print it with for next
statement it takes lot of time to print like 150 times, but if I manually set
the number of copies on printer to 150 it goes bam and in few seconds
everything is printed.
I want to set the number of copies on pritner through code, each time
I print the report. How can I do that...????
Help will be appreciated Thanks
 
Reply With Quote
 
 
 
 
=?Utf-8?B?T2Zlcg==?=
Guest
Posts: n/a
 
      11th Jun 2005
I would use a loop
For I=1 to 5
docmd.openreport "ReportName"
next I

Or you can use the
docmd.PrintOut acPrintAll,,,,5
After you open the report in preview.

"Harpreet" wrote:

> I am trying to print more than one copies of an access report. I tried
> Docmd.PrintOut acPrintall,,,,5 --- did not work
> Application.Printer.Copies=5 --- did not work
> For Next Loop --- it works but does not solve the problem
> I am printing labels on thermal printer and if I print it with for next
> statement it takes lot of time to print like 150 times, but if I manually set
> the number of copies on printer to 150 it goes bam and in few seconds
> everything is printed.
> I want to set the number of copies on pritner through code, each time
> I print the report. How can I do that...????
> Help will be appreciated Thanks

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I Print a report on close and specify # of copies? ACCESS 2 David Palmer Microsoft Access Reports 2 11th Mar 2010 10:34 PM
How do I stop Access from spooling report copies as a single Doc? =?Utf-8?B?YnJ5YW40Mg==?= Microsoft Access Reports 0 17th Jul 2006 08:01 PM
Multiple copies report =?Utf-8?B?Q2xhdWRpb01hZGVpbkl0YWx5?= Microsoft Access Reports 13 29th Jun 2006 09:43 PM
Setting the "number of copies" in code for an access report Brad Pears Microsoft Access Form Coding 2 1st Nov 2005 11:29 PM
Report Copies?? Michael Kintner Microsoft Access Form Coding 4 20th Jan 2004 10:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:02 AM.