What's the easiest way to implement Print Preview for my application?

Do I have to devise my own form? If yes, what considerations should I make?