Converting swf to pdf

In my case using Ubuntu

# apt-get install libjpeg62-dev libgif-dev libpng12-dev git g++ libfontconfig1-dev libfftw3-dev libpoppler-dev ghostscript imagemagick
# apt-get install libzzip-dev
# wget
# tar zxf PDFlib-Lite-7.0.5p3.tar.gz
# cd PDFlib-Lite-7.0.5p3/
# ./configure;make;make install
# cd ..
# git clone git://
# cd swftools
# ./configure;make;make install
# cd ..

-check swf location
open FireFox
download and install “Flash and Video” FireFox plugin from
go to
check total pages
go to page1


# cat
if [ $# -lt 3 ]; then
echo “Usage: $0 url_format seq_start seq_end [wget_args]”
shift 3
printf “$url_format\\n” `seq $seq_start $seq_end` | wget -i- “$@”

# chmod 755

# cat
for x in *.swf; do
swfrender ${x} -o ${x%.swf}.png

# chmod 755

# mkdir CCIEslide
# cd CCIEslide
# ./ 1 291
# ./
# cd ..

download and install CutePDF
using winscp, copy all .png to your pc
open Word and insert all png
print to CutePDF from Word


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s