[prev in list] [next in list] [prev in thread] [next in thread]
List: lprng
Subject: Re: [LPRng] oh flag
From: papowell () astart ! com
Date: 1998-10-30 0:33:45
[Download RAW message or body]
> From majordomo-owner@iona.com Thu Oct 29 15:14:51 1998
> Date: Thu, 29 Oct 1998 17:55:44 -0500 (EST)
> From: Don Badrak <dbadrak@Census.GOV>
> To: lprng@iona.com
> Subject: [LPRng] oh flag
>
> LPRng group,
>
> (I see by the influx of mail that Patrick is back. Welcome home, hope
> you're all relaxed and stuff).
>
> I am killing myself over this. I cannot seem to get a syntax that works.
> I have LPRng 3.5.2 on a handful of different platforms (IRIX 6.2, 6.4,
> 6.5, Solaris 2.5.1, RH Linux 5.1, etc.).
>
> I want to keep one set of printcap files for all my hosts (about 400 or
> so). At one location, I have hostnames of the following format:
>
> ddsgNN
> alsgNN
> powN
>
> My printers are all HP JetDirect connected (using lp=printer%9100). I
> want from the sites above to print locally from the printer, but for all
> other sies spool to ddsg01 first.
>
> So, like this:
>
> 1. from gesgNN: "lpr -Pdpd_printer" sends to dpd_printer@ddsg01
>
> 2. from ddsgNN: "lpr -Pdpd_printer" spools locally and delivers direct to
> the printer.
>
> 3. from alsgNN: same as #2
>
> 4. from powN: same as #2
>
> 5. from joehost: same as #1
>
> I've tried:
>
> dpd_printer
> :lp=%P%ddsg01
> dpd_printer
> :lp=printer%9100
> :server
> :oh=ddsg*,alsg*,pow*
It looks like the 'oh' code is at fault
Could you please do the following:
1. got to one on of the ddsg* hosts
2. run:
lpq -Ddatabase+3 2>1 1>/tmp/log
3. Look in the log file for 'Combine_options'
lines. You will see what it finds, and the FQDN hostname as well
4. See if the match works.
>
> but it's not recognizing the multiple hosts on the "oh" flag.
>
> Any suggestions?
>
> Thanks.
>
> Don
> ---
> Don Badrak <dbadrak@census.gov> 301.457.1125 work MWThF
> Geography Division 301.457.2157 work Tu
> U.S. Bureau of the Census 301.457.4710 fax
> Upper Marlboro MD, USA
>
>
>
>
Hope the above helps
Patrick Powell Astart Technologies,
papowell@astart.com 9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
Consulting 619-874-6543 FAX 619-279-8424
LPRng - Print Spooler (http://www.astart.com)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic