Controlling the print output is a most interesting topic and is treated in detail in the following.
Controlling Print Output
Return Parameters of the Print Output