WebHelp Print Preview Issue
Oxygen general issues.
-
- Posts: 118
- Joined: Mon Apr 19, 2010 5:33 pm
WebHelp Print Preview Issue
Hello,
When transforming to WebHelp (using DITA Map WebHelp in O17.1 or DITA Map WebHelp Classic in O18), the Print Preview function (using the Print icon in the header pane causes the preview and resulting print job to print incorrectly. No paragraphs wrap on the page (they all run off the right side of the page) and if there are multiple pages, only one is included.
However, it appears that the preview shows correctly if the WebHelp is displayed in frames.
I'm not certain how else to describe this or what more needs to be included for the resolution. Any ideas?
When transforming to WebHelp (using DITA Map WebHelp in O17.1 or DITA Map WebHelp Classic in O18), the Print Preview function (using the Print icon in the header pane causes the preview and resulting print job to print incorrectly. No paragraphs wrap on the page (they all run off the right side of the page) and if there are multiple pages, only one is included.
However, it appears that the preview shows correctly if the WebHelp is displayed in frames.
I'm not certain how else to describe this or what more needs to be included for the resolution. Any ideas?
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: WebHelp Print Preview Issue
Post by bogdan_cercelaru »
Hello,
I've tested using Oxygen XML Editor v17.1, build 2016032212 and the latest build of Oxygen XML Editor v18.0 but I'm not able to reproduce this issue.
When the Print button is pressed (in Google Chrome) the print preview dialog is displayed and the text wraps correctly and multiple pages are also correctly handled.
Please let us know what build of Oxygen are you using. Is your WebHelp on a Web server or it is accessed as local file? What browser are you using to print the WebHelp pages?
Regards,
Bogdan
I've tested using Oxygen XML Editor v17.1, build 2016032212 and the latest build of Oxygen XML Editor v18.0 but I'm not able to reproduce this issue.
When the Print button is pressed (in Google Chrome) the print preview dialog is displayed and the text wraps correctly and multiple pages are also correctly handled.
Please let us know what build of Oxygen are you using. Is your WebHelp on a Web server or it is accessed as local file? What browser are you using to print the WebHelp pages?
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 118
- Joined: Mon Apr 19, 2010 5:33 pm
Re: WebHelp Print Preview Issue
Hi Bogdan
Thanks for the reply. The version I am using is 17.1, build 2016032212. All docs are hosted on a web server with Chrome as the venue for Print Preview as IE does not allow this feature.
I will be researching further in different platforms/environments while waiting for a response. If it is our customizations, I need to identify the offending code. (although I would assume a JS code call is fairly straightforward).
Thanks!
Thanks for the reply. The version I am using is 17.1, build 2016032212. All docs are hosted on a web server with Chrome as the venue for Print Preview as IE does not allow this feature.
I will be researching further in different platforms/environments while waiting for a response. If it is our customizations, I need to identify the offending code. (although I would assume a JS code call is fairly straightforward).
Thanks!
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: WebHelp Print Preview Issue
Post by bogdan_cercelaru »
Hello,
Please check your "${DITA_OT_DIR}\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\skins\desktop\toc_driver.js" file and look for the following code:
Also, your generated "index.html" file should contain the following HTML element:
Regards,
Bogdan
Please check your "${DITA_OT_DIR}\plugins\com.oxygenxml.webhelp\oxygen-webhelp\resources\skins\desktop\toc_driver.js" file and look for the following code:
Code: Select all
function printFrame(id) {
var frm = document.getElementById(id).contentWindow;
frm.focus();// focus on contentWindow is needed on some ie versions
frm.print();
return false;
}
Code: Select all
<div id="printlink"><a onclick="printFrame('frm')" title="Print this page"></a></div>
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service