want to print generation time on sale invoice
to print sales invoice on the time of generation you need to enable it from voucher series configuration
1. go to the configuration option under administration menu
2. then click on voucher series configuration
3. select sales and series
4. then click on voucher configuration
5. there is option called print sales invoice after saving and set default format for printing
6. save the configuration and check it .