Mercurial > hg > xemacs-beta
diff lisp/printer.el @ 707:a307f9a2021d
[xemacs-hg @ 2001-12-20 05:49:28 by andyp]
sync with 21-4-6-windows
author | andyp |
---|---|
date | Thu, 20 Dec 2001 05:49:48 +0000 |
parents | 666d73d6ac56 |
children | 87c43a431742 |
line wrap: on
line diff
--- a/lisp/printer.el Wed Dec 19 00:40:26 2001 +0000 +++ b/lisp/printer.el Thu Dec 20 05:49:48 2001 +0000 @@ -310,7 +310,10 @@ ;; re-create the frame each time so that we eject the piece ;; of paper at the end even if we're printing more than one ;; page per sheet of paper. - (let ((copies (plist-get props 'copies 1))) + (let ((copies (plist-get props 'copies 1)) + ;; This is not relevant to printing and can mess up + ;; msprinter frame sizing + default-frame-plist) (while (> copies 0) (let (d f header-buffer footer-buffer) (setq buffer (decode-buffer buffer)) @@ -443,5 +446,5 @@ (setq copies (1- copies))))) ((and (not (eq system-type 'windows-nt)) (fboundp 'lpr-region)) - (lpr-region buffer)) + (lpr-region (point-min) (point-max))) (t (error "No print support available"))))