pro printing, on=on, off=off
;
;+
;   Name: printing
;
;   Purpose: toggle state of ys_noprint environmental/logical
;
;   History: 
;      7-Nov-1993 (SLF)
;
;   Calling Sequence
;      printing, /off	
;      printing [,/on] 	(default)
;-
case 1 of 
   keyword_set(off): begin
      set_logenv,'ys_noprint','1',/quiet
      message,/info,'Printing is disabled'
   endcase
   else: begin
      set_logenv,'ys_noprint','',/quiet
      message,/info,'Printing is enabled'
   endcase
endcase
return

end
 
