Hey everyone,

I'm working in a Solaris environment and I'm trying to do the same
thing that Gretchen is attempting: an enterprise-wide print service
with a central LPRng server.  I also wanted to use a simple printcap
for all clients that forwards all print jobs to the print server via a
single wildcard entry.  In LPRng version 3.8.2 and earlier, this
works great - clients would simply send the job to the server every
time.  If the printer existed, it printed successfully; if the printer
did not exist, it sent an error message back to the client (this is
what I wanted).  Another reason I liked this approach is that it
worked with lpstat -d, so I could also set a default printer for each
system in /etc/lpd.conf.

The problem is that this stopped working in versions 3.8.3 and later
(including the latest 3.8.6).  It simply does not want to resolve the
wildcard.  If I specify the printer on the command line (lp -d...), it
works, but I would prefer to avoid this approach rather than educate
all my users to do it this way.  I tried Mohamed's suggestion but
unfortunately it did not work; instead, it just tried to print to a
printer named "lp", which of course failed.

If someone has any advice, that would be great.  Otherwise, I'll just
stick with version 3.8.2 for now.

Thanks in advance,
Kevin

--- In [EMAIL PROTECTED], "Osman, Mohamed" <[EMAIL PROTECTED]> wrote:
> I had posted similar question few months ago, here's
> how my /etc/printcap is setup on the clients:
>
>
> lp|*:\
> :sd=/var/spool/lpd/printers:\
> :mx#0:\
> :sh:\
> :lp=%Q@server1,server2:force_localhost@
>
>
> As you can see it no printer is defined on the clients.
> Hope this helps you.
>
>
>
>
>
>
>
> --Mohamed
>
>
>
>
> -----Original Message-----
> From: Gretchen K. Wagner [mailto:gkwagner@b...]
> Sent: Thursday, February 07, 2002 10:17 AM
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: wildcard?
>
>
> On Wed, 6 Feb 2002, Joel Hammer wrote:
>
> > This comes from the LPRng howto.
>
> I've read through it many a time, but I can't claim to understand it
fully,
> hence my posting :)
>
> > lp|*:cm=Wildcard Alias - %P=lp, %Q=wanted
> >    :[EMAIL PROTECTED]
> > *:cm=Wildcard Name- %P=wanted, %Q=wanted
> >    :[EMAIL PROTECTED]
>
> I've tried variations on the above, only to receive the error
"printer '*'
> has
> illegal char at '*' in name".
>
> I'm attempting to build an enterprise-wide print service around a
central
> LPRng server without redistributing or modifying (scripted or
manually) the
> printcap on all of the client machines every time a new printer is
added (as
> is the current setup). I'd thought the wildcard entry (on clients)
would do
> the trick, but I may be going about it the wrong way.
>
> I could instruct all client users to print "lpr
-Pprintername@printserver"
> if
> all else fails, but I'd prefer something far more transparent to the
end
> user.
> Any options?
>
> --
> Gretchen K. Wagner
> [EMAIL PROTECTED]



-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to