From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Suresh" Newsgroups: gmane.emacs.help Subject: emacs does not recognize my printer (or the print commands) Date: 20 Jun 2005 09:03:22 -0700 Organization: http://groups.google.com Message-ID: <1119283402.194206.94530@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1119283371 27800 80.91.229.2 (20 Jun 2005 16:02:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2005 16:02:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 20 18:02:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DkOiL-0007SK-16 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jun 2005 18:01:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkOoa-0007hm-86 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jun 2005 12:08:00 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 103 Original-NNTP-Posting-Host: 193.63.247.68 Original-X-Trace: posting.google.com 1119283407 7825 127.0.0.1 (20 Jun 2005 16:03:27 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 20 Jun 2005 16:03:27 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=193.63.247.68; posting-account=DXpxFg0AAAARnxi7Tkcl57RtDI_b-jkp Original-Xref: shelby.stanford.edu gnu.emacs.help:132077 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:27549 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27549 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.