Printme

January 8, 2009

New Printme plugin
==============

Printme is an easy to use and simple plugin. enables your bloggers to show their posts in a printer style version.
You just need to create a simple print stylesheet file.

Compatibility:
==============
-wordpress Mu all versions.
-wordpress

Download it from here:

http://wpmudev.org/project/printme

4 Responses to “Printme”

  1. rob cain Says:

    hi,
    i have extended/modded this plugin so that
    it automatically open same page in new browser(tab) using print media css, then autmatically invokes browser print function, then automatically closes print screen and returns to normal screen css page. nice!

    you can see the changes to printme.php here:

    http://pastebin.com/f14f20f43

    (look for ‘mod jrc’ in source).

    note, it also ’stacks’ any function calls it finds in page onload and ‘embedds/stacks’ the auto print function only when it is required (this way it doesnt interfere with any other onload events that may have been set).

    also, it overcomes a firefox (v3.1) bug that
    leaves an eggtimer going in the parent browser/page. it fixes this by calling both print and close functions within asynch settimeout calls.

    hope this is useful.

    regards
    rob cain

    • be4dev Says:

      Rob Cain did a great job in extending and moddifying this plugin.
      Adding the extra javascript code was very nice, useful and smart.

      It opens a new window or tab calling the css print version, the print dialogue is also started.
      The plugin usuability has much improved leaving the reader on the same page.

      I have tried it in IE 6 and Firefox 3 and works perfectly
      I will update the plugin to reflect this changes.

      Big thanks Rob!

      Jorge Alves

  2. rob cain Says:

    Glad you like it Jorge :) .
    Good teamwork i’d say.
    Must also give great credit to http://simonwillison.net/2004/May/26/addLoadEvent/
    for the (neat!) onload event stack.
    i havent tried it on mac safari yet (..we are not worthy..) – but i shall later-on this pm.

    • be4dev Says:

      Thanks Rob, I tried it on Safari Windows XP and it WORKS :) I will check later on my Mac.

      Good teamwork i’d say.

      I totally agree with you! In the end the big winner is the WP MU community. Maybe it also works on WP ;)

      Jorge


Leave a Reply