Normal Topic printing multiple copies of invoices (Read 3079 times)
beagle
Junior Member
**
Offline


No personal text

Posts: 80
Location: australia
Joined: May 28th, 2004
printing multiple copies of invoices
Mar 2nd, 2005 at 1:48am
Print Post Print Post  
Hi,

Just after some advice.

When printing a copy of an invoice from sesame (eg the sample in Sesame seasons) it takes a while to "loop though" the subforms & generate a printed document.

In the application that i'm developing I need 4 copies of the "invoice".

I've set up a network printer, to print 4 copies (saving the time needed for sesame to "loop through" records 4 times.

Unfortunatly the printer only generates a single copy of a document from my app.

(the printer will produce multiple copies of emails etc - so it is set up correctly).

many thanks in advance
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: printing multiple copies of invoices
Reply #1 - Mar 2nd, 2005 at 4:43pm
Print Post Print Post  
You may have to make a variable for Number of Copies (can have a default) and use that variable as a counter as you loop through the Print Invoice program routine.

You could have an AskUser or a dropdown picklist with numbers, or similar approach when you click on Print Invoice button.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: printing multiple copies of invoices
Reply #2 - Mar 3rd, 2005 at 3:59am
Print Post Print Post  
I agree with Bob, and keep in mind the program does not need to 'loop' through the items for each subsequent copy. It can loop once and keep the data in memory for each copy it prints  (until all copies are printed, then the program ends and the data in memory is dumped).

Just wanted to throw that out there.

Steve
  
Back to top
IP Logged
 
beagle
Junior Member
**
Offline


No personal text

Posts: 80
Location: australia
Joined: May 28th, 2004
Re: printing multiple copies of invoices
Reply #3 - Mar 3rd, 2005 at 8:34am
Print Post Print Post  
Hi guy's,
thanks for your thoughts.
I had set the program up to repeat as mentioned above.

I was just seeing if there was a better "quicker" way

many thanks
  
Back to top
 
IP Logged