%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Function COLOR PRINT:  (printer should be coloryip)        %
% it will parse the multiple destination and send to print   %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ss=input('Print on: ','s');
if isstr(ss)
 string_size = size(ss);
 string_length = string_size(1,2);
 while (string_length ~= 0)
  blank_position = findstr(ss,' ');
  tmp = size(blank_position);
  if tmp(1,1)~=0
   command = ss(1:blank_position-1);
   ss = ss(blank_position+1:string_length);
   string_length = string_length-blank_position;
  else
   command = ss(1:string_length);
   string_length = 0;
  end;
  command = ['print -dpsc ' command ';' ]
  eval (command);  
 end; 
end;
