:

          (    System V)

     ,  ,    : cat file > /dev/lp.  
         .
       .

      .   
     _ -  .
     _   -              
   .
     _  -  ,       
  .

                 , 
  :

    lp -d _  file
        ,       "default" 
    cat file | lp

    lpstat               

    cancel [_ ...] [ ...]
                       

     lp        SPOOL .  
lpsched       ,      
   , ,   ,  
 ,         
,      _.



---------------------------------------------------------------
    lpshut    #     "" lpsched
    lpadmin -pLJ_printer -i/usr/lib/lp/model/lj_print -v/dev/lpt2
            
    lpadmin -pNash_Nowyj_Printer -mstandard -v/dev/contty
    enable  Nash_Nowyj_Printer
    accept  Nash_Nowyj_Printer
    lpsched   #      lpsched
---------------------------------------------------------------
  accept -        
  enable -      

    lpadmin
        -p__
        -v_
        -i_ -     ,
                                      
        -m_   -   ""    ,
                                    
                                /usr/lib/lp/model
        -o nobanner          -  user  lp -o nobanner
              (  banner   )
        -d printer           -    
        -?_     -     
        -?____
         (  ,   man)
        -s host!printer -  Solaris -   
                          #      /etc/lp/Systems
                      
    .    
 shell-,     
 .




lpadmin -pstar1 -i/udd/print/inter -v/dev/xpit0    #  
lpadmin -pstar1 -mdumb -v/dev/lpt1

    
(     Unix)
HP-UX:
    lpadmin -pLJ_printer  -?host -?printer
Solaris:
        /etc/lp/Systems  
    lpadmin -pLJ_printer  -s 'host!printer' ; accept LJ_printer

lpadmin -dstar1                          #    `

lpadmin -xstar1                          #   star1



/usr/lib/lp/model     #     ()

/etc/lp               #     LP

/var/spool/lp/*       #    

man lpadmin           #  !



LinuxPrinting.org Printer Database
http://linuxprinting.org/printer_list.cgi

Last-modified: Wed, 01 Dec 2004 14:04:06 GMT
: