[tw] Re: TWC: Sending a tiddler to pdf directly?

2016-01-14 Thread okido
Hi Shankar,

You might consider jsPDF. 
Load to .js file in a tiddler and tag it with systemConfig.
Execute the example code with inlinejavascript plugin, the pdf is than 
created in the download folder.

Regards, Okido

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/575664c4-587b-4fc9-aa44-798dbaa3a6c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TWC: Sending a tiddler to pdf directly?

2016-01-11 Thread Shankar

I reached over to here too fast :-(

A more elaborate Internet search revealed: window.print()  command which is 
more or less what I wanted.

Thanks.

Cheers; 'best,
shankar

On Monday, January 11, 2016 at 2:48:29 PM UTC-8, Shankar wrote:
>
>
>
> Is there a way to send a tiddler pdf directly.  Here is the problem I am 
> trying to solve:
>
> I have a dynamically created table with each cell displaying a JPG file.  
> The table itself is created by a JavaScript in real time and rendered as a 
> tiddler.   Right now, to accomplish what I need, I will have to use the 
> browser's print button and save it as a pdf.  
>
> I am wondering if there is a way I can add additional JavaScript code so 
> that when I create the table, instead of displaying it, I can directly 
> print to pdf.
>
> Thanks for your time and help!
>
> Cheers; 'best,
> shankar
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/f0de76b6-0a05-4daf-8e56-1fd8b51a1e73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.