10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All
I am working on Red Hat Enterprise Linux Server release 5.1 when I logged on to the shell and then write echo $SHELL it shows me the result /bin/bash
and when I write csh, the prompt changes and I feel that I am now working upon C shell but when I do echo $SHELL it shows me the... (9 Replies)
Discussion started by: adisky123
9 Replies
2. UNIX for Dummies Questions & Answers
Hi !
I am a newbie with Unix and I try to remove the "|" FS in this file:
1|2|3|4|5|6
to get:
123456
by using:
gawk 'BEGIN{FS=""} {gsub("|","",$0); print $0}' file
but nothing changes.
Or even when I try to change "|" by "%"with this command:
gawk 'BEGIN{FS=""} {gsub("|","%",$0)... (3 Replies)
Discussion started by: beca123456
3 Replies
3. Shell Programming and Scripting
I am working with an undocumented feature of a software product (BladeLogic). It is returning the below string in response to a query. It is enclosed with square brackets, "records" are separated with commas and "fields" separated with semicolons. My thought was that this might be some basic... (1 Reply)
Discussion started by: dshcs
1 Replies
4. UNIX for Advanced & Expert Users
Basically do you have any suggestions on how to advise syadmins to be more careful in accessing servers so that they would know at an instance that the server they logging in is production or not(perhaps naming convention etc, color terminal?
We have recent incident of wrong restoration to a... (2 Replies)
Discussion started by: lhareigh890
2 Replies
5. Solaris
Hardware:
HP P2000
HP DL380 G7 with Solaris
Software:
Solaris 10 05/08
I had made a Hardware raid on P2000 and install solaris on G7,
The raid card controller is working fine.
How can I make the raid works on OS??
"raidclt" is getting nothing :wall::wall:
Thanks (11 Replies)
Discussion started by: stanley1024
11 Replies
6. Slackware
Hello,
Ive got an HP LaserJet 2100 / parallel interface.
I had some troubles getting going due to non-working cups drivers. Updated cups and also used a .ppd.gz file from something HP provided. found the files here...
www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_2100
Anyways.... (1 Reply)
Discussion started by: agentrnge
1 Replies
7. UNIX for Dummies Questions & Answers
hi there,
i am attempting to recognize a network printer on my red hat box. i know the IP, i have procured the correct driver, however, CUPS (nor the add printer utility) doesn't recognize the driver nor the printer type. i am assuming this has to do with the location of the driver. can anyone... (8 Replies)
Discussion started by: vickenyon
8 Replies
8. UNIX for Dummies Questions & Answers
Hey Guys,
I am not really new to Unix/Linux however I was never taught how to spot a zombie process. I used top to check out the processes I was running and how the resources were looking and in the upper right it said 1 zombie, I have attached a jpeg of it. Thank you in advance for your... (4 Replies)
Discussion started by: pikecoguy
4 Replies
9. Solaris
Hi all,
I tried to add the new disk into veritas control.but the OS/veritas is not recognize the disk.so how i can know disk status or the disk added or not into veritas?please help me out step by step procedure.i would really thankful to all.
regards
Krishna (4 Replies)
Discussion started by: murthy76
4 Replies
10. Programming
hi all
How to recognize that the server is currently unavailable?
by programatically.give some example.
am using fedora5 AMD
cheers (2 Replies)
Discussion started by: munna_dude
2 Replies
FOOMATIC-CONFIGURE(1) General Commands Manual FOOMATIC-CONFIGURE(1)
NAME
foomatic-configure - the main configuration program of the foomatic printing system.
SYNOPSIS
foomatic-configure [OPTION]...
foomatic-configure -n queuename [ -N description ] [ -L location ] [ -c con-
nect ] [ -d driver ] [ -p printer ] [ --ppd ppdfile ] [ -s spooler ] [ -C [ sourcespooler ] source-
queue ] [ -o option1=value1 -o option2 ... ] [ -q ] foomatic-configure -D -n queuename [ -s spooler ] [ -q ]
foomatic-configure -R -n queuename [ -s spooler ] [ -q ]
foomatic-configure -Q [ -s spooler ] [ -n queuename ] [ -r ]
foomatic-configure -P [ -s spooler ] [ -n queuename ] [ -d driver ] [ -p printer ] [ --ppd ppdfile ] [ index ]
foomatic-configure -X -p printer | -d driver | -p printer -d driver
foomatic-configure -O
foomatic-configure -h
foomatic-configure --help
DESCRIPTION
foomatic-configure is a program to set up and configure print queues for every known spooler (CUPS, LPRng, LPD, GNUlpr, PPR, PDQ. CPS, no
spooler) and every valid printer/driver combo in the Foomatic database or every PPD file coming with PostScript printers. As RIP filter
(Raster Image Processor, translation from PostScript to the native language of the printer) always foomatic-rip(1) will be used, except for
PPD files of PostScript printers under CUPS or PPR, they will be used without RIP filter.
It also comprises half of a programatic API for user tools: you can learn and control everything about the static properties of print
queues here. With the sister program foomatic-printjob(1), you can do everything related to the print queue's dynamic state: submit jobs,
and query, cancel, reorder, and redirect them.
Options
-n queuename
Configure this print queue
-N Name/Description
Use this proper human-readable name/description
-L Location
Short phrase describing this printer's location
-c connection
Printer is connected thusly (ex file:/dev/lp0)
-d driver Foomatic database name for desired printer driver
-p printer
Foomatic id for printer
--ppd ppdfile
PPD file, for example the one supplied by the manufacturer of a PostScript printer
-s spooler
Explicit spooler type (cups, lpd, lprng, pdq, ppr, direct)
-o option=value
Set the default of option to value
-o option Turn on option by default
-D Set this queue as the default queue (just give -n queuename)
-R Remove this whole queue entirely (just give -n queuename)
-C [ sourcespooler ] sourcequeue
Copy sourcequeue from sourcespooler (or the current one if sourcespooler is not given) into the queue given by -n queuename (of
the current spooler).
-Q Query existing configuration (gives XML summary)
-r List also remotely defined queues (CUPS only)
-P [ index ]
Get Perl dump of current configuration (as a Perl array named QUEUES, the first index is index, or zero if index is not given)
-O Print XML Overview of all known printer/drivers (this shows also the Foomatic IDs of the printers)
-X Print XML data for -p printer and/or -d driver object
-q Run quietly
Commands
No commands, just options
SEE ALSO
foomatic-printjob(1), foomatic-rip(1)
EXIT STATUS
foomatic-configure returns 0 if no errors occurred.
AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using comments from the source.
BUGS
foomatic-configure currently cannot handle printcap files in the lprng style. As lprng can use BSD style printcaps this is not much of a
problem, as long as the GUI based print manager lprngtool is not used. The difference between those formats is, that BSD style requires
continuation lines in printer definitions to be ended with a colon and the newline character to be escaped with a backslash. Lprng has no
such restriction.
To use a printcap file generated or edited with lprngtool with foomatic-configure it is necessary to add : to the end of all but the last
line of every printer definition, just as shown below:
#comment
# primary printer name
lp
#alternate names
|lp2|lp3
|Example of a printer
:sd=/usr/spool/LPD/lp
:rw:lp=/dev/lp:mx#100
:
must be converted to:
#comment
# primary printer name
lp
|lp2|lp3
|Example of a printer
:sd=/usr/spool/LPD/lp:
:rw:lp=/dev/lp:mx#100:
This manpage may be out of date.
Foomatic Project 2002-01-06 FOOMATIC-CONFIGURE(1)