Print report

Hi,

I was wondering anybody knew how to print out a simple flat report of a
particular queue, including the history. Perhaps a simple sql query
into a file would work. Any help would be appreciated, otherwise, I
would have to go to each ticket, and hit the print button. Thanks in
advance!

Gary