Pictures are not printed from chm help

A

asavtch

Hi all

Maybe slightly off topic but don't know where else to ask

I've compiled a .chm help manual using Microsoft's HTML Help Workshop.
Some of the source html files include .bmp, .png and .jpg pictures.
Now I've got two problems:

1) On the screen the help looks allright but when I select the topmost
heading and print it choosing "Print the selected heading and all
subtopics" then an empty frame with a small red cross is printed
instead of every picture

However

when I select a topic and print it choosing "Print the selected topic"
then the pictures are correctly printed.

2) I use html tables and in the header of the file with a table I put
<STYLE TYPE="text/css">
TABLE {FONT-SIZE: 100%;}
</STYLE>

and then in html body
<FONT FACE=Tahoma SIZE=2>
...

Again everything is OK on the screen but when printed the table text
appears one or two points larger than the rest of the text

Could anyone advise me on how to resolve these two things?

Many thanks
 
P

Pete Lees

Hi,
Maybe slightly off topic but don't know where else to ask

The newsgroup microsoft.public.helpauthoring is a good place to ask
questions about HTML Help issues. Or you could try the HATT group on
Yahoo (http://groups.yahoo.com/group/HATT/).
1) On the screen the help looks allright but when I select the topmost
heading and print it choosing "Print the selected heading and all
subtopics" then an empty frame with a small red cross is printed
instead of every picture

There's some information on this problem here:

http://helpware.net/FAR/far_faq.htm#multipage_print

My own theory is that the presence of a line break in the <img> tag
seems to be a factor in this problem, especially when it occurs
immediately before the "src=" attribute, as in this example:

<p>Many people like to use the <strong>Numbering</strong> feature <img
src="../images/numbering_button.gif" alt="Numbering button" /> on the
Formatting toolbar to create numbered lists in a document.</p>

When you choose to print the selected heading and all subtopics, a
temporary HTML file containing all the topics is created in your TEMP
directory. (This file has a name like "~hh4428.htm".) What *should*
happen is that the <img> tags in this file specify the absolute paths
to the source graphics, like this:

<img src="mk:mad:MSITStore:path/filename.chm::/html/../images/
numbering_button.gif" alt="Numbering button" />

But the presence of a line break in the <img> tag causes it to retain
the relative path to the graphic (src="../images/
numbering_button.gif"), resulting in a broken link.

For the other problem with misapplied styles when printing multiple
topics, see if anything in this Knowldege Base article helps:

http://support.microsoft.com/?kbid=830609

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top