[4708] in Athena Bugs

home help back first fref pref prev next nref lref last post

Emacs

daemon@ATHENA.MIT.EDU (saffran@ATHENA.MIT.EDU)
Sat Apr 7 14:03:14 1990

From: saffran@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Sat, 07 Apr 90 14:02:55 EDT
The function TeX-print doesn't work since lpd doesn't handle .dvi files.
I suggest the following change: (changed lines commented)

(defun TeX-print ()
  "Print the .dvi file made by \\[TeX-region] or \\[TeX-buffer]."
;;Runs the shell command defined by TeX-dvi-print-command."
  (interactive)
  (send-string "TeX-shell"
               ;;(concat TeX-dvi-print-command " \"" TeX-zap-file ".dvi\"\n"))
	       (concat "dvi2ps " " \"" TeX-zap-file ".dvi\" | lpr\n"))
  (TeX-recenter-output-buffer nil))

home help back first fref pref prev next nref lref last post