with 21.4.3, on w98, I'm able to print. Four comments:
================
First of all:
(dotimes (i 100) (insert " Thankyou") (sit-for 0.1))
================
It works great. Is there any reason to have a non functional
print-buffer hanging around? basically, shouldn't you smash
print-buffer on windows:
(when (eq system-type 'windows-nt)
(fset 'print-buffer 'generic-print-buffer))
================
When you print a file, you probably want to ignore the background
color (or make it an option to ignore). Otherwise, a lot of ink gets
used printing. I advised generic-print-buffer to temporarily set the
background color to white for printing.
(defadvice generic-print-buffer (around set-background first activate)
(if (not (boundp 'default-background))
(setq default-background (color-name (face-background 'default))))
(if (not (equal default-background "white"))
(set-face-background 'default "white"))
(sit-for 0)
ad-do-it
(if (not (equal default-background "white"))
(set-face-background 'default default-background)))
================
When I print, I get the following warning.
Isn't the bold version of "Courier New:Regular:10::Western"
just "Courier New:Bold:10::Western"?
;;(1) (font/warning) XEMACS.EXE: couldn't deduce a bold version of the font
;;"Courier New:Regular:10::Western".
;;
;;Please specify X resources to make the bold face
;;visually distinguishable from the default face.
;;For example, you could add one of the following to $HOME/Emacs:
;;
;;Emacs.bold.attributeFont: -dt-*-medium-i-*
;;or
;;Emacs.bold.attributeForeground: hotpink
================
-jeff
Show replies by date