Print Format ERP next issue

I have created a print format but when clicked on pdf btn or downloading the pdf it leaves behind the CSS unlike Print btn works well

Could you take a screenshot of your error message?

Not a err message but when i am downloading the pdf through pdf btn it excludes css