*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> setnetlp (1m)              


 setnetlp(1M)                                                   setnetlp(1M)

 NAME    [Toc]    [Back]
      setnetlp - configure the LP spooling system for lpd or ftp network

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/setnetlp -p printer [options]
      /usr/sbin/setnetlp -x destination

 DESCRIPTION    [Toc]    [Back]
      setnetlp configures LP spooling systems to describe printers supported
      lpd protocol or accepted ftp output requesting, and those are
      connected with network by TCP/IP. It is used to add and remove
      destinations, change configuration of destination if the destination
      exists.  setnetlp is shell procedure, and invokes lpadmin(1M) command
      from the procedure.

      Exactly one of the -p, -x options or no options must be present for
      every legal invocation of setnetlp.

      If setnetlp is invoked with no option, it's executed interactively.

           -p printer     Names a printer to which all of the options below
                          refer.  If printer does not exist, it will be

           -x destination Removes destination destination from the LP
                          system. No other options are allowed with -x.

      The following options are only useful with -p and can appear in any

           -ftp           To accept ftp output requesting instead of lpd
                          protocol and this configure LP spooling system.
                          Or, by default, it would configure for lpd
                          protocol.  Some special interface files should be
                          available for this option to configure by this

           -orm machine   The name of the remote machine or IP address of
                          the network printer is machine.

           -orp printer   The name of the printer to use on the network
                          printer is printer.  This option is not allowed to
                          use with -ftp option.

           -om model      Selects a model interface program for printer.
                          model is one of the model interface names supplied
                          with the LP software ( see lpadmin(1M)  Models).

 Hewlett-Packard Company            - 1 -  HP-UX 11i Version 2.0 : Jul 2003

 setnetlp(1M)                                                   setnetlp(1M)

 EXAMPLES    [Toc]    [Back]
      Assuming a LIPS printer supported lpd protocol on a network as remote
      printer host name lphost and remote printer name lipslp the command:

           /usr/sbin/setnetlp -p netlp -orm lphost -orp lipslp -om LIPS3

      causes the spool system to use the local printer netlp and the local
      model file LIPS3.

      Assuming a LPS system contoroler supported ftp output requesting on a
      network as remote printer hostname lps1 the command:

           /usr/sbin/setnetlp -ftp -p ftpc -orm lps1 -om LPS

      causes the spool system to use the local printer ftpc and the local
      model file LPS

 WARNINGS    [Toc]    [Back]
      When installing printers on a diskless cluster, can not install from
      diskless server. setnetlp should be executed on each cluster machine
      to configure spooling system by setnetlp on cluster machine.

 FILES    [Toc]    [Back]

 SEE ALSO    [Toc]    [Back]

 Hewlett-Packard Company            - 2 -  HP-UX 11i Version 2.0 : Jul 2003
[ Back ]
 Similar pages
Name OS Title
preset IRIX reset the lp spooling system to a pristine state by deleting printers
lpadmin HP-UX configure the LP spooling system
lpadmin IRIX configure the LP spooling system
reinstallpr IRIX reinstall System V network printers
grolbp FreeBSD groff driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers).
rmprinter IRIX remove a printer from the System V spooling system
gpsinterface IRIX Generic PostScript model for System V spooling.
listPrinters IRIX get list of printers from a remote system
configNetIf IRIX configure the network interfaces
ifconfig Linux configure a network interface
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service