Documentation system for on-line information and printed output