02-20-2019
Quote:
Originally Posted by
RudiC
... I don't have your printer.conf around for testing.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm in need of finding out on how to mount and dismount printers.
Thx,
shawnnee (1 Reply)
Discussion started by: shawnnee
1 Replies
2. Linux
I want to print some thing in HP Deskjet 692.? (1 Reply)
Discussion started by: edvaldo
1 Replies
3. Solaris
Hi All,
I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies
4. AIX
Hello
Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running.
I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies
5. Shell Programming and Scripting
Hello,
I'm rather new to the world of regular expressions and sed, though am excited by its possibilities. I have a particular task I'd like to achieve, and have googled the topic quite a bit. However, having found some codes that perform a task very similar to what I'd like to do, I can't for... (2 Replies)
Discussion started by: redseventyseven
2 Replies
6. Linux
Hi,
Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ?
Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies
7. Shell Programming and Scripting
I want to match the number exactly from the variable which has multiple numbers seperated by pipe symbol similar to search in egrep.below is the code which i tried
#!/usr/bin/perl
my $searchnum = $ARGV;
my $num = "148|1|0|256";
print $num;
if ($searchnum =~ /$num/)
{
print "found";
}... (2 Replies)
Discussion started by: kar_333
2 Replies
8. Shell Programming and Scripting
Hi,
I have file in my $datadir as below :-
SAT_1.txt
SAT_2.txt
BAT_UD.lst
BAT_DD1.lst
DUTT_1.txt
DUTT_la.txt
Expected result :-
should get all the above file in $<Filename>_file.lst
Below is my code :-
for i in SAT BAT DUTT
do
touch a.lst
cd $datadir (1 Reply)
Discussion started by: satishmallidi
1 Replies
LEARN ABOUT PHP
classes.conf
classes.conf(5) Apple Inc. classes.conf(5)
NAME
classes.conf - class configuration file for cups
DESCRIPTION
The classes.conf file defines the local printer classes that are available. It is normally located in the /etc/cups directory and is gener-
ated automatically by the cupsd(8) program when printer classes are added or deleted.
Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character.
DIRECTIVES
<Class name> ... </Class>
Defines a specific printer class.
<DefaultClass name> ... </Class>
Defines a default printer class.
Accepting Yes
Accepting No
Specifies whether the printer is accepting new jobs.
AllowUser [ user @group ... ]
Allows specific users and groups to print to the printer.
DenyUser [ user @group ... ]
Prevents specific users and groups from printing to the printer.
Info text
Specifies human-readable text describing the printer.
JobSheets banner banner
Specifies the banner pages to use for the printer.
KLimit number
Specifies the job-k-limit value for the printer.
Location text
Specifies human-readable text describing the location of the printer.
OpPolicy name
Specifies the operation policy for the printer.
PageLimit number
Specifies the job-page-limit value for the printer.
Printer
Specifies a printer that is a member of the printer class.
QuotaPeriod seconds
Specifies the job-quota-period value for the printer.
Shared Yes
Shared No
Specifies whether the printer is shared.
State idle
State stopped
Specifies the initial state of the printer (Idle or Stopped)
StateMessage text
Specifies the message associated with the state.
StateTime seconds
Specifies the date/time associated with the state.
SEE ALSO
cupsd(8), cupsd.conf(5), mime.convs(5), mime.types(5), printers.conf(5),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2011 by Apple Inc.
29 April 2009 CUPS classes.conf(5)