If cmd is not an empty string,
screen will not use the terminal
pf if it detects an ANSI print sequence
ESC [ 5
i, but pipe the output into cmd. This should normally be a command
lpr or ”
cat > /tmp/scr-print”.
printcmd without a
command displays the current setting. The ANSI sequence
ESC \ ends
printing and closes the pipe.
Warning: Be careful with this command! If other user have write access to your terminal, they will be able to fire off print commands.