I want to print some text to PDF.
I would like the page height to be the size needed to fit the text, not taller or shorter.
I'm having trouble even working out the terms to use to search for how to do this.
Can anyone suggest even a start point for my search? I'm not looking for a complete answer so please don;t vote me down for not doing my homework. I'm looking for a start point to do my homework.