Hi... sorry to take so long to get back. The problem here is trying to make LPRng work with a whole slew of other misconfigured systems. The LPRng stuff follows the DNS standard of allowing you to SPECIFY anythiing in upper/lower case, but then converting them to a connonical lower case format.
This was done after a vast range of bitter experiences with other systems and users who did things like: lpr -PHP-printer1 (i.e. - Hp-printer1 or is it hp-printer1 ???) Patrick Powell Astart Technologies, [EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D, Network and System San Diego, CA 92123 Consulting 858-874-6543 FAX 858-279-8424 LPRng - Print Spooler (http://www.lprng.com) ---- Your original email ended up in my Spam Collection Sack, and this is not the best place for it. This could be due to that fact that you sent it directly to me, or you sent it to the LPRng mailing list and you were not subscribed to it. Or you might be trying to beat the list security and were sending to lprng-owner and expecting to spam the list :-) If you are subscribed to the mailing list, then you might have sent it from a site or address different than the one that you registered with. If the latter is the case and you want to post from this address then send me, Patrick Powell <[EMAIL PROTECTED]>, email describing the problem with: LPRNGMAIL in the SUBJECT line so my junk mail purging system will not toss it into the bit shredder (we shred our email for security reasons). In fact, if you have any problems with the list, send me email with LPRNGMAIL in the header. The best way to get answers is via the LPRng mailing list, which I peruse on a fairly frequent basis. To subscribe, send mail to: [EMAIL PROTECTED] with the single line: subscribe in the body. This reply is sent by a semiautomatic system, and the real person may be drinking coffee at the present time... so my apologies for the one-size-fits-all message. Patrick Powell Astart Technologies, [EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D, Network and System San Diego, CA 92123 Consulting 858-874-6543 FAX 858-279-8424 LPRng - Print Spooler (http://www.lprng.com) > From [EMAIL PROTECTED] Sun May 26 12:25:35 2002 > Date: 27 May 2002 00:40:02 +0530 > From: "Chittaranjan Mandal" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Bug: printer name transliteration to lower case > > --84553234-1804289383-1022440208=:13900 > Content-Type: TEXT/plain; charset=us-ascii > > Hi! > > I get this bug when I put the following line in /etc/lpd/conf to get the > printcap information via nis: > printcap_path=|/usr/lib/yp/match_printcap > > When I do lpq I get an error message indicating that the spool directory > is absent. > Then I noticed that the printer name was transliterated to all > lowercase (the printer name had one letter in uppercase). > The match_printcap is very likely not the culprit. > > Things seem to work when I use a printer names free of upper case letters. > Normal operation using /etc/printcap even with printer names containing upper > case letters seems to work fine. > > ---------------------- /usr/lib/yp/match_printcap ---------------------------- > #!/bin/sh > # > # Extracts printer information from the NIS printcap map, which must > # have been created with the create_printcap filter. > # > # Copyright (C) 1999 Massimo Dal Zotto <[EMAIL PROTECTED]> > # This file is distributed under the GNU General Public License version 2 > > delim="_" # delimiter used in nis map key > space="^B" # space replacement in nis map key > > case "$1" in > -a|-all|--all) > # Invoked interactively, dump the entire printer NIS map. > # This is different than matching the key "all". > ypcat printcap | sort | sed 's/.*^A[0-9]*|//' | uniq > exit 0 > ;; > -*|"") > # Called by lprng, read key from stdin > read key > ;; > *) > # Invoked interactively, used only for testing > key="$1" > ;; > esac > key="$(echo "$key" | sed "s/ /${space}/g")" > > n=1 > while ypmatch "${key}${delim}${n}" printcap 2>/dev/null; do > n=$[$n + 1] > done \ > | sed "s/^.*${delim}[0-9]*|//" > ------------------------------------------------------------------------------ > > Regards, > Chitta > -- > Chittaranjan Mandal (+91 3222 8 3498) > http://cse.iitkgp.dhs.org/~chitta/basic/ > (home page, vcard, pgp key, etc.) > > --84553234-1804289383-1022440208=:13900 > Content-Type: APPLICATION/pgp-signature > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQA88TMQF5T6Y/3oDx8RAun6AJ9jYqNGs0QdLkttBdWN9ke1WlhV5QCfSvnl > 3Zrpe/F080NyqD6PmFAo2iA= > =yY5Q > -----END PGP SIGNATURE----- > > --84553234-1804289383-1022440208=:13900-- > ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
