Tuesday, June 17, 2008

print

This is a moderately intelligent print command.
   % print foo
% print notes.ps
% print manuscript.dvi

In each case print does the right thing, regardless of whether the file is a text file (like foo ), a postcript file (like notes.ps, or a dvi file (like manuscript.dvi. In these examples the file is printed on the default printer. To see what this is, do

   % print 
and read the message displayed. To print on a specific printer, do this:
   % print foo jwb321
% print notes.ps jwb321
% print manuscript.dvi jwb321
To change the default printer, do this:
   % setenv PRINTER jwb321 

No comments: