The error screen: 

Solutions:

-----------------------------------------------------------

1) First try to preview with format <SR>01 Sales Invoice, you should able to preview.


2) check in the preview is it got second page with nothing details. If got empty second page, then most probably is the company header too large cannot fit. 


3) go to Company Profile>Preview>Customize, adjust [Header] to not exceed the right side like below picture, then save.

4) Now try to preview sales invoice with format "Tax Invoice" again, error will be solved. 


Thank you. :)