Hello
I need to print invoices twice like discribed below:
If there is 2 pages in 1 invoice , I would like to print twice the first page and then twice the second page .
It is working well if I write 2 copies in the printer window.
But if I don't want to go threw the printer window (FALSE) how can I manage?
Thanks in advance
Jack
0
Comments
You can use two possibilities for this :
- For each customer you can specify how many copies of the invoice have to be printed in the field "Invoice Copies"
- In the form Sales,Setup,Report Selections Sales you could simply add the report Invoice twice for Usage=Invoice. The disadvantage with this solution is that you will see the request form twice.
May the source be with you
You might be able to check the property USEREQFORM on the report.
Put this line in the bottom of the OnPreDataItem trigger:
IF NOT CurrReport.USEREQUESTFORM
THEN SETRANGE(number,1,2); - I'm not sure if it is called number in the WW ed. - called Nummer in danish..
Then you'll still be able to use defaults for customers and no. of copies on the requestform if you want to run the report with requestform from somewhere else.