Save histograme as asci?

Hello,
how is it possible to save/print histograme as asci file? Unfortunetly no information is avaible in User Guide. I need to save one-dim. histograme in form of two columns.

Use TH1::Print

TH1* h
h->Print(“all”)

Rene