Function: w32-direct-ps-print-region-function
w32-direct-ps-print-region-function is a byte-compiled function
defined in dos-w32.el.gz.
Signature
(w32-direct-ps-print-region-function START END &optional LPR-PROG DELETE-TEXT BUF DISPLAY &rest REST)
Documentation
DOS/Windows-specific function to print the region on a PostScript printer.
Writes the region to the device or file which is a value of
ps-printer-name (which see), unless the value of ps-lpr-command
indicates a specific program should be invoked.
Aliases
direct-ps-print-region-function (obsolete since 24.4)
Source Code
;; Defined in /usr/src/emacs/lisp/dos-w32.el.gz
(defun w32-direct-ps-print-region-function (start end
&optional lpr-prog
delete-text buf display
&rest rest)
"DOS/Windows-specific function to print the region on a PostScript printer.
Writes the region to the device or file which is a value of
`ps-printer-name' (which see), unless the value of `ps-lpr-command'
indicates a specific program should be invoked."
(let ((printer (or (and (boundp 'dos-ps-printer)
(stringp (symbol-value 'dos-ps-printer))
(symbol-value 'dos-ps-printer))
ps-printer-name
(default-printer-name))))
(w32-direct-print-region-helper printer start end lpr-prog
delete-text buf display rest)))