From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vinicius Jose Latorre Newsgroups: gmane.emacs.bugs Subject: Re: [sebyte@smolny.plus.com: Bug in ps-print.el?] Date: Tue, 21 Jun 2005 22:34:51 -0300 Message-ID: <42B8C03B.2000605@ig.com.br> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1119405145 13164 80.91.229.2 (22 Jun 2005 01:52:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2005 01:52:25 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 22 03:52:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DkuPU-0001v7-Kf for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Jun 2005 03:52:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkuW1-0003As-MN for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2005 21:58:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DkuVG-0002rU-40 for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2005 21:58:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DkuV6-0002nP-JH for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2005 21:58:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkuV3-0002dg-1q for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2005 21:57:57 -0400 Original-Received: from [200.221.4.192] (helo=smtp.uol.com.br) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DkuFc-0005tl-Eh; Tue, 21 Jun 2005 21:42:00 -0400 Original-Received: from [200.208.42.192] (unknown [200.208.42.192]) by scorpion1.uol.com.br (Postfix) with ESMTP id 0B6DF7DEC; Tue, 21 Jun 2005 22:38:50 -0300 (BRT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 X-Accept-Language: en-us, en Original-To: sebyte@smolny.plus.com In-Reply-To: X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:12297 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:12297 Hi Sebastian, > Here is a transcript of a scratch buffer session: > > - --- > > (current-buffer) > # > > (emacs-version) > "GNU Emacs 21.3.1 (i386-pc-linux-gnu) > of 2004-10-16 on raven, modified by Debian" > > (progn > (setq ps-selected-pages '(1)) > (ps-print-buffer nil)) > t > > ; works fine printing this scratch buffer > > (progn > (setq ps-selected-pages '(1)) > (set-buffer "*info*") ; info buffer - emacs (Top) > (ps-print-buffer nil)) > t > > ; doesn't work - printer gears up and then winds down without doing > ; anything and spooled PS file ends up in /var/spool/cups/ > > (shell-command "sudo ls -l /var/spool/cups" t) > 536 > total 32 > - -rw------- 1 root lpadmin 672 Jan 11 22:28 c00065 > - -rw------- 1 root lpadmin 672 Jan 11 22:30 c00066 > - -rw------- 1 root lpadmin 672 Jan 11 22:31 c00067 > - -rw------- 1 root lpadmin 672 Jan 12 02:09 c00068 > - -rw------- 1 root lpadmin 672 Jan 12 02:11 c00069 > - -rw------- 1 root lpadmin 672 Jan 12 03:40 c00070 > - -rw------- 1 root lpadmin 672 Jan 12 03:51 c00071 > drwxrwx--T 2 root lpadmin 4096 Jan 10 02:09 tmp > > ; As you can see there are several failed print jobs here. > ; I'm only using the *info* buffer as an example. Behaviour is > ; completely erratic on all buffers if individual pages and/or > ; page-ranges are attempted. > > ; Printing the whole buffer (all pages) works fine. > > ; I have got some ranges to work by expanding the range beyond my > ; requirements and then getting the range I'm after. Please, could you follow the steps below and return back the results to me? 1. Switch to *Scratch* buffer 2. M-: (setq ps-selected-pages '(1)) RET 3. M-: (insert (ps-setup)) RET 4. Save *Scratch* buffer into a file (settings, for example). 5. C-u M-x ps-print-buffer RET scratch.ps RET 6. Switch to *info* buffer. 7. C-u M-x ps-print-buffer RET info.ps RET 8. Send me back the settings, scratch.ps and info.ps files. 9. Thanks > I'm re-submitting this report. First posted 12th Jan 05, no response. > Problem persists. Sorry, I only received your email today (2005-06-21). Thanks for your report, Vinicius