[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 4

rmprtsv Command

Purpose

Unconfigures a print service on a client or server machine.

Syntax

rmprtsv { -c | -s } [ -T | -U | -A ] [ -h "HostName ..." | -H FileName ] [ -q "QEntry ..." ] [ -q QEntry -v "DeviceName ..." ]

Description

The rmprtsv high-level command unconfigures a print service on a client or server machine.

To unconfigure print service for a client, the rmprtsv command calls the rmque and rmquedev commands to disable the client spool queue and to remove the appropriate entries in the /etc/qconfig file.

To unconfigure print service for a server, the rmprtsv command performs the following procedure:

  1. Calls the stopsrc command to deactivate the lpd and qdaemon servers.
  2. Calls the ruser low-level command to unconfigure remote users on the print server.
  3. Calls the rmque and rmquedev commands to unconfigure the spooler and its device queues, and delete the appropriate entries in the server's /usr/lib/lpd/qconfig file.

Flags

-A Removes specified entries from the /etc/qconfig file but does not fully unconfigure print service.
-c Unconfigures print service for a client machine. Use the -q flag with the -c flag.
-H FileName Specifies the name of a file containing a list of host names to be left configured for print service.
-h "HostName..." Specifies a list of remote host names not allowed to use the print server. Note that the queuing system does not support multibyte host names.
-q "QEntry..." Specifies a list of entries to remove from the /etc/qconfig file.
-s Unconfigures print service for a server machine. The -h, -H, and -q flags should be used with the -s flag.
-T Stops print service but does not fully unconfigure print service.
-U Removes specified remote users on the print server but does not fully unconfigure print service.
-v "DeviceName..." Specifies a list of the names of the device stanzas in the qconfig file. Must be used with the -q QEntry flag.

Files

/etc/qconfig Contains configuration information for the printer queueing system.

Related Information

The rmque command, rmquedev command, ruser command.

The lpd daemon, qdaemon daemon.

The SMIT Interface for TCP/IP in AIX 5L Version 5.2 System Management Guide: Communications and Networks.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]