1. Upon the arraignment of a defendant whose court attendance has been secured by the issuance and service of a summons, based upon an indictment, a prosecutor's information or upon an information, felony complaint or misdemeanor complaint filed by a complainant who is a police officer, the court must, if an offense charged in the accusatory instrument is one specified in subdivision one of section 160.10, direct that the defendant be fingerprinted by the appropriate police officer or agency, and that he or she appear at an appropriate designated time and place for such purpose.
2. Upon the arraignment of a defendant whose court attendance has been secured by the issuance and service of a summons based upon an information or misdemeanor complaint filed by a complainant who is not a police officer, and who has not previously been fingerprinted, the court may, if it finds reasonable cause to believe that the defendant has committed an offense specified in subdivision one of section 160.10, direct that the defendant be fingerprinted by the appropriate police officer or agency and that he appear at an appropriate designated time and place for such purpose. A defendant whose court appearance has been secured by the issuance and service of a criminal summons based upon a misdemeanor complaint or information filed by a complainant who is not a police officer, must be directed by the court, upon conviction of the defendant, to be fingerprinted by the appropriate police officer or agency and the court must also direct that the defendant appear at an appropriate designated time and place for such purpose, if the defendant is convicted of any offense specified in subdivision one of section 160.10.