On a tip-off, the police intercepted two men riding a motorcycle, who then fired at the police personnel, Jalandhar range DIG Jaskaran Singh said.
The police personnel fired four rounds in retaliation and nabbed both the accused after a chase, he said.
During interrogation, the accused, Harpreet Singh and Gurdev Singh, confessed to have stolen four trucks from Raya in Amritsar, and one motorcycle from Fattudhinga village in Kapurthala, the DIG said.