Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

conv_lpd(1m) [sunos man page]

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 specifies the name of the input file, and can be either in printers.conf or printcap format. If file is in printers.conf format, it con- verts 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 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% conv_lpd /etc/printcap 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% conv_lpd -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% 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 |SUNWpcu | +-----------------------------+-----------------------------+ SEE ALSO
lpset(1M), printers.conf(4), attributes(5) SunOS 5.10 9 Sep 1996 conv_lpd(1M)

Check Out this Related Man Page

enable(1)							   User Commands							 enable(1)

NAME
enable, disable - enable/disable LP printers SYNOPSIS
/usr/bin/enable printer... /usr/bin/disable [-c | -W] [-r [reason]] printer... DESCRIPTION
The enable command activates printers, enabling them to print requests submitted by the lp command. enable must be run on the printer server. The disable command deactivates printers, disabling them from printing requests submitted by the lp command. By default, any requests that are currently printing on printer are reprinted in their entirety either on printer or another member of the same class of printers. The disable command must be run on the print server. Use lpstat -p to check the status of printers. Generally, enable and disable are run on the print server to control local print queues. Under some configurations, they can also be run on client systems when IPP is being used to communicate between client and server. OPTIONS
The following options are supported for use with disable: -c Cancels any requests that are currently printing on printer. This option cannot be used with the -W option. If the printer is remote, the -c option is silently ignored. -W Waits until the request currently being printed is finished before disabling printer. This option cannot be used with the -c option. If the printer is remote, the -W option is silently ignored. -r [reason] Assigns a reason for the disabling of the printer(s). This reason applies to all printers specified. This reason is reported by lpstat -p. Enclose reason in quotes if it contains blanks. The default reason is unknown reason for the existing printer, and "new printer" for a printer added to the system but not yet enabled. OPERANDS
The following operand is supported for both enable and disable: printer The name of the printer to be enabled or disabled. Specify printer using atomic or URI-style (scheme://endpoint) names. See printers.conf(4) regarding the naming conventions for destinations. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. FILES
/etc/printers.conf System printer configuration database $HOME/.printers User-configurable printer database ou=printers LDAP version of /etc/printers.conf printers.conf.byname NIS version of /etc/printers.conf printers.org_dir NIS+ version of /etc/printers.conf ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlp-cmds | +-----------------------------+-----------------------------+ |Interface Stability |Obsolete | +-----------------------------+-----------------------------+ |CSI |Enabled | +-----------------------------+-----------------------------+ SEE ALSO
lp(1), lpstat(1), printers.conf(4), attributes(5) NOTES
When IPP is in use, the user is prompted for a passphsrase if the remote print service is configured to require authentication. SunOS 5.11 5 Jun 2006 enable(1)
Man Page