From owner-freebsd-questions@FreeBSD.ORG Tue Jan 31 17:49:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 258DD16A422 for ; Tue, 31 Jan 2006 17:49:48 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4C5143D45 for ; Tue, 31 Jan 2006 17:49:47 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.5+UW05.10/8.13.5+UW05.09) with ESMTP id k0VHnlUd028342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 31 Jan 2006 09:49:47 -0800 X-Auth-Received: from [128.208.4.22] (shiina.dyn.cs.washington.edu [128.208.4.22]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.5+UW05.10/8.13.5+UW05.09) with ESMTP id k0VHnkAS016249 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 31 Jan 2006 09:49:47 -0800 In-Reply-To: <003c01c62683$36c92140$0200a8c0@satellite> References: <003c01c62683$36c92140$0200a8c0@satellite> Mime-Version: 1.0 (Apple Message framework v746.2) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6504AD07-644C-48E2-A796-95AE35D1F251@u.washington.edu> Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Tue, 31 Jan 2006 09:51:02 -0800 To: FreeBSD Questions X-Mailer: Apple Mail (2.746.2) X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_PRIORITY 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Subject: Re: converting pdfs with xpdf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 17:49:48 -0000 On Jan 31, 2006, at 8:27 AM, Dave wrote: > Hello, > I'm running freebsd6 and xpdf 3.01_2. I've got pdfs that i want > to convert to ps and text documents in four different areas in my > home directory. I could convert them such as: > pdfto format file1.pdf file2.ps etc. > but i was wondering if there was a faster way? My second issue is > some of these files are pdf 1.6 and as i've already tried xpdf > won't convert these docs, does anyone have xpdf working with pdf > 1.6 files? > Second, after i convert all these docs there are three patterns > i'd like to remove from them, all having spaces and & signs in > them. Again, i could do this manually, but i was wondering one if > there was a faster way and two if i could do this on the tail end > of the conversion process so i would only have to issue one command > and come back probably a while later, these files are big, and it's > all done? > Thanks. > Dave. Ghostscript works wonders with PDFs and PSs, but then again I don't know how well the [linux-]acroread port works and that may be worth a shot as well. As for the removing of characters, if you have a text file you can always process it with sed or [g]awk. -Garrett