lprsetup man page on DigitalUNIX

Printed from http://www.polarhome.com/service/man/?qf=lprsetup&af=0&tf=2&of=DigitalUNIX

lprsetup(8)							   lprsetup(8)

NAME
       lprsetup - printer set up program

SYNOPSIS
       /usr/sbin/lprsetup

DESCRIPTION
       The  lprsetup command provides an interactive facility for administrat‐
       ing the printers on your	 system.  This	utility	 is  the  command-line
       equivalent  of  printconfig, which is a graphical user interface avail‐
       able in X-windows or the Common Desktop	Environment  (CDE).   See  the
       printconfig(8) reference page for information on invoking the graphical
       user interface.	Note that when you invoke printconfig from the command
       line,  you  have	 options  to  run  the interface in different formats.
       Printer configuration can also be performed from the  SysMan  Menu  and
       SysMan Station interfaces.

       The  lprsetup program prompts you for the following information that is
       used to set up the printer for the Tru64 UNIX system: The name  of  the
       printer	The  printer  type  (recognized	 printer types are listed) The
       device pathname [lp] Printer synonyms (optional) The  file  to  capture
       print  job  accounting  data [af] (optional) The spooler directory [sd]
       The printer error log file [lf] The printer connection  type  [ct]  The
       printer	baud  rate  Other printcap symbols and their associated values
       that you want to change Comments (optional)

       The lprsetup program contains online help and default answers to	 ques‐
       tions about adding, deleting, or changing the characteristics of any of
       the line printers on your system. Whenever a  question  is  asked,  the
       default	selection  is  given  in brackets [ ].	You can press Enter in
       response to the question to accept the default, or enter	 an  alternate
       value for the given parameter.

       You  can	 obtain	 help information at any prompt by entering a question
       mark (?).  After the help information is displayed,  you	 are  prompted
       again.

       The  lprsetup  program uses the printer definition files (*.lpd) in the
       /usr/lbin/lprsetup directory to determine the list of supported	print‐
       ers. See lprsetup.dat(4) more information.

       The  program  knows about all the possible symbols in the /etc/printcap
       file. See printcap(4) for a current list.  After	 you  have  entered  a
       printer	specification,	and have verified that it is correct, lprsetup
       then creates the spooling directory, links the output filter, and  cre‐
       ates an /etc/printcap entry for the new printer.

       If  the	printer	 is  connected	to  your  system, you must specify the
       printer device name which is in the lp printcap entry.

       If lp is set to /dev/ttynn, choose the default setting dev when you see
       the following prompt:

       printer connection type 'ct'

       If you choose dev, you are prompted for the baud rate, br.  The default
       is the recommended baud rate for the selected printer.

       If lp is set to a parallel device, for example  /dev/lp0	 the  lprsetup
       program assumes that you are setting up a printer with a parallel port,
       for example, Digital_LG02. It does  not	prompt	you  for  device  type
       information,  and  serial  port	specific  entries are not put into the
       /etc/printcap entry.

       If the printer is remote, that is, if  it  is  connected	 to  a	remote
       machine,	 you  must set the line printer device to NULL (lp=:) and pro‐
       vide the following information items:  Printer  synonyms	 Name  of  the
       remote  machine	Name  of  the remote printer Spooling directory on the
       local machine

       If the printer is connected  to	a  LAT,	 you  must  specify  LAT  when
       prompted for the printer connection type.  It is important to enter LAT
       in all uppercase letters.  (The connection will	not  be	 made  if  you
       enter  lat for the printer connection type.) After you specify LAT, the
       system prompts you for the baud rate (br).  The default is  the	recom‐
       mended baud rate for the selected printer.

       If  the printer is connected by way of TCP/IP, you will need to specify
       the network address and port number for the device pathname. For	 exam‐
       ple, if the printer has the IP address of alfie.nic.ccc.com (or numeri‐
       cally 123.321.123.321) and uses port 9100, the device pathname would be
       @alfie.nic.ccc.com/9100 or, alternately, @123.321.123.321/9100.

   Configuring Advanced Printing Software
       When  lprsetup  is used under Advanced Printing Software, you must con‐
       figure an inbound gateway defining the rm and rp print symbols  in  the
       /etc/printcap file.

       To  use	this  option: After configuring the general print characteris‐
       tics, you will be prompted to Enter the printcap	 symbol	 you  wish  to
       modify...  Enter rm and then enter a new vaue of @dpa.  Confirm the new
       value.  Enter rp and provide a print queue name, such as “printer1”.

   Configuring Printing on Clusters
       All printers are shared in a cluster in that all print queues are visi‐
       ble and, thus, available for job submissions from all  cluster members.

       When lprsetup is invoked on a cluster, the value of the on print symbol
       depends on the connection type: Set the on value to  the	 name  of  the
       cluster	member to which the printer is connected.  Set the on value to
       the name of the cluster member on whose LAT the printer	is  connected.
       Set  the	 on  value  to	localhost so that any cluster member can run a
       print queue.

	      Alternatively, you can set the on value to a list	 of  specified
	      cluster members so that only these cluster members may run their
	      own print queues: The first cluster member in the list runs  the
	      print  queue;  if it goes down, the next cluster member runs the
	      print queue, and so on.  You can use this method to balance  the
	      print  queues  among  the	 cluster members or to isolate cluster
	      members from this activity.

       Refer to the printcap(4)	 reference  page  and  Cluster	Administration
       guide for more information.

SEE ALSO
       Commands:   latcp(8),   MAKEDEV(8),   printconfig(8),  sysman(8),  sys‐
       man_intro(8), sysman_station(8)

       Files: printcap(4), lprsetup.dat(4)

       Network Administration: Connections

       System Administration

       Cluster Administration

       Advanced Printing Software documentation

								   lprsetup(8)
[top]

List of man pages available for DigitalUNIX

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