I think this is the thread with an example.

http://www.apug.org/forums/forum41/1...ing-print.html