PDA

View Full Version : No need for pdf viewer with swftools


Ocky
August 2nd, 2010, 12:26 PM
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 ...

220565