add the printer helper and console doc