Printing from Responsive Skins

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

User avatar
Sheri Steeves
Posts: 146
Joined: Tue Aug 05, 2008 5:06 pm
Location: Ottawa, Ontario,CANADA
Contact:

Printing from Responsive Skins

Unread post by Sheri Steeves »

Hello,

Just updated to H&M 7 today and was playing with the responsive skins.

We were previously using one of the premium skins, WebHelp_SlateGrey.hmskin with options for mail Feedback and Printing the topic.

I have tested publishing our help using the skins 'HM7-Help-Webhelp-Responsive', 'Webhelp, iFrames Responsive, Grey' and 'Webhelp, iFrames Responsive, White-Grey' and have noticed that from Chrome you cannot print the topics from these skins - at least not using Ctrl+P.

The print dialog comes up but all that shows is a single page (with the header if Print background and images is selected) and no text. I was able to print a topic using Ctrl+P through IE11.
Capture.PNG
Is there a way to add a print option to the new skins? What about e-mail feedback?

Playing around a bit further, I was able to print the topic if I clicked in the topic section, did Ctrl+A and then did Ctrl+P.

Thanks,

Sheri
You do not have the required permissions to view the files attached to this post.
User avatar
Tim Green
Site Admin
Posts: 23155
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Printing from Responsive Skins

Unread post by Tim Green »

Hi Sheri,

These new standard skins don't currently have a print feature, sorry. That needs to be added in a future update...
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Sheri Steeves
Posts: 146
Joined: Tue Aug 05, 2008 5:06 pm
Location: Ottawa, Ontario,CANADA
Contact:

Re: Printing from Responsive Skins

Unread post by Sheri Steeves »

Tim,

Thanks for the response; I know H&M 7 was just released but is there any timeline on adding the printing feature??

Great job on the responsive skins!

Sheri
User avatar
Tim Green
Site Admin
Posts: 23155
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Printing from Responsive Skins

Unread post by Tim Green »

Hi Sheri,

We have a lot on our plates at the moment -- may take a couple of weeks... :?
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Darren Rose
Posts: 204
Joined: Sat Mar 03, 2012 3:01 pm

Re: Printing from Responsive Skins

Unread post by Darren Rose »

+1 for adding printing support!!
User avatar
Tim Green
Site Admin
Posts: 23155
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Printing from Responsive Skins

Unread post by Tim Green »

Update: The new standard responsive skins are currently being edited to make them work better on very small screens. More coming -- watch this space. And have a nice weekend...

38°C in my office at the moment... :typing:
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Darren Rose
Posts: 204
Joined: Sat Mar 03, 2012 3:01 pm

Re: Printing from Responsive Skins

Unread post by Darren Rose »

I appreciate you are busy - but any update on adding printing support to the responsive skins included in HM7??
User avatar
Tim Green
Site Admin
Posts: 23155
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Printing from Responsive Skins

Unread post by Tim Green »

Hi Darren,

Please contact Alexander directly for information on this -- I'm not up to date on his work on those skins at the moment.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Darren Rose
Posts: 204
Joined: Sat Mar 03, 2012 3:01 pm

Re: Printing from Responsive Skins

Unread post by Darren Rose »

Okay thanks Tim - I posted on here rather than emailing you direct as I assumed he would reply
User avatar
Darren Rose
Posts: 204
Joined: Sat Mar 03, 2012 3:01 pm

Re: Printing from Responsive Skins

Unread post by Darren Rose »

also can you add a text variable to change initial width of the TOC panel?
User avatar
Darren Rose
Posts: 204
Joined: Sat Mar 03, 2012 3:01 pm

Re: Printing from Responsive Skins

Unread post by Darren Rose »

Darren Rose wrote:also can you add a text variable to change initial width of the TOC panel?
This can be changed in the skin by going to Configuration > Publishing Options > Webhelp > Layout and changing the left: 30%; under #hmcontentbox
User avatar
Darren Rose
Posts: 204
Joined: Sat Mar 03, 2012 3:01 pm

Re: Printing from Responsive Skins

Unread post by Darren Rose »

Darren Rose wrote:I appreciate you are busy - but any update on adding printing support to the responsive skins included in HM7??
As suggested via email from Alexander - you can add the below line under Configuration > HTML Page Templates > Default - add it underneath the line that says <IF_NEXT_PAGE>

<a href="javascript:window.print()">Print</a>

Issues with this method:-

1) If you have a page containing toggles then it doesn't expand them before printing so you just get a printout of the toggle titles and nothing else

2) shows print button just as the word PRINT rather than a nice icon - so doesn't look very professional as ruins the nice layout of icons etc - this is being addressed in next skin update apparently

3) Strange text at top of page when printed - see screenshot below
hm2.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Tim Green
Site Admin
Posts: 23155
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Printing from Responsive Skins

Unread post by Tim Green »

Hi Darren,

Change the print link to this:

Code: Select all

<a href="javascript:<IF_TOGGLES> HMToggleExpandAll(true);</IF_TOGGLES> print();">
No idea where that variable is coming from. I would need to have a look at your skin and a test project -- you can mail them to me if you like.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Darren Rose
Posts: 204
Joined: Sat Mar 03, 2012 3:01 pm

Re: Printing from Responsive Skins

Unread post by Darren Rose »

Hi Tim

Even with a new project and using a fresh copy of Webhelp, iFrames Responsive, Blue.hmskin I still get that variable showing on print output - so problem must be with H&M or the skin rather than my project

Amended code so it shows the "Print" button/link

Code: Select all

<a href="javascript:<IF_TOGGLES> HMToggleExpandAll(true);</IF_TOGGLES> print();">Print</a>
This still doesn't work for me - yes it opens the toggles but the printout still doesn't show content of toggles just headings

If I open the toggles manually using icon and then print - it works okay

Also print output shows title of page twice? and shows the print button text as well
User avatar
Darren Rose
Posts: 204
Joined: Sat Mar 03, 2012 3:01 pm

Re: Printing from Responsive Skins

Unread post by Darren Rose »

P.S. The variable showing up in printing is caused by a typo in the skin

The correct variable name is SKIN-STRTRANS-SYNCTOC i.e. with the C

In HTML PAGE DEFAULTS > Default it doesn't have the C - as below

<td class="topichead" style="text-align:left; vertical-align:bottom">
<IF_HTML><p class="sync-toc"><< <a rel="nofollow" href="<%HREF_TOP_PAGE%>?<%HREF_CURRENT_PAGE%>" target="_top"><%SKIN-STRTRANS-SYNTOC%></a> >></p></IF_HTML>
<p class="crumbs"><b><%SKIN-STRTRANS-BREADCRUMBS-TITLE%></b>&nbsp;
<IFNOT_TOPIC_BREADCRUMBS>&raquo;<%SKIN-STRTRANS-BREADCRUMBS-NONE%>&laquo;</IFNOT_TOPIC_BREADCRUMBS>
<IF_TOPIC_BREADCRUMBS><%TOPIC_BREADCRUMBS%>&nbsp;></IF_TOPIC_BREADCRUMBS></p>

<%TOPIC_HEADER%>
</td>

When correct you now don't see the wrong variable on prints but it does show << Click to Display Table of Contents >> on the print instead - so still not perfect as don't really want to see that, duplicated titles or the word PRINT on the printout - see image below
hm1.jpg
You do not have the required permissions to view the files attached to this post.
Post Reply