Article View: comp.std.unix
Article #955Re: IMPORTANT: POSIX threatens our use of l
From: Geoff Arnold Sun BOS - R.H. coas...
Date: Thu, 21 Jan 1993 18:31
Date: Thu, 21 Jan 1993 18:31
29 lines
2103 bytes
2103 bytes
Submitted-by: geoff@tyger.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) Actually, the biggest pain in the ass is not the printing commands, or even the administration model. It's the absence of a standard printing API. If you don't believe me, take a look at the sources for pcnfsd. To determine what printers are available, queue jobs, cancel jobs, list queues, etc. I have to spawn commands (making sure that I get the location right - is "lpc" in /usr/bin, /usr/etc, or /usr/ucb on this system?) and parse the output, hoping that the vendor hasn't tweaked the output format or localized things in some way. (Companies that are really good about preserving the syntax of commands seem to think nothing of changing error messages, etc.) It's been a while since I looked at the palladium doc (I've just pulled DEC-palladium-overview.ps over from gatekeeper.dec.com - it's in /.3/net/info/ietf/print-wg - and I'll read it over), but I don't recall there being any kind of API which would be suitable for cross-platform uses. Plus as Marcus said, it's still pretty vaporous.. Maybe we should just define a printing API. Nail down a really straightforward interface (just half a dozen calls or so), then divvy up the work to create a SunOS shared lib for Solaris 2.x, plus one for SunOS 4.1.x, a DLL for MS Windows, a static lib for BSD386/386bsd (and linux?), one for Ultrix etc. Thoughts? --- Geoff Arnold, PC-NFS architect, Sun Select. (geoff.arnold@East.Sun.COM) Volume-Number: Volume 30, Number 35
Technical Details
Message-ID:
<1jmq5oINNfna@ftp.UU.NET>Path:
arc1-ca.pugleaf.net!sparky!uunet!not-for-mailReferences:
<1993Jan21.100223.17722@onionsnatcorp.ox.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!not-for-mail From: geoff@tyger.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) Newsgroups: comp.std.unix Subject: Re: IMPORTANT: POSIX threatens our use of l Date: 21 Jan 1993 10:31:20 -0800 Organization: SunSelect Lines: 29 Sender: sef@ftp.UU.NET Approved: sef@ftp.uucp (Moderator, Sean Eric Fagan) Message-ID: <1jmq5oINNfna@ftp.UU.NET> References: <1993Jan21.100223.17722@onionsnatcorp.ox.ac.uk> Reply-To: geoff@tyger.East.Sun.COM NNTP-Posting-Host: ftp.uu.net X-Submissions: std-unix@uunet.uu.net