function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cruttley2cruttley2 

Two identical S-Docs templates produce different PDF's

I have two S-Docs/SDocs templates that have identical HTML source code. (I did a file compare) There are no headers or footers, and the Page Settings are also identical. These templates produce a PDF for an Order.
When I generate the S-Docs PDF from the Order page using a button, each of these templates produces a slightly different output....the margins are different on both. This results in one of the templates, with wider margins, cutting off some information on the right side of the PDF.
Can anyone think of what could cause this?

(the reason I need this resolved is that S-Docs is not allowing me to edit the correct template, so I thought I could just copy the HTML from the correct template to the new template...but the HTML is identical...so now I am stuck!)
AshwiniAshwini (Salesforce Developers) 
Hi Cruttley2,
To resolve this issue, carefully check that both templates and their settings are exactly the same. Thanks.