Terminal Guide

Media Control: Redirect Stream to Printer

ESC1B[5B 535 i69
urxvt
xterm
🔧

Redirect all further output to the printer.

This redirection is terminated by media control: disable printer redirection and auto print.

The following characters are not forwarded to the printer but just discarded: NUL00 , XON11  and XOFF13 .

The only sequences interpreted by the terminal in this mode is are media control: disable printer redirection and auto print and media control: redirect stream to printer which have their normal functions, all other sequences are not interpreted by the terminal.

urxvt ( ☹ )

🛆 If the terminating sequence of the redirect is not received in one go with the start sequence urxvt leaks operating system resources (file descriptors, running printing process) and possibly sends duplicated data to the printing process. 🛈 print command defaults to lpr. 🛆 urxvt does not interpret media control: redirect stream to printer but passes it along to the printer. 🛈 urxvt does not understand sequences in this mode that are encoded with the C1 variant of CSI.

xterm ( 🔧 )

🛆 xterm buffers at least one character that is only transmitted after the next character is received.