add basic receipt printer code