SAVEASPDF ignores spaces (NAV 2009 R2)

ACaignieACaignie Member Posts: 91
Hello,
I have made an invoice document in RDLC so it can be saved as PDF. This works fine, but there is a difference between printing to paper (or preview) and saving the report as PDF.
Some of the lines in the report have spaces in front of the text. When printed this is fine, but the SAVEASPDF function removes these spaces. I added 2 printscreens to show the problem.
Any idea how I can solve this? My idea would be to replace the first character with a non-visible character, but I'm not sure if this would be a good idea.


Print with spaces:

d5ba6d0bdu6r.jpg

SaveAsPDF with spaces removed:

rp7quqdlknfz.jpg

Kind regards,
Andy

Best Answer

Answers

  • archer89archer89 Member Posts: 337
    is that a classic report or a rdl report ?
    best regards
    Franz Kalchmair, MVP
    Alias: Jonathan Archer

    please like / agree / verify my answer, if it was helpful for you. thx.
    Blog: http://moxie4nav.wordpress.com/
  • ACaignieACaignie Member Posts: 91
    It's an RDL report
  • Wisa123Wisa123 Member Posts: 308
    I've had similar issues a long time ago. I think I worked around it using the padding property in RDLC.
    Might want to try that.

    regards, wisa
    Austrian NAV/BC Dev
Sign In or Register to comment.