MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


System Administration Commands                       convlpd(1M)



NAME
     convlpd - convert LPD configuration

SYNOPSIS
     convlpd [-c printers  -c printcap] [-n] file


DESCRIPTION
     convlpd converts   LPD  printer  configuration  information
     from   file  to  a  printers.conf  or  a  printcap file (see
     printers.conf(4)). file specifies  the  name  of  the  input
     file,  and  can be either in printers.conf or  printcap for-
     mat. If  file is in  printers.conf format, it converts it to
     a  printcap  file.  If  file is in  printcap format, it con-
     verts it to a printers.conf file.

OPTIONS
     The following options are supported:

     -c printers  -c printcap    Specifies the  type  of  output
                                  file  produced  by  the conver-
                                  sion. -c printers converts to a
                                  printers.conf     file.      -c
                                  printcap converts to a printcap
                                  file.   -c   printers   is  the
                                  default.


     -n                           Preserves the  namelist  during
                                  the conversion.


OPERANDS
     The following operands are supported:

     file    The file to be converted.


EXAMPLES
     Example 1 Converting a printcap  file  to  a   printers.conf
     file.


     The  following  example  converts  a   printcap  file  to  a
     printers.conf file.


       example% convlpd /etc/printcap







SunOS 5.11           Last change: 9 Sep 1996                    1






System Administration Commands                       convlpd(1M)



     Example 2 Converting a  printcap  file  to  a  printers.conf
     file and preserving the namelist.


     The  following  example  converts  a   printcap  file  to  a
     printers.conf file and preserves the namelist.


       example% convlpd -c printers -n /etc/printcap



     Example 3 Converting a  printers.conf file  to  a   printcap
     file and preserving the namelist.


     The following example converts a  printers.conf  file  to  a
     printcap file and preserves the namelist.


       example% convlpd -c printcap -n /etc/printers.conf



EXIT STATUS
     The following exit values are returned:

     0           Successful completion.


     non-zero    An error occurred.


FILES
     /etc/printers.conf    System printer configuration database.


     /etc/printcap         SunOS 4.x printer capability database.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:












SunOS 5.11           Last change: 9 Sep 1996                    2






System Administration Commands                       convlpd(1M)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWpcu                     
    


SEE ALSO
     lpset(1M), printers.conf(4), attributes(5)














































SunOS 5.11           Last change: 9 Sep 1996                    3



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™