Function: pr-setup
pr-setup is a byte-compiled function defined in printing.el.gz.
Signature
(pr-setup)
Documentation
Return the current printing setup.
This is *not* an interactive command.
One way to see printing setup is to switch to a *Scratch* buffer and type:
M-: (insert (pr-setup)) RET
Or choose the menu option Printing/Show Settings/printing.
Source Code
;; Defined in /usr/src/emacs/lisp/printing.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Utilities
(defun pr-setup ()
"Return the current `printing' setup.
This is *not* an interactive command.
One way to see `printing' setup is to switch to a *Scratch* buffer and type:
M-: (insert (pr-setup)) RET
Or choose the menu option Printing/Show Settings/printing."
(let (ps-prefix-quote)
(mapconcat
#'ps-print-quote
(list
";; internal vars"
(ps-comment-string "emacs-version " emacs-version)
(ps-comment-string "pr-txt-command " pr-txt-command)
(ps-comment-string "pr-txt-switches "
(pr-switches-string pr-txt-switches "pr-txt-switches"))
(ps-comment-string "pr-txt-printer " pr-txt-printer)
(ps-comment-string "pr-ps-command " pr-ps-command)
(ps-comment-string "pr-ps-switches "
(pr-switches-string pr-ps-switches "pr-ps-switches"))
(ps-comment-string "pr-ps-printer-switch" pr-ps-printer-switch)
(ps-comment-string "pr-ps-printer " pr-ps-printer)
(ps-comment-string "pr-cygwin-system " pr-cygwin-system)
(ps-comment-string "lpr-windows-system " lpr-windows-system)
(ps-comment-string "lpr-lp-system " lpr-lp-system)
nil
'(14 . pr-path-style)
'(14 . pr-path-alist)
nil
'(21 . pr-txt-name)
'(21 . pr-txt-printer-alist)
nil
'(20 . pr-ps-name)
'(20 . pr-ps-printer-alist)
nil
'(20 . pr-temp-dir)
'(20 . pr-ps-temp-file)
'(20 . pr-file-modes)
'(20 . pr-delete-temp-file)
'(20 . pr-list-directory)
nil
'(17 . pr-gv-command)
'(17 . pr-gs-command)
'(17 . pr-gs-switches)
'(17 . pr-gs-device)
'(17 . pr-gs-resolution)
nil
'(27 . pr-print-using-ghostscript)
'(27 . pr-faces-p)
'(27 . pr-spool-p)
'(27 . pr-file-landscape)
'(27 . pr-file-duplex)
'(27 . pr-file-tumble)
'(27 . pr-auto-region)
'(27 . pr-auto-mode)
nil
'(20 . pr-ps-utility)
'(20 . pr-ps-utility-alist)
nil
'(14 . pr-mode-alist)
nil
'(20 . pr-menu-lock)
'(20 . pr-menu-char-height)
'(20 . pr-menu-char-width)
nil
'(20 . pr-setting-database)
nil
'(22 . pr-visible-entry-list)
nil
'(22 . pr-buffer-verbose)
'(22 . pr-buffer-name)
'(22 . pr-buffer-name-ignore)
")\n\n;;; printing.el - end of settings\n")
"\n")))