[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using PrintFile to substitute print commands in the menu in Windows XP
From: |
rajeshthomas |
Subject: |
Using PrintFile to substitute print commands in the menu in Windows XP |
Date: |
10 May 2007 06:16:19 -0700 |
User-agent: |
G2/1.0 |
Hi Emacs people,
how can i use the PrintFile utility to print from emacs. i am
running emacs version 22 on Windows XP. i have installed
the PrintFile program and now i want to get the print-buffer and
print-region commands to work with the PrintFile utility.
i downloaded the below lisp code that i got through google, and it
works
fine, but it doesn't substitute the print-region and print-buffer
commands.
(defun jjprintfile ()
"Print _from disk_ the file named the same as the current buffer
using the great PrintFile freeware program. Be sure to save the file
first to print with the latest changes."
(interactive)
(shell-command (format "PRFILE32.EXE %s"
(buffer-file-name))))
can some please, give me the lisp code? i am not fluent in elisp.
Thanks,
mac.
- Using PrintFile to substitute print commands in the menu in Windows XP,
rajeshthomas <=