Order Printer lines duplication

When I add or remove a product from a order through the admin side, final order invoice pdf showing many duplications. how to rid off these duplication?. can anyone can fix the code?.