[pmwiki-users] print icon

The Editor editor at fast.st
Wed Jun 25 16:56:04 CDT 2008


On Wed, Jun 25, 2008 at 4:55 PM, kirpi at kirpi.it <kirpi at kirpi.it> wrote:
>>>> ...action=print...
>
>>> this gives the print preview, but don't
>>> lauch the print window?
>
>> Right.
>> It calls the "print skin", if there is one, while triggering a printer
>> is quite a different task.
>
> Actually, there are links that trigger the very printing process, like
> the one you find at the bottom of this page
> http://www.simplehelp.net/other/how-to-remove-red-eye-from-your-digital-photos-using-gimp/print/
> but I wouldn't know how to enable such a behaviour.

You just need to add to the body tag a bit of javascript:  <body
onload='window.print()'>

I'm not sure the easiest way to add this to PmWiki. Perhaps it could
be added directly to the print skin. But more likely there's a config
option to do it somewhere in the bowels of the code.

Cheers,
Dan



More information about the pmwiki-users mailing list