server that generate pdf document