No need for pdf viewer with swftools

Discussion in 'all things UNIX' started by Ocky, Aug 2, 2010.

Thread Status:
Not open for further replies.
  1. Ocky
    Offline

    Ocky Registered Member

    Just for info. Although we all have one or the other pdf viewer, we can also do without.
    Say you have downloaded a pdf, have no viewer, but need to read it.

    1) Install swftools package
    2) Download rfxview.swf (http://www.jesusda.com/blogpics/howto-pdf2swf/rfxview.swf)

    Then it's easy. Place the rfxview.swf in the same directory as the pdf.
    If your pdf is named 1.pdf and you want to name the output swf my.swf type in the terminal:-

    pdf2swf -B rfxview.swf -o my.swf 1.pdf

    (where -B option links to the rfxviewer.)

    You will get something like this with zoom buttons and page back/forward buttons and scroll bar ...

    swftools.jpg
Thread Status:
Not open for further replies.