From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Brian Poole" Newsgroups: gmane.emacs.help Subject: Re: Printing from emacs Date: Mon, 28 Apr 2003 19:46:23 +1000 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84bryte40p.fsf@lucy.is.informatik.uni-duisburg.de> <84u1ckxijz.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1051523167 6176 80.91.224.249 (28 Apr 2003 09:46:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2003 09:46:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 28 11:46:03 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19A5D0-0001aw-00 for ; Mon, 28 Apr 2003 11:46:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19A5Co-0002Lq-01 for gnu-help-gnu-emacs@m.gmane.org; Mon, 28 Apr 2003 05:45:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!newsfeed.mathworks.com.MISMATCH!newsfeed!fu-berlin.de!uni-berlin.de!076.b.009.mel.iprimus.net.AU!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 076.b.009.mel.iprimus.net.au (210.50.113.76) Original-X-Trace: fu-berlin.de 1051523063 10804389 210.50.113.76 (16 [160003]) User-Agent: Pan/0.13.4 (She had eyes like strange sins. (Debian GNU/Linux)) Original-Xref: shelby.stanford.edu gnu.emacs.help:112445 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8943 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8943 > So do M-x > load-library RET lpr.el RET (the .el part is important) and retry. I got an error cannot open load file lpr.el > I > think this gives you a better backtrace. > > Have a look in the source: M-x find-function RET print-region-1 RET. Then > search for "process". This finds the following statement: > > (apply 'call-process-region (car new-coords) (cdr new-coords) > lpr-page-header-program t t nil > (nconc (list "-h" title) > lpr-page-header-switches)) > > As you can see, it invokes lpr-page-header-program. I'm guessing the > value of this variable is "", the empty string. Thanks for the help but I think I will just use the work around: M-x | lp