I make the interface between barcode reader and PIC16f877A successfully after many problems face me, yes it's working fine now.

thanks for all who help me