From owner-freebsd-questions Fri Apr 11 14:29:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA22423 for questions-outgoing; Fri, 11 Apr 1997 14:29:14 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA22406 for ; Fri, 11 Apr 1997 14:29:10 -0700 (PDT) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by who.cdrom.com (8.8.5/8.6.11) with SMTP id OAA07361 for ; Fri, 11 Apr 1997 14:28:32 -0700 (PDT) Received: from ct.picker.com by whqvax.picker.com with SMTP; Fri, 11 Apr 1997 17:26:01 -0400 (EDT) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA06469; Fri, 11 Apr 97 17:25:57 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id RAA29394; Fri, 11 Apr 1997 17:25:51 -0400 Message-Id: <19970411172551.28609@ct.picker.com> Date: Fri, 11 Apr 1997 17:25:51 -0400 From: Randall Hopper To: Gary Clark II Cc: questions@freebsd.org Subject: Re: Acrobat Reader for FreeBSD -- SOLVED References: <19970407102953.15410@ct.picker.com> <199704100656.BAA20525@main.gbdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199704100656.BAA20525@main.gbdata.com>; from Gary Clark II on Thu, Apr 10, 1997 at 01:56:07AM -0500 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Gary Clark II: |Randall Hopper wrote: |> That I've tried, the Linux version runs OK except that it doesn't generate |> valid postscript. This is unfortunate when dealing with encrypted PDFs as |> xpdf and ghostscript don't handle encrypted PDFs. |> |> Anyone got a little-known FreeBSD solution for printing encrypted PDFs? | |Huh? |I'm running the linux acroread here and piping into ghostscript with no |problems. |What kind of errors do you get? I've attached one error trace from loading AcroRead PostScript files into GhostScript 4.0.3 below. After further investigation, I notice that the PostScript that my Solaris AcroRead and the Linux AcroRead kick out are the same except for a few comments. I incorrectly assumed the PostScript the Linux version was generating wasn't valid because GhostScript on my FreeBSD box couldn't read it but the GhostScript on my work box (and the LJ4 at work) could. Bit of a logic leap there. Given this realization, I compared versions. I'm running Aladdin GhostScript 2.6.1 (5/28/93) at work. Strange that it handles the PostScript that AcroRead kicks out but version 4.03 doesn't. Anyway, that seems to be the ticket. Randall Hopper Unrecoverable error: invalidexit in .stop Operand stack: true --nostringval-- false Unexpected interpreter error -8. Error object: (f80)op(132:.stop)0x346b8 Operand stack at 0xe9f3c: 0xf8094: 0x01 bool --F------ 0x0004 0x00000000 = false 0xf809c: 0x02 dict --Lwrx--- 0x000f 0x001866bc 0xf80a4: 0x01 bool --F------ 0x0000 0x00000001 = true Execution stack at 0xe903c: 0xf99fc: 0x0f oper --F---e-- 0x0000 0x0002ac80 = %interp_exit 0xf9a04: 0x12 str --F-rxe-- 0x0000 0x00000000 = 0xf9a0c: 0x03 file --L-rxe-- 0x0001 0x00102040 0xf9a14: 0x0e null --F---e-- 0x0000 0x000365b8 0xf9a1c: 0x03 file --S-rxe-- 0x0001 0x000f30c4 0xf9a24: 0x0f oper --F---e-- 0x0000 0x00036578 = %runexec_finish 0xf9a2c: 0x03 file --S-rxe-- 0x0001 0x000f30c4 0xf9a34: 0x05 mpry --L-rxe-- 0x0003 0x0010302e 0xf9a3c: 0x06 spry --L-rxe-- 0x0001 0x001865c2 0xf9a44: 0x05 mpry --G-rxe-- 0x000c 0x0014ddb0 0xf9a4c: 0x05 mpry --G-rxe-- 0x0039 0x00133b9e Dictionary stack at 0xe90f4: 0xfa22c: 0x02 dict --Gwrx--- 0x0000 0x000fb034 0xfa234: 0x02 dict --Gwrx--- 0x0000 0x0014c548 0xfa23c: 0x02 dict --Lwrx--- 0x0000 0x00100088 0xfa244: 0x02 dict --Lwrx--- 0x0003 0x00102824 0xfa24c: 0x02 dict --Lwrx--- 0x000f 0x001022f4