printwithaxes function

Secondary printing function