creating pdf of letter