Reading PDFs on the command line (with misc/lesspipe)
Polytropon
freebsd at edvax.de
Wed Jun 29 12:03:20 UTC 2016
On Wed, 29 Jun 2016 18:41:08 +0700, Olivier wrote:
> Ralf Mardorf via freebsd-questions <freebsd-questions at freebsd.org>
> writes:
>
> > On Wed, 29 Jun 2016 12:29:45 +0200, Niklaas Baudet von Gersdorff wrote:
> >> $ less some.pdf
> >
> > http://www.manualpages.de/FreeBSD/FreeBSD-ports-9.0-RELEASE/man1/pdftotext.1.html
> > http://unix.stackexchange.com/questions/41362/view-pdf-file-in-terminal
> >
> > I wonder how it is handled assumed "some.pdf" is just a scanned picture
> > of text converted to pdf ;).
>
> /usr/local/libexec/xpdf/pdfimages is installed by default by package
> xpdf.
And then use ImageMagick to convert it to ASCII art. :-)
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list