home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / std / unix / 525 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.0 KB

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