• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/

Lines Matching +defs:print +defs:function

142 	   ;; arguments is used, e.g., in arc-mode.el.)  This function
275 ;;; Support for printing under DOS/Windows, see lpr.el and ps-print.el.
277 (defvar direct-print-region-use-command-dot-com t
278 "*Control whether command.com is used to print on Windows 9x.")
282 (defun direct-print-region-helper (printer
306 (errbuf (list (get-buffer-create " *print-region-helper*") t)))
320 ;; nprint.exe is the standard print command on Netware
325 ;; print.exe is a standard command on NT
326 ((string-match "^print\\(\\.exe\\)?$" (file-name-nondirectory lpr-prog))
327 ;; Be careful not to invoke print.exe on MS-DOS or Windows 9x
331 (error "Printing via print.exe is not supported on MS-DOS or Windows 9x"))
332 ;; It seems that print.exe always appends a form-feed so we
337 ;; cancel out annotate function for non-PS case
356 direct-print-region-use-command-dot-com
373 (defun direct-print-region-function (start end
377 "DOS/Windows-specific function to print the region on a printer.
388 ;; Make each print-out eject the final page, but don't waste
404 (direct-print-region-helper printer start end lpr-prog
407 (setq print-region-function 'direct-print-region-function)
411 ;; program (see above) that can print page headers.
413 ;; `print-region-function' is set to `dos-print-region-function',
414 ;; then requests to print page headers will be silently
415 ;; ignored, and `print-buffer' and `print-region' produce
421 (defun direct-ps-print-region-function (start end
425 "DOS/Windows-specific function to print the region on a PostScript printer.
435 (direct-print-region-helper printer start end lpr-prog
438 (setq ps-print-region-function 'direct-ps-print-region-function)