From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,2e4f8978dec982fb,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-11-22 00:58:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!uni-erlangen.de!news.imp.ch!news.imp.ch!news.magnet.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!eumel.hag.hilti.com From: "news.hilti.com" Newsgroups: comp.unix.tru64 Subject: add printers from commandline Date: Fri, 22 Nov 2002 09:58:09 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <3dddf1a0$1@eumel.hag.hilti.com> NNTP-Posting-Host: h2fw.hilti.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01C2920D.A97C21F0" X-Trace: rex.ip-plus.net 1037955477 15242 193.202.255.194 (22 Nov 2002 08:57:57 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Fri, 22 Nov 2002 08:57:57 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Original-NNTP-Posting-Host: 10.1.104.24 X-Original-Trace: 22 Nov 2002 09:58:08 +0200, 10.1.104.24 Xref: archiver1.google.com comp.unix.tru64:9149 This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C2920D.A97C21F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm trying to setup a bunch of printers on 5.1A boxes in a batch job. = Calling printconfig -ui cli prints a short help, but I can't find a real = helpfull document, which describes how to use it. Try & Error was not = successfull. Since printconfig's man page describes gui and menu, but not cli as = options for the -ui paraeter, cli might not be suporrtet any more at = all. Does anybody have a suggestion how to get this working?=20 Many Thanx S. # # printconfig -ui cli Usage: printconfig -Help -ui gui | cli | menu -host -type ASS | ASC | local | remote -delete -add -modify -attrib [] # printconfig -ui cli -type remote -add PRINTER -attrib rm HOST rp QUEUE /etc/printcap child process exited abnormally # ------=_NextPart_000_0008_01C2920D.A97C21F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm trying to setup a = bunch of=20 printers on 5.1A boxes in a batch job. Calling printconfig -ui cli = prints a=20 short help, but I can't find a real helpfull document, which describes = how to=20 use it. Try & Error was not successfull.
 
Since printconfig's man = page=20 describes gui and menu, but not cli as options for the -ui paraeter, cli = might=20 not be suporrtet any more at all.
 
Does anybody have a = suggestion how to=20 get this working?
 
Many Thanx
S.
 
 
<snip>
#
# printconfig -ui = cli
Usage:=20 printconfig
  -Help
 =20 -ui        gui | cli | menu
  = -host      <host id>
 =20 -type      ASS | ASC | local | remote
  = -delete    <queue>
 =20 -add       <queue>
 =20 -modify    <queue>
  = -attrib   =20 <attr value> [<attr value>]
# printconfig -ui cli -type = remote=20 -add PRINTER -attrib rm HOST rp = QUEUE
/etc/printcap
child=20 process exited abnormally
#
<snap>
------=_NextPart_000_0008_01C2920D.A97C21F0--