[Sunhelp] printer class
Kalyandurga, Mohammed I
KALYANMI at mail.aramco.com.sa
Tue Jul 11 01:07:15 CDT 2000
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--Boundary_(ID_s+Ull92qpEulRad2cH6SEQ)
Content-type: text/plain; charset="iso-8859-1"
It seems that the printer setup might have gone wrong.. Check your printer
setup.. and follwing might help you..
A class is named group of printers created with the lpadmin command.
the advantage of class of printer is that once it is created, it allowes the
print service to print the job to available printer matching the requeted
job content type.
and one can also create a class of printers to ensure that thee printers are
accessed in the partucular order.
NOTE : the print service always checks for the pritner availabality using
the order in which the printers were added to class.
command lpadmin for creating class:
# lpadmin -p printer_name -c class_name
e.g: # lpadmin -p hp4 -c laser
# lpadmin -p hp4-1 -c laser
# lpadmin -p hp4-2 -c laser
command accept : # accept laser --- this command should follow the lpadmin
after the creation of class.where laser is is class created in last e.g:
Priting to a class of printers :
$ lp -d laser /export/home/ilyas/test.
-----Original Message-----
From: Karl Rossing [mailto:karl.rossing at federated.ca]
Sent: Tuesday, July 11, 2000 1:09 AM
To: sunhelp at sunhelp.org
Subject: [Sunhelp] printer class
Hi,
I have added 3 printers to the system using the admin tool. I would like
to setup a printer class (3 HP Laserjet 8100 running 10/100 jetdirect
cards).
>From the man pages/answerbooks, the order that you add a printer to a
class is the order of the print priority.
According to the answerbooks, to add a printer to a class you run:
lpadmin -p printer_1 -c classname
But... When i run the above command, i get:
#lpadmin -p printer_1 -c classname
UX:lpadmin: ERROR: Missing -U or -v option.
TO FIX: Local printers must have
a port defined (-v option) or
have dial-out instructions (-U option).
Can someone please point me in the proper direction?
--Boundary_(ID_s+Ull92qpEulRad2cH6SEQ)
Content-type: text/html; charset="iso-8859-1"
Content-transfer-encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>RE: [Sunhelp] printer class</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>It seems that the printer setup might have gone =
wrong.. Check your printer setup.. and follwing might help you..</FONT>
</P>
<P><FONT SIZE=3D2>A class is named group of printers created with the =
lpadmin command.</FONT>
</P>
<P><FONT SIZE=3D2>the advantage of class of printer is that once it is =
created, it allowes the print service to print the job to available =
printer matching the requeted job content type.</FONT></P>
<P><FONT SIZE=3D2>and one can also create a class of printers to ensure =
that thee printers are accessed in the partucular order.</FONT>
</P>
<P><FONT SIZE=3D2>NOTE : the print service always checks for the =
pritner availabality using the order in which the printers were added =
to class.</FONT></P>
<P><FONT SIZE=3D2>command lpadmin for creating class:</FONT>
<BR><FONT SIZE=3D2># lpadmin -p printer_name -c class_name</FONT>
<BR><FONT SIZE=3D2>e.g: # lpadmin -p hp4 -c =
laser</FONT>
<BR><FONT SIZE=3D2> # lpadmin =
-p hp4-1 -c laser</FONT>
<BR><FONT SIZE=3D2> # lpadmin =
-p hp4-2 -c laser</FONT>
</P>
<P><FONT SIZE=3D2>command accept : # accept laser --- this =
command should follow the lpadmin after the creation of class.where =
laser is is class created in last e.g:</FONT></P>
<P><FONT SIZE=3D2>Priting to a class of printers :</FONT>
<BR><FONT SIZE=3D2> $ lp -d =
laser /export/home/ilyas/test.</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Karl Rossing [<A =
HREF=3D"mailto:karl.rossing at federated.ca">mailto:karl.rossing at federated.=
ca</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, July 11, 2000 1:09 AM</FONT>
<BR><FONT SIZE=3D2>To: sunhelp at sunhelp.org</FONT>
<BR><FONT SIZE=3D2>Subject: [Sunhelp] printer class</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hi,</FONT>
</P>
<P><FONT SIZE=3D2>I have added 3 printers to the system using the admin =
tool. I would like</FONT>
<BR><FONT SIZE=3D2>to setup a printer class (3 HP Laserjet 8100 running =
10/100 jetdirect</FONT>
<BR><FONT SIZE=3D2>cards).</FONT>
</P>
<P><FONT SIZE=3D2>>From the man pages/answerbooks, the order that =
you add a printer to a</FONT>
<BR><FONT SIZE=3D2>class is the order of the print priority.</FONT>
</P>
<P><FONT SIZE=3D2>According to the answerbooks, to add a printer to a =
class you run:</FONT>
<BR><FONT SIZE=3D2>lpadmin -p printer_1 -c classname</FONT>
</P>
<P><FONT SIZE=3D2>But... When i run the above command, i get:</FONT>
<BR><FONT SIZE=3D2>#lpadmin -p printer_1 -c classname</FONT>
<BR><FONT SIZE=3D2>UX:lpadmin: ERROR: Missing -U or -v option.</FONT>
<BR><FONT =
SIZE=3D2> =
TO FIX: Local printers must have</FONT>
<BR><FONT =
SIZE=3D2> &nb=
sp; a port defined (-v =
option) or</FONT>
<BR><FONT =
SIZE=3D2> &nb=
sp; have dial-out =
instructions (-U option).</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Can someone please point me in the proper =
direction?</FONT>
</P>
</BODY>
</HTML>
--Boundary_(ID_s+Ull92qpEulRad2cH6SEQ)--
More information about the SunHELP
mailing list