* add printers from commandline
@ 2002-11-22 8:58 news.hilti.com
2002-11-25 9:02 ` selc kar
0 siblings, 1 reply; 2+ messages in thread
From: news.hilti.com @ 2002-11-22 8:58 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
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?
Many Thanx
S.
<snip>
#
# printconfig -ui cli
Usage: printconfig
-Help
-ui gui | cli | menu
-host <host id>
-type ASS | ASC | local | remote
-delete <queue>
-add <queue>
-modify <queue>
-attrib <attr value> [<attr value>]
# printconfig -ui cli -type remote -add PRINTER -attrib rm HOST rp QUEUE
/etc/printcap
child process exited abnormally
#
<snap>
[-- Attachment #2: Type: text/html, Size: 2265 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: add printers from commandline
2002-11-22 8:58 add printers from commandline news.hilti.com
@ 2002-11-25 9:02 ` selc kar
0 siblings, 0 replies; 2+ messages in thread
From: selc kar @ 2002-11-25 9:02 UTC (permalink / raw)
There is a command line utility in Tru64Unix V5.1; lprsetup..
You can use it to make new printers with the Operating system
redirection property..
You can make a printer and save the screens with ;
lprsetup | tee MyBunchee
Study the MyBunchee file .. using only the printer properties info,
you have fed, you can make a file of printers..say MyPrinters
lprsetup < MyPrinters should give the required result..
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-25 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-22 8:58 add printers from commandline news.hilti.com
2002-11-25 9:02 ` selc kar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox