printing

139 views
Skip to first unread message

jpt

unread,
Apr 24, 2017, 6:58:53 AM4/24/17
to TiddlyWiki
When printing a tiddler I am trying to suppress the title, subtitle and tag pills.
I managed to eliminate the title by adding a custom style sheet with the following content:
@media print {.tc-title {display: none ! important}};
I was not able to handle the subtitle (.tc-subtitle) or the tags (.tc-tag-label).
What am I doing wrong?
Thank you for any help.
Johannes 

@TiddlyTweeter

unread,
Apr 24, 2017, 7:46:11 AM4/24/17
to TiddlyWiki
When you want to print ONE TIDDLER do you go via "Open in new Window"? Its pretty clean....

Here are shots on Firefox ...

1 ...



 2 ...



Right click to Print and you get 3 ...



Hope this helps.

Best wishes
Josiah
Auto Generated Inline Image 1
Auto Generated Inline Image 2
Auto Generated Inline Image 3

Ton Gerner

unread,
Apr 24, 2017, 7:52:12 AM4/24/17
to TiddlyWiki
Hi Johannes,

Try:

@media print {.tc-title, .tc-subtitle, .tc-tags-wrapper {display: none ! important}};

Cheers,

Ton



@TiddlyTweeter

unread,
Apr 24, 2017, 7:58:30 AM4/24/17
to TiddlyWiki
Ciao Ton

What's the advantage over just going via "Open in new window?"

I can see that for BULK printing fiddling with classes could help, but what is WRONG with the built in mechanism of "Open in new window" for bog standard solo Tiddler printing?

Best wishes
Josiah

Ton Gerner

unread,
Apr 24, 2017, 8:09:53 AM4/24/17
to TiddlyWiki
Hi Josiah


What's the advantage over just going via "Open in new window?"

As you said it is just for one tiddler.
 
I can see that for BULK printing fiddling with classes could help, but what is WRONG with the built in mechanism of "Open in new window" for bog standard solo Tiddler printing?
 
Nothing wrong as long as you can print the 'New window'. Your solo printing did not work in my case (Firefox, Linux Mint).

Cheers,

Ton

@TiddlyTweeter

unread,
Apr 24, 2017, 8:25:57 AM4/24/17
to TiddlyWiki
Ciao Ton

Is that because you, on Mint, have no right click to print?

Let us NOT confuse TW issues with OS or browser issues.

Lets avoid TW workaround load UNTIL we are certain the OS or Brower is crap.

Best wishes
Josiah

Ton Gerner

unread,
Apr 24, 2017, 8:45:54 AM4/24/17
to TiddlyWiki
Hi Josiah,

 
Is that because you, on Mint, have no right click to print?

Correct
 
Let us NOT confuse TW issues with OS or browser issues.

Lets avoid TW workaround load UNTIL we are certain the OS or Brower is crap.

What I did propose is not a workaround but the standard TW way to do it.
Have a look at $:/themes/tiddlywiki/vanilla/base and search for '@media print'.

Cheers,

Ton

@TiddlyTweeter

unread,
Apr 24, 2017, 8:58:03 AM4/24/17
to TiddlyWiki
Ciao Ton

Thanks for this open discussion. I think it highlights something important.

You say "What I did propose is not a workaround but the standard TW way to do it."

I agree its a standard way that TW can do it. BUT should it HAVE to?

The fact you HAVE TO is a WORKAROUND.

You suggest such extra work ONLY because you browser or OS does not apparently support the easier option that is  BUILT INTO TW.


Sometimes i think we should be looking at BROWSERS and OS as much as TW...

So: Why does MINT make this situation so?


Best wishes
Josiah

johannes...@wintwo.org

unread,
Apr 24, 2017, 9:16:57 AM4/24/17
to tiddl...@googlegroups.com
Dear Josiah, Dear Ton,
Thank you so much for your solutions.
Both worked magnificently.
I guess which one to use depends. On circumstances and purpose:
To print one tiddler only from an unmodified TW one would go in via the info panel.
To buld a new application one would do whatever one could to adjust it for ease of use (so CONTROL + P works beautifully).
The way I regard TW is almost like a stemcell: it can devolop into almost anything: notebook, database, word processor, presentation, mathermatical machine, etc).
Thank you again.
Johannes
Sent on the Sprint® Now Network from my BlackBerry®

From: "@TiddlyTweeter" <tiddly...@assays.tv>
Date: Mon, 24 Apr 2017 05:58:03 -0700 (PDT)
Subject: [tw] Re: printing
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/m_eaL38rX-w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8a3bf69a-09c1-40de-a2ef-a01fe270459a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ton Gerner

unread,
Apr 24, 2017, 10:03:37 AM4/24/17
to TiddlyWiki
Hi Josiah,

I totally disagree with you.

1) My proposed solution is general. It works independent of browser and/or OS. You can adjust what you want to print.
2) The 'new window' print can only print *one* tiddler *without* title, subtitle and tags. You assume everybody wants it printed this way. But what to do if I like to have the tiddler title and/or subtitle printed?
3) Default TW only suppresses printing the tiddler controls (@media print { .tc-tiddler-controls { display: none; } }). That makes sense; the rest is up to you.

Cheers,

Ton

@TiddlyTweeter

unread,
Apr 24, 2017, 10:41:00 AM4/24/17
to TiddlyWiki
Ciao Ton

Let us not disagree where there is none.


1 - The point was, for me, THE QUESTION was on PRINTING a Tiddler. I suggested it EASIEST via "Open In new window"

2 - In Firefox on Windows it behaves as expected. You open a new Tiddler via  "Open in new window" and right click and get a Print option for it. Easy and to the point. Elegant prints come out without messing about in convoluted print directives.

OTHER situations, like, apparently, under Mint, fess up on that and get complicated.

My POINT to you was ONLY over that specific scenario.

Does Mint Firefox right click enable print?

Best wishes
Josiah

codacoder...@outlook.com

unread,
Apr 24, 2017, 10:51:14 AM4/24/17
to TiddlyWiki


On Monday, April 24, 2017 at 9:41:00 AM UTC-5, @TiddlyTweeter wrote:
Ciao Ton

Let us not disagree where there is none.


1 - The point was, for me, THE QUESTION was on PRINTING a Tiddler. I suggested it EASIEST via "Open In new window"

2 - In Firefox on Windows it behaves as expected. You open a new Tiddler via  "Open in new window" and right click and get a Print option for it. Easy and to the point. Elegant prints come out without messing about in convoluted print directives.


I don't see a print option in the Firefox context menu in Windows 7 or Windows 10 - how did you make it appear there?

 

@TiddlyTweeter

unread,
Apr 24, 2017, 11:01:02 AM4/24/17
to TiddlyWiki
Did you do this ...

https://groups.google.com/d/msg/tiddlywiki/m_eaL38rX-w/q_f7kKfPAgAJ ...

Let me know & we can go into it ...

J
Reply all
Reply to author
Forward
0 new messages