A man accused of firing two shots towards someone in a suburban Kalgoorlie-Boulder area has pleaded not guilty to the charges.