From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neuwirth Erich Newsgroups: gmane.emacs.help Subject: Re: Printing in OSX Date: Mon, 15 Oct 2012 08:23:19 +0200 Message-ID: References: <837EBDF9-9B1E-4990-8C32-4726EC2F6C4D@univie.ac.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1350282210 21571 80.91.229.3 (15 Oct 2012 06:23:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2012 06:23:30 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 15 08:23:38 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TNe5Q-0004kd-GI for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2012 08:23:36 +0200 Original-Received: from localhost ([::1]:55588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNe5J-0007A1-Fl for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2012 02:23:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNe5E-00079l-DL for help-gnu-emacs@gnu.org; Mon, 15 Oct 2012 02:23:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNe5D-0008PC-8m for help-gnu-emacs@gnu.org; Mon, 15 Oct 2012 02:23:24 -0400 Original-Received: from grace.univie.ac.at ([131.130.3.115]:37753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNe5C-0008Os-RK for help-gnu-emacs@gnu.org; Mon, 15 Oct 2012 02:23:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=/CG+CpM/dworAG/8uMIjyAP+wJmDkLKyb2LdYCSn3CA=; b=UzRjQjM0bhhpLsyQt5G5XbwBkWyiO7qjNxzkOX3OGCn4Z6LlofDlnPeVNhRimebenxjQUbNBObYbZ4aQiI9S2l/80Q2cXXEl3rHAnOKAByFroF4CN2GJ6Y/jrHcmmXf29WX7To4abntKuTaapJB3HcHfnFR9ciazbOC20F2/8V0=; Original-Received: from justin.univie.ac.at ([131.130.3.111] helo=justin.univie.ac.at) by grace.univie.ac.at with esmtp (Exim 4.80) (envelope-from ) id 1TNe5A-0001Cz-Oe; Mon, 15 Oct 2012 08:23:20 +0200 Original-Received: from 194-166-58-84.adsl.highway.telekom.at ([194.166.58.84] helo=[10.0.0.4]) by justin.univie.ac.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TNe5A-0003dD-KO; Mon, 15 Oct 2012 08:23:20 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Univie-Virus-Scan: scanned by ClamAV on justin.univie.ac.at X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.130.3.115 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87264 Archived-At: This is what I get in the postscript buffer. -=3D-=3D-=3D [/h1 (~/)] ]def /HeaderLinesRight[ [/h0 /pagenumberstring load] [/h1 (10/15/12)] ]def 2 SetHeaderLines 0 BeginPage /f0 F false BG 0.000 0.000 0.000 FG 0 EF (\344\366\337) S PHL EndPage EndDSCPage EndSheet %%Trailer %%Pages: 1 EndDoc %%EOF -=3D-=3D-=3D When I save it as xxx.ps and then double click this file, it will be = converted to Postscript I an print it. It will be printed immediately, the printer will not ask for letter = paper. On Oct 14, 2012, at 10:49 AM, Peter Dyballa = wrote: >=20 > Am 14.10.2012 um 09:23 schrieb Neuwirth Erich: >=20 >> Is there a way way to get rid of this annoyance? >=20 > Did you restart GNU Emacs after that change in your init file? >=20 > You can also position the text cursor inside the symbol (or text) = "ps-paper-type" and type C-h v. A *Help* buffer will open explaining = that the symbol is a variable for a special purpose and has a value, nil = or something else. This buffer will also offer to customise the = variable's value. This customisation interface also offers to set the = new value for the current session or to save it for the future, i.e., = record it in your init file. >=20 > Having done the latter, you can erase your own Emacs Lisp statement=85 = Using the "official" customisation interface is much more reliable =96 = and you have your customisations put together in a single block (or = two). >=20 > Did you set the paper size correctly in System Preferences? Have you = tried to "read" the PS output from GNU Emacs? While the print command = from the File menu is for example ps-print-buffer-faces, which produces = in the background the PS file and forwards it to your OS's printing = system, the command ps-spool-buffer-faces ("print" substituted with = "spool") will insert the PS text into a buffer called *PostScript*. Here = you can easily check whether the correct values are used. (You can also = save this buffer to a file and view that PS file in some PS viewer.) >=20 > -- > Mit friedvollen Gr=FC=DFen >=20 > Pete >=20 > These are my principles and if you don't like them... well, I have = others. > - Groucho Marx >=20