From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: ps-print cuts off footers Date: Tue, 03 Mar 2015 21:46:12 +0000 Message-ID: <8761ahpxej.fsf@robertthorpeconsulting.com> References: <871tl6us9u.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425419198 16195 80.91.229.3 (3 Mar 2015 21:46:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Mar 2015 21:46:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Rodolfo Medina Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 03 22:46:33 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 1YSue8-0004Jp-GV for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Mar 2015 22:46:32 +0100 Original-Received: from localhost ([::1]:41027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSue8-0008BK-2g for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Mar 2015 16:46:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSudu-0008A4-B1 for help-gnu-emacs@gnu.org; Tue, 03 Mar 2015 16:46:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSudr-0003gv-5j for help-gnu-emacs@gnu.org; Tue, 03 Mar 2015 16:46:18 -0500 Original-Received: from outbound-smtp02.blacknight.com ([81.17.249.8]:36834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSudq-0003gh-Vn for help-gnu-emacs@gnu.org; Tue, 03 Mar 2015 16:46:15 -0500 Original-Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp02.blacknight.com (Postfix) with ESMTPS id B3ECE982FC for ; Tue, 3 Mar 2015 21:46:13 +0000 (UTC) Original-Received: (qmail 10198 invoked from network); 3 Mar 2015 21:46:13 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.79.166.131]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 3 Mar 2015 21:46:13 -0000 In-Reply-To: <871tl6us9u.fsf@gmail.com> (message from Rodolfo Medina on Tue, 03 Mar 2015 13:25:49 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.8 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:103003 Archived-At: Rodolfo Medina writes: > [1:text/plain Hide] > > Rodolfo Medina writes: > >> Rodolfo Medina wrote: >> >>> 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. >> >> I have Emacs 25.0.50.1 downloaded and built from git repositories. It could be that you have contradictory paper-size variables. I ran into a similar problem with the utility "ps2pdf" the other day. The postscript file I'd generated was in A4 but ps2pdf turned it into a US-letter size pdf. The solution in that case was to add the switch -sPAPERSIZE=a4. What I'd suggest is: * Try writing a PS file out using C-u M-x pr-ps-buffer-print. * Check that the file is the paper size you expect. Try a couple of viewers. * Try using C-u M-x ps-print-buffer instead. If not the paper sizes are wrong then that could be a system setup issue. You can probably fix it by adding a switch somewhere or redefining and environmental variable, though I don't know which one. BR, Rob