Invoice format different from email to print

You can check your system’s firewall.
Maybe the firewall blocked some thing.