Highlighted

script error while trying to take a print from a chm output.

Explorer ,
Feb 26, 2020

Copy link to clipboard

Copied

Hi,

I am getting a script error while tring to take a print from a chm output. Please help.

ScriptError.png

 

 

 

 

Topics

Classic

Views

253

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

script error while trying to take a print from a chm output.

Explorer ,
Feb 26, 2020

Copy link to clipboard

Copied

Hi,

I am getting a script error while tring to take a print from a chm output. Please help.

ScriptError.png

 

 

 

 

Topics

Classic

Views

254

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 26, 2020 0
Adobe Community Professional ,
Feb 26, 2020

Copy link to clipboard

Copied

I have edited your post as this is nothing to do with RoboHelp Server, that is used for online outputs and is a separate program. I have applied the Classic tag as I am guessing you are not using the 2019 New UI version. If you are, then please say so. 

 

One thing I notice is in the top left of your screenshot is a dialog Collecting Files to Print. Are you trying to print all topics in a book? That has never worked well to the best of my knowledge and I think the only answer is don't use that option. Sorry but it's not a RoboHelp issue as that comes from the Microsoft compiler that is used to create the CHM. Microsoft last updated that in 2004 so don't expect any fix on that!

 

Otherwise I don't know the cause of the issue but there are posts on this type of issue so please try a search while waiting for someone who may be able to assist.

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 26, 2020 0
Explorer ,
Feb 26, 2020

Copy link to clipboard

Copied

I am using Robohelp Classic 2019.

Are you trying to print all topics in a book? yes

I am using the second option - Print the selected heading and all the sub topics as shown in the imageScriptError_2.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 26, 2020 0
Adobe Community Professional ,
Feb 26, 2020

Copy link to clipboard

Copied

Sorry even when you can get that to work, the results are horrible. All styling is lost and it's a mess.

 

The only thing I can offer is give up before they lock you up for your protection. 🙂

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 26, 2020 0
Adobe Community Professional ,
Feb 26, 2020

Copy link to clipboard

Copied

I looked into this a bit more and found that what used to happen is that it would print all the topics but they would be a mess. See this post. Long time since I used CHMs, hence not recalling that.

 

There is also something on my site at http://www.grainge.org/pages/snippets/snippets.htm See CHMs Item 2.

 

So perhaps the first thing to ask is do you get the same error if you try to print just one topic?

 

Try moving the CHM to something like C:\CHM_Test.

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 26, 2020 0
Explorer ,
Feb 26, 2020

Copy link to clipboard

Copied

Thank you Peter. I will read it and get back.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 26, 2020 0
Explorer ,
Feb 26, 2020

Copy link to clipboard

Copied

Hi,

 

1) How to find this particular line and Char: Line: 1084 and Char 103 as the error messsage says "An error has occured in the script on this page"

What is StrUrl Error?

 

2) I tried to generate PDF using PDF Output and Printed documentation. But i am getting error in the end. Could you please let me know how to print properly formatted PDF and Word using Robohelp.

 

Thanks 

Lija

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 26, 2020 0
Adobe Community Professional ,
Feb 26, 2020

Copy link to clipboard

Copied

What error are you getting when trying to generate in Robohelp?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 26, 2020 0
Explorer ,
Feb 27, 2020

Copy link to clipboard

Copied

Hi

 

I am getting "failed to generate printed documentation"

PDFError.png

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 27, 2020 0
Adobe Community Professional ,
Feb 27, 2020

Copy link to clipboard

Copied

The thread started with a script error when printing a CHM. Now you have posted...

 

1) How to find this particular line and Char: Line: 1084 and Char 103 as the error messsage says "An error has occured in the script on this page"

What is StrUrl Error?

2) I tried to generate PDF using PDF Output and Printed documentation. But i am getting error in the end. Could you please let me know how to print properly formatted PDF and Word using Robohelp.

 

Is this script error when generating a CHM, a PDF or a Word document?

 

Is the error when generating PDF or Word the script error in 1 above or some other error?

 

If these points are just about PDF and Word and not the CHM issue, I will branch this part into a new thread for clarity. Let me know.

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 27, 2020 0
Explorer ,
Feb 27, 2020

Copy link to clipboard

Copied

 

Is this script error when generating a CHM, a PDF or a Word document? CHM. Attaching the screenshot again:

ScriptError.png

I just wanted to understand what is strUrl and How to find this line and Char.

Is the error when generating PDF or Word the script error in 1 above or some other error? No

 

Since i am trying to generate PDF. I thought of posting below question in this thread. As generating PDF from CHM was not successful.

Question I tried to generate PDF using PDF Output and Printed documentation. But i am getting error in the end. Could you please let me know how to print properly formatted PDF and Word using Robohelp.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 27, 2020 0