Print a topic to a PDF file