Skip to content

Converting CHM to PDF

March 5, 2010

Googling about a tool online to convert a CHM ( M$ Windows Help File ), I don’t found them

Trying my luck at Fedora repositories I found the chm2pdf… yum should have “I’m feeling luck” option heh, just kidding…

Ok lets work

1 – Install chm2pdf:
# yum install chm2pdf -y

2 – The basic syntax is very complex to convert some chm to pdf, look below:
# chm2pdf –book yourCHM.chm outputname.pdf

Too hard uh?

I noticed when file name has spaces this doesn’t work as expected… I don’t tested better more about.

Anyway, thats all!


Googlando por uma ferramenta online que convertesse um CHM ( Arquivo de Ajuda da M$ ), não encontrei nenhuma

Tentando minha sorte nos repositórios do Fedora eu encontrei chm2pdf… yum deveria ter uma opção “Estou com sorte” heh, brincadeira…

Vamo lá:

1 – Instalar chm2pdf:

# yum install chm2pdf -y

2 – A sintaxe básica é muito complexa para converter um chm para pdf, segue abaixo:

# chm2pdf –book yourCHM.chm outputname.pdf

Dificil hein?

Eu vi que quando o nome do arquivo tem espaço o mesmo não funciona como deveria, não testei mais..

De qualquer forma, é isso ai!

From → Fedora, Linux

  1. Andrew Clayton permalink

    Dealing with spaces.

    Try putting the file name in quotes or escape the spaces. e.g

    # chm2pdf –book “your CHM.chm” outputname.pdf
    # chm2pdf –book your\ CHM.chm outputname.pdf

Trackbacks & Pingbacks

  1. How To Convert CHM Files To PDF In Linux?

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


Get every new post delivered to your Inbox.

%d bloggers like this: