* Trouble Printing from GNU Emacs 20.7.1 on WinXP
@ 2003-05-03 21:23 C Lopez
0 siblings, 0 replies; only message in thread
From: C Lopez @ 2003-05-03 21:23 UTC (permalink / raw)
Hi,
Like them user who posted the msg "Printing from Emacs" at some point last
week, I'm having trouble setting up GNU Emacs 20.7.1 to print.
I downloaded a zipped package of "w32-print" .el files from the website
ref'd under "Tech Specs" to help with invoking printing.
What I want to print: nothing complicated. I just want to be able to print
plain-text, straight from Emacs.
Any insight would be greatly appreciated!
Crystie
----- Tech Specs -----
OS: WinXP Pro
Printer: HP Deskjet 712C ("HP712C") on LPT1:
(No software for Postscript or Ghostcript - is there
any for HP?)
EmacsVers: GNU 20.7.1
(Yes, I need to upgrade...)
"w32-print" Package: zipped package "w32-print-1_13_4"
From http://www.tertius.com/projects/library/emacs/
----- Methods for invoking "print-buffer," and Result -----
1. M-x print-buffer --> Nothing happens.
<*Messages* Buffer>
Loading lpr...
Loading lpr...done
Spooling with options (page headers are not supported)...
Spooling with options (page headers are not supported)...done
2. Tools>Print>Print-Buffer -OR- M-x w32-print-buffer
--> Nothing happens, error message in minibuffer
<*Messages* Buffer>
printing to LPT1 ...
Wrong number of arguments: #<subr eq>, 4 ;; Error Msg
;; ----- "Print" Code in my .emacs file: -----
(defvar my-site-lisp (concat (getenv "emacs_dir") "/site-lisp"))
(progn
(add-to-list 'load-path (concat my-site-lisp "/w32-print-1_13_4"))
(setq-default
;; General
w32-print-use-faces nil ; disable color, etc
w32-print-zap-spool-file t ; delete temp file
w32-print-paper-type 'letter
w32-print-with-line-numbers t
w32-print-enable-keymappings nil ; disable keyboard shortcuts
w32-print-lpr-draft-prefix ""
;; Plain printer
w32-print-lpr-destination "LPT1"
w32-print-lpr-path (concat my-site-lisp "/w32-print-1_13_4/bin")
)
;; Use it
(load "w32-print")
)
----- END "Print" Code in my .emacs file -----
**** END EMAIL *****
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-03 21:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-03 21:23 Trouble Printing from GNU Emacs 20.7.1 on WinXP C Lopez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).