all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Suresh" <Jeyaraman.Suresh@gmail.com>
Subject: emacs does not recognize my printer (or the print commands)
Date: 20 Jun 2005 09:03:22 -0700	[thread overview]
Message-ID: <1119283402.194206.94530@g43g2000cwa.googlegroups.com> (raw)

Hello all,

  I greatly appreciate any input, anyone can give me on this matter.

  Currently, I use emacs 21.3.1 on RedHat Enterprise 4. Previously, I
had used emacs 21 before, on SuSE 8. Emacs could detect the printer and
pretty-print on SuSE, but cannot do so at the moment. On SuSE, the
.emacs file had the option
(custom-set-variables
  ;; custom-set-vari .......
  ;; .........
 '(lpr-command "lpr")
 '(lpr-printer-switch "-P")
 '(lpr-switches (quote ("")))
 '(make-backup-files nil)
 '(printer-name "proust")

On RedHat this did not work at all. So, I tried adding these vales at
the end of my .emacs file (did not work, either. So, I have commented
them out now).

;; (setq ps-printer-name '("proust"))
;; (setq printer-name '("proust"))

Last but not least, I have also "set" the following values using the
Customize Emacs menu option.

Lpr group
Printer Name:  proust
Lpr Printer switch: -P
lpr command: lpr

Ps Print --> Printer Group
Ps printer name:  Same as printer-name
Ps printer name option: -P
Ps lpr command: lpr

None of this will make emacs print! I can print from the command line
as follows:
   pr co_ordsys.h | lpr

So, I need to do something in emacs, that I do not know. I greatly
appreciate the pretty-print feature and the print selection feature in
emacs (no other editor I know can match these features) and this is
proving to be a handicap.

Lastly, I check the messages buffer, and every time I give the print
buffer command, I get the same message.
;;
;; Emacs message buffer
Loading pp...done
Creating group members... 88%
Creating group magic...
Creating group state...
Creating group... done
Creating customization items ...done
Creating customization setup...
Creating customization buffer...done
Formatting...  0%
Loading ps-mule...done
Formatting...done
Printing...done
GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-02-04 on porky.build.redhat.com
Selecting a region with the mouse does `copy' automatically [7 times]
Creating customization buffer...
Creating customization buttons...
Creating customization items...
Creating group...
Creating group members... 91%
Creating group magic...
Creating group state...
Creating group... done
Creating customization items ...done
Creating customization setup...
Creating customization buffer...done
Creating customization buffer...
Creating customization buttons...
Creating customization items...
Creating group...
Creating group members... 85%
Creating group magic...
Creating group state...
Creating group... done
Creating customization items ...done
Creating customization setup...
Creating customization buffer...done
To install your edits, invoke [State] and choose the Set operation [2
times]
Wrote ~.emacs [2 times]
Formatting...done
Printing...done
Beginning of buffer [8 times]
;;
;; End buffer

Any help on the matter is appreciated. Thanks in advance for your help.

And, thank you for reading through this at least.

Sincerely,
Suresh.

                 reply	other threads:[~2005-06-20 16:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1119283402.194206.94530@g43g2000cwa.googlegroups.com \
    --to=jeyaraman.suresh@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.