Let print_command and print_ver use conn object.

In preperation to future changes, expose the full
connection object to the two print functions.