Improved output of the -p --print option