command line print