Simply print from current application displaying the data to a PostScript file. Run the file through ps2pdf to get the pdf file.