Printable Version of Topic

This forum is for discussions on the Help & Manual Premium Pack and the Premium Pack Toolbox configuration utility introduced with Premium Pack 3

Moderators: Alexander Halser, Tim Green

Post Reply
User avatar
Olivier Beltrami
Posts: 350
Joined: Mon Jul 15, 2002 3:30 pm
Location: Nantes, France
Contact:

Printable Version of Topic

Unread post by Olivier Beltrami » Mon May 31, 2021 9:15 am

Hello,

When I click on the Printable Version menu item of the More button in the PP skins I use, it displays a printable version of the topic (excellent) but it then also launches the print command (usually not required and/or wanted).

How can I just display the Printable Version, without launching the printing ?

I currently use the following URL structure:

https://www.qppstudio.net/webhelp_xv4/_ ... e-type.htm

Should _hm_print_window.htm be replaced by something else, or is there another parameter to add ?

Very best regards,

Olivier
Olivier Beltrami
https://www.qppstudio.net
Worldwide Public Holidays and Calendar Data

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

Re: Printable Version of Topic

Unread post by Tim Green » Mon May 31, 2021 11:24 am

Hi Olivier,

This is stored in the _hm_print_window.htm file in the baggage files. Edit this file and locate these lines of code down towards the end:

Code: Select all

setTimeout(function(){
window.print();
},300);
Disable the print command by commenting it out with two slashes (//), like this:

Code: Select all

setTimeout(function(){
//window.print();
},300);
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
Olivier Beltrami
Posts: 350
Joined: Mon Jul 15, 2002 3:30 pm
Location: Nantes, France
Contact:

Re: Printable Version of Topic

Unread post by Olivier Beltrami » Mon May 31, 2021 12:00 pm

Thank you very much !
Olivier Beltrami
https://www.qppstudio.net
Worldwide Public Holidays and Calendar Data

Post Reply