The Emacs manual says:
M-x
print-buffer
Print hardcopy of current buffer with page headings containing the file name and page number.
M-x
lpr-buffer
Print hardcopy of current buffer without page headings.
M-x
print-region
Like
print-buffer
but print only the current region.
M-x
lpr-region
Like
lpr-buffer
but print only the current region.[...]
To specify the printer to use, set the variable
printer-name
. The default,nil
, specifies the default printer.
How do we specify the printer to use?
For example, a PDF printer, which is not shown in the output of
lpstat -p -d
Thanks.