From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rodolfo Medina Newsgroups: gmane.emacs.help Subject: [solved] Re: Footers cut off in ps-print files Date: Thu, 05 Mar 2015 21:40:04 +0000 Message-ID: <87fv9jazt7.fsf@gmail.com> References: <87fv9rzem6.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425591464 2421 80.91.229.3 (5 Mar 2015 21:37:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2015 21:37:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 05 22:37:32 2015 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 1YTdSV-0004RQ-FG for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Mar 2015 22:37:31 +0100 Original-Received: from localhost ([::1]:55052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTdSU-0000GB-NL for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Mar 2015 16:37:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTdSI-0000DD-DB for help-gnu-emacs@gnu.org; Thu, 05 Mar 2015 16:37:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTdSF-0005TQ-2B for help-gnu-emacs@gnu.org; Thu, 05 Mar 2015 16:37:18 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTdSE-0005Sg-RN for help-gnu-emacs@gnu.org; Thu, 05 Mar 2015 16:37:14 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YTdSC-0004ER-KG for help-gnu-emacs@gnu.org; Thu, 05 Mar 2015 22:37:12 +0100 Original-Received: from 151.18.248.219 ([151.18.248.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Mar 2015 22:37:12 +0100 Original-Received: from rodolfo.medina by 151.18.248.219 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Mar 2015 22:37:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 151.18.248.219 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:xSSDNA3oCbzUfrR35qCr6MnyTLI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:103036 Archived-At: Rodolfo Medina writes: > I've been forming, for years, ps files from Emacs with `M-x > pr-ps-buffer-preview' and `M-x pr-ps-buffer-print' without problems. But > now, in my brand new Debian system, when I do that, the page numbers in the > ps file are half cut off. Besides, footers are also cut off when gv opens up > old ps files created in the above way, even though they're correctly viewed > by gv within my old Debian box. Here are my settings: > > (setq ps-print-footer t > ps-print-footer-frame nil > ps-top-margin 18 > ps-bottom-margin 14 > ps-left-margin 12 > ps-right-margin 0 > ps-print-header nil > ps-show-n-of-n nil > ps-footer-lines 1 > ps-footer-offset 0 > ) > > Do you think the problem concerns only gv and Debian, or can I do something > within Emacs to work it out? I'm attaching a test ps file, in which the page > number is half cut off. The problem was worked out just adding to my ps-print settings the following option: ps-footer-font-family 'Times , so it was certainly related to the default footer font family that should be, I think, Helvetica. So there must be a global problem in my system (Debian Sid) with that font, although I don't know what and would be curious to know. It is so also explained why the problem arised as well with old ps-print files and, as well, when simply using ps2pdf to convert them to pdf format. Thanks to anyone that helped. Rodolfo