Add Custom print button in a table

Hi ,
I have a doctype Dispatch , and a child table Dispatch items.
i need to add a print button to dispatch item so that i can print each dispatch item by row from dispatch item table . how do i achieve it.

try adding a field with type Button

Did that already. The button just dont work on it own.