From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Printing with emacs: Not working Date: Fri, 27 Feb 2009 19:13:43 +0100 Message-ID: References: <8dcb3b6f-ddbb-412a-a051-dd1624d960b2@r15g2000prh.googlegroups.com> <873ae0l938.fsf@bornier.net> <-sqdnZ77OKfLvjXUnZ2dnUVZ_uqdnZ2d@sysmatrix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1235758471 12272 80.91.229.12 (27 Feb 2009 18:14:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2009 18:14:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "B. T. Raven" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 19:15:48 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ld7FR-0002dg-9t for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 19:15:45 +0100 Original-Received: from localhost ([127.0.0.1]:43211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ld7E6-0005Z6-Dm for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 13:14:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ld7DZ-0005Va-HW for help-gnu-emacs@gnu.org; Fri, 27 Feb 2009 13:13:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ld7DW-0005Q4-83 for help-gnu-emacs@gnu.org; Fri, 27 Feb 2009 13:13:47 -0500 Original-Received: from [199.232.76.173] (port=50541 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ld7DW-0005Pa-1Y for help-gnu-emacs@gnu.org; Fri, 27 Feb 2009 13:13:46 -0500 Original-Received: from yw-out-1718.google.com ([74.125.46.152]:64209) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ld7DV-0007Zb-Bb for help-gnu-emacs@gnu.org; Fri, 27 Feb 2009 13:13:45 -0500 Original-Received: by yw-out-1718.google.com with SMTP id 6so863021ywa.66 for ; Fri, 27 Feb 2009 10:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/VwekMcwQVQMP1NtBkguRWWmQo1pDva75X4Prs4FfSA=; b=Gu8QfHFakgylMroojarVq1IOc8kgfVb9TpXNyuKKXIHmbPpO1mk88roSEo3qO3tGSB HcSur6/4SoyxfvKeuyytwynH1QOX4BFATd5kbZwR2+AUeKnXWJYAOXxPt9ksV2JCO0Ls vCBsyPf+p6odHS/wqhV/kJZO12x9FN4g2mq6w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xYOaWhIravp/ZxxhnU7L0gah85dQIjG8aXPktKs+XtBYowtP4lLUvWZtUJ7btprsZT WFrSvJNqjl1rDWqHvhTjwzWqryny1hRLuS2GjG3o+yz11LA0annc1Od5p54C8D/F/KVR rYlb+4pT6ZAcnQhqNIRbBFaG9vPPulcyL+07o= Original-Received: by 10.231.20.2 with SMTP id d2mr2437890ibb.27.1235758423604; Fri, 27 Feb 2009 10:13:43 -0800 (PST) In-Reply-To: <-sqdnZ77OKfLvjXUnZ2dnUVZ_uqdnZ2d@sysmatrix.net> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:62442 Archived-At: On Fri, Feb 27, 2009 at 6:31 PM, B. T. Raven wrote: > Lennart Borgman wrote: >> >> On Fri, Feb 27, 2009 at 11:37 AM, Eli Zaretskii wrote: >>>> >>>> Date: Fri, 27 Feb 2009 09:40:21 +0100 >>>> From: Lennart Borgman >>>> Cc: help-gnu-emacs@gnu.org >>>> >>>>> You have to set the value of "printer-name" >>>> >>>> That does not necessarily help. >>> >>> But does not necessarily fail, either. =C2=A0No need to discourage a fe= llow >>> Emacs users before they even tried. >> >> I did not try to discourage. As you know there is a very simple >> solution: Use the web browser for printing. For details see the page >> on EmacsWiki I pointed to. >> >> > > It's certainly much easier to get something out of Emacs and down in blac= k > and white (color too) using printing through the browser rather than thro= ugh > ghost-script. Virtually every w32 user has a browser but very many don't > have ghost-script installed. I think that I once had the latter method > working since I have lines similar to rustom's commented out in my .emacs= . > To get printing through Firefox all I had to do was download: > > hfyview.el > htmlfontify.el > > These are in my emacs/lisp directory but they could probably go in > emacs/emacs-lisp instead, where the other piece of the puzzle, easymenu.e= l > resides. > > Then add to .emacs: > > (require 'hfyview) > > After restarting (or maybe just rereading .emacs) a new item appears in t= he > File menu: > > Quick Printing (Using Web Browser) > > Ed Yes, that setup is right. If you use nXhtml it does that for you. Otherwise you can find the latest hfyfview.el and htmlfontify.el in the nXhtml repository. (Or, at the moment it is not the latest htmlfontify.el, I forgot to add that. Will add it.)