Pls help me : Is there a code for printing and export profile fields

for example in page i am listing profile fields or metadata like this

name address location city

------------------------

-----------------

for all the members registered in my site .....

i got two buttons . one is for printing and another one for exporting into pdf

i need to print and export the field which i listed using elgg_get_entities_from_metadata

can u give me some suggestion so tat i can implement that in my project

 

 

thanks

sathish kumar