[26108] in Source-Commits
Re: /svn/athena r25392 - trunk/debathena/config/cupsys-config/debian
daemon@ATHENA.MIT.EDU (Jonathan Reed)
Sat Sep 3 17:54:42 2011
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <alpine.GSO.1.10.1109031541190.1411@multics.mit.edu>
Date: Sat, 3 Sep 2011 17:54:34 -0400
Cc: source-commits@MIT.EDU
Message-Id: <458DC96E-E58A-4E2D-8DE6-1A169D07C49B@MIT.EDU>
To: Benjamin Kaduk <kaduk@MIT.EDU>
Content-Transfer-Encoding: 8bit
>
> My lpadmin(8) has the more-pleasing-on-the-grammar "printer-is-shared" with final 'd'. (Also again for
> color, below.)
Hrm. The one I passed seems to work. I'm happy to change it if we're sure that the "shared" one works in all relevant versions.
>
>> + -m drv:///hpijs.drv/hp-laserjet_9050-hpijs-pcl3.ppd
>> + if [ $? != 0 ]; then
>
> I assume you checked that lpadmin does not also always return zero?
Yes, it returns non-zero if the ppd can't be found. That's about it though, it doesn't really care whether URIs are valid or not.
-Jon