The print-editor-buffer
function prints the contents of buffer to printer , which is the current printer by default. By default the entire editor buffer is printed, but by specifying start and end to be editor points, a part of the buffer can be printed. If interactive is t
, the default value, then a printer dialog is displayed.