Did Anakin ever use a blaster rifle or a pistol in the Star Wars Universe? If so, then what timeline in the Prequel Trilogy? Answers can be taken from the movies, novels, TV series (Clone Wars), etc..
In the lost episode of Star Wars: The Clone Wars - In Search of the Crystal (incomplete, but considered fully canon) Anakin demonstrates his capacity and competence with a blaster.
You can view the full sequence here