1. Goto System Preferences -> Print & Scan

2. Select your printer and choose properties

3. In the properties dialog box, Choose "Job Accounting"

4. In the Job Accounting Section, Check the box "Job Accounting", and enter the account ID into the Provided Field:

5. Choose OK at the bottom to save the settings.