How to print an entire CHM File?

Have you ever tried printing an entire CHM file from Windows? Chances are the file won’t print properly. This is a known bug, and there’s a workaround to printing an entire CHM file easily.

How to print the whole of a CHM file?

Here are the steps you need to take if you want a full CHM file to be printed:

  • First, open the CHM file. It should open up in the default CHM Viewer
  • Click on the topic you want to print
  • Click the ‘Print’ button in the CHM Viewer Toolbar
  • You’ll be asked if you want the particular selection alone, or also all the topics under the heading. Make a selection and click ‘OK’
  • In the Window that appears, DO NOT click the ‘Print’ button
  • Instead, navigate to C:\Documents And Settings\[Your User Name]\Local Settings\Temp\
  • Now, you should see a .HTM file with a name like ~hh3256.htm
  • Double-Click on the file and wait for it to open in a browser like Internet Explorer
  • The file should contain the parts of the CHM file that you wanted to print
  • Go to File >> Print and get the file printed!

So, that is how you print multiple pages/topics from a CHM file.

8 thoughts on “How to print an entire CHM File?”

  1. That doesnt print the whole page at once.

    All you did was show the underlying file of the current print. You could have just clicked “ok” when the print dailouge came up and printed. instead of navigating to the temp folder.

  2. Ok, here’s what you do:

    Put the CHM file in a location you can remember, and easily type in dos.

    Open dos.

    type hh.exe -decompile extracted filename.chm

    This will decompress all files embedded in filename.chm to folder extracted.

    Basically everything embedded is a chm file, so do some snooping, but all the chapters and stuff will be in separate html files.

  3. One mistake:
    navigate to C:Documents And Settings[Your User Name]Local SettingsTemp

    should say

    navigate to whatever TEMP is set to in your environment.

  4. HOW CAN WE PRINT WHOLE CHM FILE AS A FULL BOOK WITH GOOD MARGIN.

    WHETHER WE HAVE TO CHANGE TO PDF FIRST THEN PRINT OR IS THERE ANY TIPS TO DO IT, AS A PDF BOOK LIKE PRINT AT ONCE??

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>