Error with PDF creation

I have having problems creating the PDF. Keeps getting the following error

FormatException: System.FormatException: Input string was not in a correct format.
  at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x0005e] in <4fbd3dde245b44dca2ad330af7c17ed0>:0 
  at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00014] in <4fbd3dde245b44dca2ad330af7c17ed0>:0 
  at System.Int32.Parse (System.String s) [0x00007] in <4fbd3dde245b44dca2ad330af7c17ed0>:0 
  at ManagerServer.PdfConverter.ApplyStyle (Apitron.PDF.Kit.FlowLayout.ContentElement section, System.String style) [0x002f3] in <05a43c57da8449b493082634addea693>:0 
  at ManagerServer.PdfConverter.ContentElement (HtmlAgilityPack.HtmlNode node) [0x00178] in <05a43c57da8449b493082634addea693>:0 
  at ManagerServer.PdfConverter.ContentElement (HtmlAgilityPack.HtmlNode node) [0x000ee] in <05a43c57da8449b493082634addea693>:0 
  at ManagerServer.PdfConverter.Tr (HtmlAgilityPack.HtmlNode node) [0x0001a] in <05a43c57da8449b493082634addea693>:0 
  at ManagerServer.PdfConverter.Table (HtmlAgilityPack.HtmlNode node) [0x000df] in <05a43c57da8449b493082634addea693>:0 
  at ManagerServer.PdfConverter.ContentElement (HtmlAgilityPack.HtmlNode node) [0x00020] in <05a43c57da8449b493082634addea693>:0 
  at ManagerServer.PdfConverter.ConvertHtmlToPdf (System.String input, System.IO.Stream output) [0x003cb] in <05a43c57da8449b493082634addea693>:0 
  at ManagerServer.HttpHandlers.Pdf.Post () [0x000ed] in <05a43c57da8449b493082634addea693>:0

Before posting new topics can you please search for existing topics on similar problems

I have managed to recreate the error

Apparently this issue only happens when i downsize the document for printing from 100% to 90%

I did this because the invoice extended into the second page with a blank second page and i wanted to force the printout into one single page

If i left the percentage as 100%, the printout came out correctly

Best Regards

Lionel Seaw