I have a variable to cause 2 invoices to be printed. I modified the code to
allow for that, however, if 2 invoices are supposed to be printed I had added
this code to the BeforePrintPreview embed:
SELF.PageRanges.LowerRange = 1
SELF.PageRanges.UpperRange = RECORDS(PrintPreviewQueue)
SELF.Copies = loc:numInvoices
Would this be causing it to print one to the printer before it goes to the
preview? I know if I set loc:numInvoices to 1, it previews like normal.
I'm sure I got this code somewhere here... It's just that we just now found out
that this is happening.
The only other code I can find that has to do with the # of copies is in the
Is there a better way to tell it to print more than 2 copies... without it
printing one to the printer first before the preview?