conv_lpd man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

conv_lpd(1M)		System Administration Commands		  conv_lpd(1M)

NAME
       conv_lpd - convert LPD configuration

SYNOPSIS
       conv_lpd [-c printers | -c printcap] [-n] file

DESCRIPTION
       conv_lpd	 converts  LPD printer configuration information from  file to
       a printers.conf or a  printcap file (see printers.conf(4)). file speci‐
       fies  the name of the input file, and can be either in printers.conf or
       printcap format. If  file is in	printers.conf format, it  converts  it
       to  a printcap file. If	file is in  printcap format, it converts 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 conversion. -c printers converts to
				    a printers.conf file.   -c	printcap  con‐
				    verts  to  a printcap file. -c printers is
				    the default.

       -n			    Preserves the namelist during the  conver‐
				    sion.

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% conv_lpd /etc/printcap

       Example 2 Converting a  printcap file to a printers.conf file and  pre‐
       serving the namelist.

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

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

       Example 3 Converting a  printers.conf file to a	printcap file and pre‐
       serving the namelist.

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

	 example% conv_lpd -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.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬───────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	     ATTRIBUTE VALUE	     │
       ├─────────────────────────────┼───────────────────────────────┤
       │Availability		     │print/lp/print-client-commands │
       └─────────────────────────────┴───────────────────────────────┘

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

SunOS 5.11			  9 Sep 1996			  conv_lpd(1M)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net