From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?0JDQvdC00YDQtdC5INCf0LDRgNCw0LzQvtC90L7Qsg==?= Newsgroups: gmane.emacs.devel Subject: Re: Printing Date: Sat, 28 Mar 2009 23:52:01 +0300 Message-ID: <5f0660120903281352v5d7ab83cy44fcff3cbf4581cb@mail.gmail.com> References: <5f0660120903280331y780c80b7i57a8115dc4b029eb@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1238296064 22719 80.91.229.12 (29 Mar 2009 03:07:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Mar 2009 03:07:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: michael@elehack.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 29 05:09:02 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LnlOM-0003oZ-NX for ged-emacs-devel@m.gmane.org; Sun, 29 Mar 2009 05:08:58 +0200 Original-Received: from localhost ([127.0.0.1]:35964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnlMz-0000Rr-3b for ged-emacs-devel@m.gmane.org; Sat, 28 Mar 2009 23:07:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnfVf-0002oK-Dd for emacs-devel@gnu.org; Sat, 28 Mar 2009 16:52:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnfVb-0002mH-KU for emacs-devel@gnu.org; Sat, 28 Mar 2009 16:52:07 -0400 Original-Received: from [199.232.76.173] (port=43968 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnfVb-0002m1-7d for emacs-devel@gnu.org; Sat, 28 Mar 2009 16:52:03 -0400 Original-Received: from mail-ew0-f160.google.com ([209.85.219.160]:35632) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LnfVa-0000qb-Ly for emacs-devel@gnu.org; Sat, 28 Mar 2009 16:52:02 -0400 Original-Received: by ewy4 with SMTP id 4so1612590ewy.42 for ; Sat, 28 Mar 2009 13:52:01 -0700 (PDT) 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=wH9chk8+TI2zeYZ2Qj23Rr03H5qSsT0CM2hhQFa2a/w=; b=iQkwZSSjTGXMpFjMIMq8OQBFcPU7squbPDS7A2j8P6cnP47fSWkkmJaj6p+5F0+yYB NKg800CpUW/AXGhz9GrDQUXIqvUf84nwWT4mXpO+E86nubVp+evFt9Y1SspVT5I1wDFu uxDztMu3igNtssOyGVFxciY8rekhbX1qkivmw= 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=NIlOFDO+nMPNKuhSCpVGQYwVZtZGXCakEp35imS1/q8Amfe7t+/Wljg8oq683+aB0e SoKxb1qoj/c/NxLHMRQsuac4eggE/zHls0rmzh+9eahvJZ9mf53zsX5j0PLpzz8L3GR0 DHpZuuiI+mSZCb78IiMJfCvwdwEC3tfZSFsiU= Original-Received: by 10.210.136.10 with SMTP id j10mr642240ebd.28.1238273521741; Sat, 28 Mar 2009 13:52:01 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 28 Mar 2009 23:07:28 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109903 Archived-At: 2009/3/28 Michael Ekstrand : >> Having analysed mine and other users' experience, and having >> examined how the printing works in modern applications, I propose >> the following requirements for the Emacs printing mechanism: >> >> 1) Simple printing configuration should require no or almost no >> knowledge and effort. The only user input that might be required >> is the printer name. > > If you have your printer set up correctly on your system, this > should be easy to do. Yes, exactly, this should be easy. And it *is* easy in other applications, namely GEdit, Firefox, etc. But unfortunately, it is not easy in Emacs. That's why I've started the discussion. Do you have a printer? If so, could you please print the contents of Emacs 'Hello' buffer and tell us if all the characters you see on the screen appear on the printed page as well? >> 2) It should not be necessary to install additional packages/files >> solely for the Emacs printing. > > I hope you mean packages beyond the core things needed to get > printing working on GNU/Linux systems in general (CUPS, GhostScript, > hpijs for HP printers, etc.). I mean that if you have all the fonts needed to render your text in Emacs frame, and you can print that text using GEdit, you must not be required to install anything else to be able to print from Emacs. Currently, you must install so-called BDF fonts (in this case, the quality would be inacceptably bad, but at least some non-Latin characters would be printed), or you must install a web browser to be able to use hfyview.el. >> 3) Printing functionality should work equally good on PostScript >> and non-PostScript printers. > > Already covered in a properly configured environment (provided your > printer is supported by GhostScript/gimpprint/foomatic). I own a HP LaserJet 1018 which doesn't support PostScript directly, as don't most of the consumer printers sold today. I'm not a PostScript guru, but I'm pretty sure that my system indeed does some kind of PostScript emulation, translating PostScript commands via GhostScript and then telling the printer what to do in the language the latter understands. Maybe -- just maybe -- the Emacs printing works nicely on more expensive printers which support PostScript directly. I can't tell for sure because I don't have access to such a printer. As for my setup, the printing functionality provided by Emacs works bad. To clear things up: the problem is *not* in the printer, and *not* in the drivers. Installing the printer on my system was a breeze. I've encountered the only problematic application so far, and the disappointing part is that it's Emacs. Andrey Paramonov