unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 setnetlp(1M)							setnetlp(1M)




 NAME
      setnetlp - configure the LP spooling system for lpd or ftp network
      printers

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

 DESCRIPTION
      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.
      For datails of setnetlp interactive operations, refer to the online
      manuals (SETNETLP_Guide-*).

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

	   -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
      order.

	   -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
			  option.

	   -orm machine	  The name of the remote machine or IP address of
			  the network printer is machine.  This option is
			  not allowed to use with -ftp option.

	   -orp printer	  The name of the printer to use on the network
			  printer is printer.

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



 Hewlett-Packard Company	    - 1 -		HP-UX 11i : Oct 2000






 setnetlp(1M)							setnetlp(1M)




 EXAMPLES
      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 and remote printer name sysp
      the command:

	   /usr/sbin/setnetlp -p ftpc -ftp lps1 -orp sysp -om LPS

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

 WARNINGS
      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
      /var/spool/lp/*
      /usr/lib/lp/*
      /usr/newconfig/RelNotes/SETNETLP_Guide-*

 SEE ALSO
      lpadmin(1M)
























 Hewlett-Packard Company	    - 2 -		HP-UX 11i : Oct 2000