From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7697eb99c63495239342c0eca7fda0bf@tip9ug.jp> Date: Tue, 2 May 2006 19:10:12 +0200 From: givanes@gmail.com To: jmk@plan9.bell-labs.com, 9fans@cse.psu.edu Subject: Re: [9fans] ps2pdf MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-khdvvxtoxngeqyymtiizqxwvju" Cc: Topicbox-Message-UUID: 4ca53fae-ead1-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-khdvvxtoxngeqyymtiizqxwvju Content-Disposition: ainline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit That's it. I was using the 8.13's binary. But at this point i've got the same error that you have. Gab --upas-khdvvxtoxngeqyymtiizqxwvju Content-Type: message/rfc822 Content-Disposition: ainline Return-Path: Received: from smtp.laposte.net (10.150.9.36) by mx.laposte.net (7.2.060.1) id 442BB4E4021DC38F for plan9@laposte.net; Tue, 2 May 2006 17:57:14 +0200 Received: from nproxy.gmail.com (64.233.182.188) by smtp.laposte.net (7.3.105.2) id 443B7D8C00EC1AF8 for plan9@laposte.net; Tue, 2 May 2006 17:57:12 +0200 Received: by nproxy.gmail.com with SMTP id x37so2063937nfc for ; Tue, 02 May 2006 08:57:12 -0700 (PDT) Received: by 10.48.218.19 with SMTP id q19mr635828nfg; Tue, 02 May 2006 08:57:12 -0700 (PDT) X-Forwarded-To: plan9@laposte.net X-Forwarded-For: givanes@gmail.com plan9@laposte.net X-Gmail-Received: 20b18fc5faba49d059aef6a448aa45eb6dbbdf4f Delivered-To: givanes@gmail.com Received: by 10.48.12.19 with SMTP id 19cs31708nfl; Tue, 2 May 2006 08:57:12 -0700 (PDT) Received: by 10.70.24.8 with SMTP id 8mr1050409wxx; Tue, 02 May 2006 08:57:11 -0700 (PDT) Received: from mail.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mx.gmail.com with ESMTP id h16si5712170wxd.2006.05.02.08.57.11; Tue, 02 May 2006 08:57:11 -0700 (PDT) Received-SPF: pass (gmail.com: best guess record for domain of 9fans-bounces+givanes=gmail.com@cse.psu.edu designates 130.203.4.6 as permitted sender) Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id D2A545AE52 for ; Tue, 2 May 2006 11:57:10 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 02C0B5AFF1 for <9fans@cse.psu.edu>; Tue, 2 May 2006 11:57:01 -0400 (EDT) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24640-01-30 for <9fans@cse.psu.edu>; Tue, 2 May 2006 11:56:58 -0400 (EDT) Received: from plan9.cs.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id C9A1B5ADB0 for <9fans@cse.psu.edu>; Tue, 2 May 2006 11:56:57 -0400 (EDT) Message-ID: <8c4fb22c7c9c46f9be239add1fd17e01@plan9.bell-labs.com> Date: Tue, 2 May 2006 11:56:50 -0400 From: jmk@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] ps2pdf In-Reply-To: <4b203adf0284ec12485ce47d37832c37@tip9ug.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+givanes=gmail.com@cse.psu.edu Errors-To: 9fans-bounces+givanes=gmail.com@cse.psu.edu GIGO. Troff does not produce PostScript output, so you are passing garbage in to ps2pdf. However, on my system gs does not suicide but presents a useful error: ethel% man -t upasfs > upasfs.ps ethel% ps2pdf upasfs.ps upasfs.pdf Error: /undefined in x Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1122/1686(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)-- Current allocation mode is local Current file position is 2 AFPL Ghostscript 8.53: Unrecoverable error, exit code 1 ethel% B /tmp/upasfs.ps ethel% so you have some other problem as well, perhaps out of date binaries. Usually, when presented with something like gs 3721: suicide: sys: fp: invalid operation fppc=0xd525a status=0xb8a1 pc=0x000d4f55 running a couple of simple acid commands on the process is a useful first step in figuring out what is wrong, either for yourself or to pass on to others you ask for help. E.g. acid 3721 <- some output here stk() <- some output here regs() <- some output here asm(*PC) <- some output here and in this case, because there was an FP error fpr() <- some output here asm(0xd525a) <- some output here I leave it up to you to read the manual for the description of those commands and how to interpret the output. --jim On Tue May 2 10:09:40 EDT 2006, givanes@gmail.com wrote: > Hi there, > > I tried to convert ps to pdf : > > plan9% troff lettre_de_motivation.txt > lettre_de_motivation.ps > plan9% ps2pdf lettre_de_motivation.ps lettre_de_motivation.pdf > gs 3658: suicide: sys: fp: invalid operation fppc=0xd525a status=0xb8a1 pc=0x000d4f55 > > plan9% man -t upasfs > upasfs.ps > plan9% ps2pdf upasfs.ps upasfs.pdf > gs 3721: suicide: sys: fp: invalid operation fppc=0xd525a status=0xb8a1 pc=0x000d4f55 > > Why so ? > > Gab --upas-khdvvxtoxngeqyymtiizqxwvju--