Print text
Moderators: Alexander Halser, Tim Green
Print text
Is it possible to hide a block of text when printing a text.
Thank you
Thank you
- Tim Green
- Site Admin
- Posts: 23186
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Print text
Hi Paul,
This isn't currently possible. It definitely wouldn't be possible for text you choose while printing -- it would be necessary for you to mark text to be excluded from printing in some way in your project. This would probably have to be done with certain styles, probably styles with specific trigger strings in their names. For example, you could say that all styles whose names ended in _nop (for "NoPrint") would be excluded from printing. It would also only work in HTML, not in PDF or Word output, where there is no mechanism for that kind of thing. (In Word you can mark text as hidden and it won't be printed, but then most users won't see it either, unless they configure Word to display hidden text, which 99% won't do...)
This isn't currently possible. It definitely wouldn't be possible for text you choose while printing -- it would be necessary for you to mark text to be excluded from printing in some way in your project. This would probably have to be done with certain styles, probably styles with specific trigger strings in their names. For example, you could say that all styles whose names ended in _nop (for "NoPrint") would be excluded from printing. It would also only work in HTML, not in PDF or Word output, where there is no mechanism for that kind of thing. (In Word you can mark text as hidden and it won't be printed, but then most users won't see it either, unless they configure Word to display hidden text, which 99% won't do...)
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.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
- Martin Wynne
- Posts: 2656
- Joined: Mon May 12, 2003 3:21 pm
- Location: West of the Severn, UK
Re: Print text
Hi Tim,Tim Green wrote:This isn't currently possible.
Am I missing something? Why not use conditional text IF NOT PRINT?
Martin.
- Tim Green
- Site Admin
- Posts: 23186
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Print text
HM's conditional text isn't dynamic at runtime. It only works at compile time. The IF_PRINT condition is only true if you are generating a printed manual with the Print Manual option, so it is always false for all other output formats. Whether you used it to include or exclude content, it would be permanently in or out of the published output after publishing and that would be the end of it. The condition tags themselves are stripped after publishing, so there is nothing at all it could do when printing from the published output.Martin Wynne wrote:Am I missing something? Why not use conditional text IF NOT PRINT?
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.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
- Martin Wynne
- Posts: 2656
- Joined: Mon May 12, 2003 3:21 pm
- Location: West of the Severn, UK
Re: Print text
Hi Tim,
Yes, I'm aware of all that. But did Paul ask for a switch at runtime?
It's the same when I am answering questions about my own software. Almost every question requires a major telepathic effort to know what is being asked.
For a runtime switch, an ordinary toggle would do?
cheers,
Martin.
Yes, I'm aware of all that. But did Paul ask for a switch at runtime?
It's the same when I am answering questions about my own software. Almost every question requires a major telepathic effort to know what is being asked.
For a runtime switch, an ordinary toggle would do?
cheers,
Martin.
Re: Print text
Thank you for the help
I use especially html and ebook.
"noprint" is for print manual
There is the toggle object but it is always visible in print mode.
I use especially html and ebook.
"noprint" is for print manual
There is the toggle object but it is always visible in print mode.
- Martin Wynne
- Posts: 2656
- Joined: Mon May 12, 2003 3:21 pm
- Location: West of the Severn, UK
Re: Print text
Hi Paul,pl labrie wrote:There is the toggle object but it is always visible in print mode.
Untick this option in the Toggle settings:
regards,
Martin.
You do not have the required permissions to view the files attached to this post.
Re: Print text
Merci
I clicked on this option and with the option "remove icon when printing". But when I test in HTML mode and I click the Print button I see the text but no icon.
I clicked on this option and with the option "remove icon when printing". But when I test in HTML mode and I click the Print button I see the text but no icon.
You do not have the required permissions to view the files attached to this post.
- Martin Wynne
- Posts: 2656
- Joined: Mon May 12, 2003 3:21 pm
- Location: West of the Severn, UK
Re: Print text
Hi Paul,
How are you printing HTML?
If you use File > Print in your browser (CTRL+P), toggles will print exactly as displayed on the page, expanded or not.
For topic pages, right-click on the topic, then This Frame > Print Frame.
regards,
Martin.
How are you printing HTML?
If you use File > Print in your browser (CTRL+P), toggles will print exactly as displayed on the page, expanded or not.
For topic pages, right-click on the topic, then This Frame > Print Frame.
regards,
Martin.
Re: Print text
I click on the print command (skin)
You do not have the required permissions to view the files attached to this post.
- Tim Green
- Site Admin
- Posts: 23186
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Print text
The Print button will automatically open the toggles before printing. That is standard and cannot be changed.
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.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.