You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by V SANTOSH PAVAN RAJU Bs <pa...@gmail.com> on 2013/03/18 13:19:58 UTC

How to do print mechanism in pivot

Hi,
Can we take a print out of window/frame/dialog contents in Pivot?

-- 
Thanks & Regards
B.S.V.S.Pavan Raju.
Skype: skype_pavan1
Hyderabad.

Re: How to do print mechanism in pivot

Posted by Sandro Martini <sa...@gmail.com>.
Hi,
Pivot uses standard Java2D / AWT Printing features.

So you should printing using Java's Printable interface ... I have to
check if there is another method but at the moment I think this should
be enough.
Under tests there is a minimal sample: print_dialog_test.bxml

You should find some info in the following issues (all
printing-related, closed time ago):
https://issues.apache.org/jira/browse/PIVOT-815

https://issues.apache.org/jira/browse/PIVOT-805
https://issues.apache.org/jira/browse/PIVOT-511

and related test sources (as always under tests) ... there should be something.


Be free to post some minimal test application, comments, and maybe
even a jira improvement for a seimpler approach to Printing.


Hope this helps,
Sandro