| 
       
       
             | 
              | 
            
            
            
              
             
             
               
               
               
                  | 
                 
UGU: Unix Guru Universe - Unix Tip #4042- March  6, 2012
 -  Home : Help
 : Today's Tip
 Unix Tip #4042- March  6, 2012
 
PRINTING WITH NO SPACE  
  
Sometimes there isn't enough space  
in the spooling directory to print  
a large file. This isn't the case  
so much anymore since disk drives  
are so large now.  
  
If the file fills up the spooling  
directory use and you are using  
BSD "lpr" then you can pass it  
the -s option.  
  
This will create a symlink to the  
file instead of coping it.  
  
"lp" creates a symlink by default.  
You can use the -c options to  
force it to copy the file instead,  
if needed.  
  
Some flavors differ, check yours.  
 NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.
  
LAST 5 TIPS
 4041
 - To grab all hidden files 
 4040
 - SAVE A COPY
 4039
 - KEEPING PEOPLE OUT
 4038
 - STRING STRIPPING
 4037
 - TEXT FILE CASE REVERSAL
 
I want to 
 SUBSCRIBE
 and get a UGU Tip everyday. 
I want to 
 UNSUBSCRIBE
 and NOT get a UGU Tip everyday.
 
If you have a UNIX TIP let us know, we just may use it:
(All tips become the property of the Unix Guru Universe)
                 
                  | 
                
                
                | 
                
               
                 |   | 
                
               
                   Copyright 1994-2024 Unix Guru Universe    | 
                
                
                | 
              
              
              | 
              | 
            
            
           
             |