Pdf printing format is not proper in sales invoice

Hi all, I am facing issues while exporting the sales invoice as pdf file. It is not in the proper format. Bootstrap styles are not applying for it. It is showing the entire thing in a single column. Not in a proper format. Please help. How to solve this issue. Thanks