[Seaside] Print document

Dario Trussardi dtrussardi at tiscali.it
Mon Jun 15 14:23:16 UTC 2009


Hi All,

i need to print web page in background.

For now,  i open a popup window with popupAnchor.

At the top of this new window i put: 

        html anchor
                attributeAt: 'href' put : 'javascript: window.print()':
                with: 'Print'.

With this i open the Printer dialog.


It work fine but :

    1) i open new window

    2) the user need click on 'Print' anchor and after answer to Printer dialog

I can do this in background ?

With only one clic do all it?

Any pointers would be greatly appreciated!

Thanks!


    Dario

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090615/33164ce0/attachment.htm


More information about the seaside mailing list