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:[EMAIL PROTECTED]] 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. ---------------------------------------------------------------------------- - ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
