Skip to Content
Author's profile photo Eddy De Clercq

The Power of Print

One of my first web logs covered a How to print an SDN forum thread in Firefox in a nice and easy way to print the S(D)N forums in a nice and easy way. It covered a solution to print a forum thread without the S(D)N headers and menu, in order to have more room for the thread itself, and for it to fit perfectly on an A4/letter. This was done via a simple Javascript saved as bookmarklet. A couple of months later, I published a similar web Super (re)size it. for printing web logs. With the migration of S(D)N to Netweaver 2004, things changed a bit and the earlier mentioned bookmarklets didn’t run anymore. As such there isn’t that much difference though. The only thing that needs to be changed is the frame id, which is now called “isolatedWorkArea”.

So for the web log printing, it comes to




for(i=0; i<ta.length;i++) {cr=0; idx=ta[i].value.indexOf(%22
%22, 0);

while (idx != -1 ) { cr +;idx = ta[i].value.indexOf(%22
%22, idx



Wait a minute. Does the print button in the web log page do the same, with much less code, meaning



Yes and no. Indeed, it does print the web log without the headers and menu. The difference is that the bookmarklet will expand the textareas and thus prevent it from being cut off to the size of the initial textarea. Check my earlier web Super (re)size it. for details on that.

Next comes the code for forum printing.



Here there are no textareas, but since there is no separate print button within the forums, the existence of the code is still required. Check the other web How to print an SDN forum thread in Firefox in a nice and easy way for details.

Installation is simple. Just create a bookmark/favourite and copy/paste the above. Make sure that everything is on

one line



Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Thanks for the tip, it works like a charm. As a only printed blog reader I do appreciate it very much. I've always found frustating to only have a small portion of the code in textareas.

      It's so simple to correct that I wonder why SAP is not implementing it in the print button ?