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: Printing Problems Date: Sun, 04 Oct 2015 20:30:59 +0100 Message-ID: <87y4fil9cc.fsf@robertthorpeconsulting.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443987088 3793 80.91.229.3 (4 Oct 2015 19:31:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Oct 2015 19:31:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 04 21:31:18 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 1Zip09-00068H-Jd for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Oct 2015 21:31:17 +0200 Original-Received: from localhost ([::1]:43508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zip08-0000dN-Md for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Oct 2015 15:31:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ziozx-0000dC-TU for help-gnu-emacs@gnu.org; Sun, 04 Oct 2015 15:31:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ziozu-0007Vh-OP for help-gnu-emacs@gnu.org; Sun, 04 Oct 2015 15:31:05 -0400 Original-Received: from outbound-smtp04.blacknight.com ([81.17.249.35]:55389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ziozu-0007VZ-Hj for help-gnu-emacs@gnu.org; Sun, 04 Oct 2015 15:31:02 -0400 Original-Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp04.blacknight.com (Postfix) with ESMTPS id 3B03998605 for ; Sun, 4 Oct 2015 19:31:01 +0000 (UTC) Original-Received: (qmail 20291 invoked from network); 4 Oct 2015 19:31:01 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.79.176.227]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 4 Oct 2015 19:31:01 -0000 In-Reply-To: (message from Javier on Sat, 3 Oct 2015 21:56:12 +0000 (UTC)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.35 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:107507 Archived-At: Javier writes: >> If I use the "ps-print" functions then the top of the block-shaped >> header is cut off. I have "ps-paper-type" set to A4 and an A4 printer. > > Did you try setting these variables? > > ;; (info "(emacs) PostScript Variables") > (setq ps-printer-name t) > (setq ps-lpr-command "D:/gs6.01/bin/gswin32c.exe") > (setq ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2" "-sPAPERSIZE=a4")) I should have mentioned, I'm using Xubuntu in this case. I also have Emacs installed on Windows and in that case printing works fine, though in that case the printer is better too. Still, I'll have a look at the lpr switch variables. Thanks, Robert Thorpe