How can I print whole CHM file?

You can print the whole chapter with subtopics. Just select the header in table of contents in CHM. Right-click and Print. Select Print the selected heading and all subtopics. As you can see, the output doesn't look good. However if you print just single topic, it looks fine.

This is known problem with CHM. There is however a way to print whole CHM, originally proposed at http://helpware.net/FAR/far_faq.htm#chmtopdf.

Solution:

  1. Open CHM and select the header in table of contents.
  2. Right-click and Print. Select Print the selected heading and all subtopics.
  3. While this prompt is still shown, go to your TEMP folder (usualy c:\Documents and Settings\USERNAME\Local Settings\Temp ), and find the latest file of the pattern "~hh*.htm". This is a concatenation of all the HTML files in the heading you wanted to print.
  4. Copy this file elsewhere before cancelling (or continuing) the print job, as the file will then be deleted. In our case, copy it in your VSdocman output folder. It's because VSdocman output folder contains all the CSS and scripts to display the help correctly.
  5. Open the file from there with Internet Explorer (not Firefox or other browser). You should see all topics displayed correctly. Now you can print the file. You can customize the headings and footers in IE File - Page setup

 

Start generating your .NET documentation now!
DOWNLOAD
Free, fully functional trial
VSdocman Tip
Registered users of VSdocman are eligible for 20% discount on Help & Manual.
Customers

Universities
Medical institutions
Government institutions
Large financial institutions
Thousands of SW companies

Deloitte & Touche
PricewaterhouseCoopers
Bloomberg
Wells Fargo
QBE

Caterpillar
Lear
DuPont
Pfizer

Boeing
Airbus
Rolls-Royce Naval Marine
Toyota Motorsport

Bose
Mitsubishi Electric
Johnson Controls
Bentley Systems

Intel
Hewlett Packard
Bosch (Australia)
Schneider Electric

Intergraph
Volvo Information Technology
SOPRA GROUP
Agilent Technologies
Tesco SW

Syncfusion
T-Systems
Verizon
Fraunhofer Heinrich-Hertz-Institut

vs launch partner logo

VS Mag award VS Mag award

A few years ago, we gave a test to several products to document our source code. We finally chose VSdocman mostly because it was easy to use, from within the development environment, making training of programmers useless. It provides flexible features which enables producing complete documentation for people using our products and also for internal use. When technical support is required (we needed this when switching to VS 2015), Peter answered our emails very quickly. After more than 3 years with VSdocman, we strongly recommend the product which is amazingly easier to use than SandCastle.

Pierrick Combreau, Product Manager, Quotalys Ltd