Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Simple problem really, ... what would be the best way to print some chm files so it looks like something on paper?

I have some manuals which I'd like to have also in paper form, and printing chm page by page is a pain.

So, all ideas welcomed.

share|improve this question
Not as simple as you might think. I have yet to find a 'silver bullet' that makes well-formatted, good looking documents. – DaveParillo Dec 7 '09 at 14:56
Yeah, tell me about it. I'm looking at the solutions below, and although they are workable, they still don't offer that. I mean, they are all workarounds, one way or another. – Rook Dec 8 '09 at 13:30
up vote 4 down vote accepted

if you're using Windows:

1. extract the HTML files from the CHM container from the command prompt with HH.EXE


HH.EXE -decompile C:\Temp\decompile-folder C:\Temp\yourCHM.chm

2. merge the HTML files into a single file (e.g. with SoftSnow Merger)

3. print the HTML file.

or, if you don't mind spending $19.95, you can use ABC Amber CHM Converter:

reads CHM files and converts them to PDF (doesn't require Adobe Acrobat to be installed), HTML (single file and web-site), RTF (MS Word doesn't need to be installed), HLP, TXT (ANSI and Unicode), DOC (MS Word), DBF, MDB (MS Access), CSV, XML, XLS (MS Excel), Clipboard

share|improve this answer

alternatively, you could try converting the chm to a pdf? There are quite a lot of free programs to help you do this.

share|improve this answer
I would decompile the chm as Molly described, then convert the html to PDF. – DaveParillo Dec 7 '09 at 14:55

In case you want to print a single topic from chm document. Right click on topic, a popup will appear, in that select option "Print the selected heading and all subtopics.".

Hope this helps you.


your comment

After looking at above discussion, may be converting chm in single html doc and then printing it be a solution. But it's time consuming.

share|improve this answer
Actually, I wish to print some 7 documents whole. – Rook Dec 7 '09 at 12:14

What about using Calibre? You can convert to multiple formats & print it there.

share|improve this answer

without external tools:

@echo off

if "%~1" equ "" (
    echo usage:
    echo   %~n0 file.chm
    exit /b 1

if "%~x1" neq ".chm" (
    echo you need a file with .chm etension
    exit /b 2

start ""  /b /wait hh -decompile ~~ %~sf1 
::w32tm /stripchart /computer:localhost /period:1 /dataonly /samples:8  >nul 2>&1

for /r "~~" %%h in (*.htm) do (
  rundll32.exe "%systemroot%\system32\mshtml.dll",PrintHTML "%%~fh"

rd "~~" /s /q >nul 2>nul
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .