Running a test print Run the command line tool. Run the command $ echo "this is a test" | lp -d <printername>.