* pdf_sec.ps patch
@ Gregory Nowak
` Cheryl Homiak
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
Hi all,
I'm trying to convert a pdf file into a ps file. I plan to then convert the ps file into ascii so I can read it. When I run pdf2ps, it tells me that the pdf file is encrypted, and I should download a patch. I got the patch it mentioned. However, when I do 'gs pdf_sec.ps', gs says that it can't open an x display. How do I apply the patch? Is there a better way to read pdf files in linux? Thanks.
Greg
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: pdf_sec.ps patch
pdf_sec.ps patch Gregory Nowak
@ ` Cheryl Homiak
` Geoff Shang
` Georgina Joyce
` Kerry Hoath
2 siblings, 1 reply; 7+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: speakup
There are three ways that I know of to translate pdf files to text. The
first, and easiest if it works, is to use "pdftotext" which, at least in
Debian, is part of xpdf but does not require xwindows. The second, if
this is something on the web, is to type the url in as a google search;
usually, there will be a text version provided through google; may work
with other search engines also but I've only tried it with google. The
third way, if all else fails, is to try sending it as an attachment to
pdf2txt@sun.trace.wisc.edu. You will receive back a translation.
I have had at least one site where I can get translation through google
but when I try downloading the files and translating with pdftotext I get
all sorts of errors about "unable to open temporary file". The url is
http://calvarychapel.com/children/site/Old/Curr001 (acctually, there are a
bunch of curriculum files and 001 is the first; different numbers added to
the url give different lessons, but I can't translate any of them
successfully and got an error when I sent them to the email address). If
anybody can shed light on this I would appreciate it.
Cheryl
^ permalink raw reply [flat|nested] 7+ messages in thread* RE: pdf_sec.ps patch
pdf_sec.ps patch Gregory Nowak
` Cheryl Homiak
@ ` Georgina Joyce
` Geoff Shang
` Kerry Hoath
2 siblings, 1 reply; 7+ messages in thread
From: Georgina Joyce @ UTC (permalink / raw)
To: speakup
Hi
I don't understand why you need to take those steps. You can send the file
to adobe:
pdf2txt@adobe.com
or
pdf2htm@adobe.com
I'm quoting from memory, so sorry if it's wrong. Here's a message from some
time ago.
> [...] And ghostscript includes ps2ascii, which can convert
> postscript docs into text.
Note that ps2ascii can also deal with pdf:
NAME
ps2ascii - Aladdin Ghostscript PostScript or PDF to ASCII
translator
SYNOPSIS
ps2ascii [input.ps [output.txt]]
ps2ascii input.pdf [output.txt]
DESCRIPTION
ps2ascii extracts ASCII text from PostScript or PDF, using
gs(1). If the pathname "input.ps" is not specified,
PostScript is read from standard input; PDF input must
come from an explicitly-named file, not standard input.
If the pathname "output.txt" is not specified, the ASCII
text is written to standard output.
also, pstotext is nearly the same (both ps and pdf) but reported to
work better (ps2ascii suggests it). It is a separate package from gs,
and it is available in Debian (can't tell about the other ones).
However, to my knowledge, all free Linux documentation is written in
sgml (or sometimes LaTeX), so an html or ascii version must exist
somewhere.
Regards
/alessandro
---
Send your message for blinux-list to blinux-list@redhat.com
Blinux software archive at ftp://leb.net/pub/blinux
Blinux web page at http://leb.net/blinux
To unsubscribe send mail to blinux-list-request@redhat.com
with subject line: unsubscribe
Gena
http://www.visson.freeserve.co.uk/
Mobile (Cell) Phone 07951 196268
-----Original Message-----
From: speakup-admin@braille.uwo.ca
[mailto:speakup-admin@braille.uwo.ca]On Behalf Of Gregory Nowak
Sent: 22 April 2001 18:42
To: speakup@braille.uwo.ca
Subject: pdf_sec.ps patch
Hi all,
I'm trying to convert a pdf file into a ps file. I plan to then convert the
ps file into ascii so I can read it. When I run pdf2ps, it tells me that the
pdf file is encrypted, and I should download a patch. I got the patch it
mentioned. However, when I do 'gs pdf_sec.ps', gs says that it can't open an
x display. How do I apply the patch? Is there a better way to read pdf files
in linux? Thanks.
Greg
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 7+ messages in thread* RE: pdf_sec.ps patch
` Georgina Joyce
@ ` Geoff Shang
0 siblings, 0 replies; 7+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: speakup
On Sun, 22 Apr 2001, Georgina Joyce wrote:
> Hi
>
> I don't understand why you need to take those steps. You can send the file
> to adobe:
>
> pdf2txt@adobe.com
>
> or
>
> pdf2htm@adobe.com
IIrc these addresses are for URLs not for actual files (nice way to get out
of pulling down massive PDF's). And I think the html one is
pdf2html@adobe.com
You need to use the sun.trace.wisc.edu addresses for actual files.
Geoff.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pdf_sec.ps patch
pdf_sec.ps patch Gregory Nowak
` Cheryl Homiak
` Georgina Joyce
@ ` Kerry Hoath
2 siblings, 0 replies; 7+ messages in thread
From: Kerry Hoath @ UTC (permalink / raw)
To: speakup
You find the file with the same name as the patch usually in
/usr/share/gs/ or somewhere and copy the ps file you downloaded
over the top of it.
You might want to back up the gs_encrypt.ps file or whatever it is called. Under
Debian we just install the decryptian package and it does it
for us.
Regards, Kerry.
On Sun, Apr 22, 2001 at 12:42:03PM -0500, Gregory Nowak wrote:
> Hi all,
>
> I'm trying to convert a pdf file into a ps file. I plan to then convert the ps file into ascii so I can read it. When I run pdf2ps, it tells me that the pdf file is encrypted, and I should download a patch. I got the patch it mentioned. However, when I do 'gs pdf_sec.ps', gs says that it can't open an x display. How do I apply the patch? Is there a better way to read pdf files in linux? Thanks.
> Greg
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
--
Kerry Hoath: kerry@gotss.net
alternatives: kerry@gotss.eu.org or kerry@gotss.spice.net.au
ICQ UIN: 8226547
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: pdf_sec.ps patch
@ Holmes, Steve
0 siblings, 0 replies; 7+ messages in thread
From: Holmes, Steve @ UTC (permalink / raw)
To: 'speakup@braille.uwo.ca'
As for the services at Adobe, one should beware that since they came out
with Acrobat 5.0, they will discontinue any further enhancements to these
online services. It wouldn't surprise me if they eventually discontinue
them altogether. The Acrobat 5.0 reader has special MSAA based components
for windows screen readers. Sorry, us linux users lose out on this one:(.
-----Original Message-----
From: Georgina Joyce [mailto:gena@visson.freeserve.co.uk]
Sent: Sunday, April 22, 2001 11:50 AM
To: speakup@braille.uwo.ca
Subject: RE: pdf_sec.ps patch
Hi
I don't understand why you need to take those steps. You can send the file
to adobe:
pdf2txt@adobe.com
or
pdf2htm@adobe.com
I'm quoting from memory, so sorry if it's wrong. Here's a message from some
time ago.
> [...] And ghostscript includes ps2ascii, which can convert
> postscript docs into text.
Note that ps2ascii can also deal with pdf:
NAME
ps2ascii - Aladdin Ghostscript PostScript or PDF to ASCII
translator
SYNOPSIS
ps2ascii [input.ps [output.txt]]
ps2ascii input.pdf [output.txt]
DESCRIPTION
ps2ascii extracts ASCII text from PostScript or PDF, using
gs(1). If the pathname "input.ps" is not specified,
PostScript is read from standard input; PDF input must
come from an explicitly-named file, not standard input.
If the pathname "output.txt" is not specified, the ASCII
text is written to standard output.
also, pstotext is nearly the same (both ps and pdf) but reported to
work better (ps2ascii suggests it). It is a separate package from gs,
and it is available in Debian (can't tell about the other ones).
However, to my knowledge, all free Linux documentation is written in
sgml (or sometimes LaTeX), so an html or ascii version must exist
somewhere.
Regards
/alessandro
---
Send your message for blinux-list to blinux-list@redhat.com
Blinux software archive at ftp://leb.net/pub/blinux
Blinux web page at http://leb.net/blinux
To unsubscribe send mail to blinux-list-request@redhat.com
with subject line: unsubscribe
Gena
http://www.visson.freeserve.co.uk/
Mobile (Cell) Phone 07951 196268
-----Original Message-----
From: speakup-admin@braille.uwo.ca
[mailto:speakup-admin@braille.uwo.ca]On Behalf Of Gregory Nowak
Sent: 22 April 2001 18:42
To: speakup@braille.uwo.ca
Subject: pdf_sec.ps patch
Hi all,
I'm trying to convert a pdf file into a ps file. I plan to then convert the
ps file into ascii so I can read it. When I run pdf2ps, it tells me that the
pdf file is encrypted, and I should download a patch. I got the patch it
mentioned. However, when I do 'gs pdf_sec.ps', gs says that it can't open an
x display. How do I apply the patch? Is there a better way to read pdf files
in linux? Thanks.
Greg
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
pdf_sec.ps patch Gregory Nowak
` Cheryl Homiak
` Geoff Shang
` Georgina Joyce
` Geoff Shang
` Kerry Hoath
Holmes, Steve
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).