home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / hp / 14202 < prev    next >
Encoding:
Text File  |  1992-12-18  |  1.9 KB  |  51 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!uwm.edu!caen!sdd.hp.com!col.hp.com!fc.hp.com!lienhart
  3. From: lienhart@fc.hp.com (Bob Lienhart)
  4. Subject: Re: rlpdaemon
  5. Sender: news@fc.hp.com (news daemon)
  6. Message-ID: <BzF0qF.FMC@fc.hp.com>
  7. Date: Thu, 17 Dec 1992 18:01:27 GMT
  8. References: <1992Dec16.180907.15089@serval.net.wsu.edu>
  9. Organization: Hewlett-Packard Fort Collins Site
  10. X-Newsreader: TIN [version 1.1.4 PL6]
  11. Lines: 38
  12.  
  13. You cannot send the duplex option from a Berkeley-based spooler.
  14. The BSD spooler has no concept of "user defined/modified options".
  15. The BSD spooler only understands file types and there is no file
  16. type for formatted-ASCII-with-Duplex.
  17.  
  18. There are things that you can do which may or not be appropriate
  19. for your environment:
  20.  
  21.     You can set the printer to default to duplex operation by
  22.     modifying the interface script for that printer (/usr/spool/
  23.     lp/interface/<pritnername>).  The modification would be to 
  24.     change the initialization of duplex from "" to "yes":
  25.         duplex="" -> duplex="yes"
  26.  
  27. The problem with this is that there is no way to specify single-sided
  28. output to override the new default.  To overcome this:
  29.  
  30.     You can define a single-sided option, say -os or -osingle.
  31.     By editing the same interface script, and adding to the
  32.     option-parsing case statement the two lines marked with "**"
  33.     following the duplex option parsing:
  34.  
  35.         -d | d | -double | double)    # set up for automatic double sided copy
  36.                 duplex="yes";;
  37. **      -s | s | -single | single)    # set up for automatic single sided copy
  38. **              duplex="";;
  39.     (Do not include the "**")
  40.  
  41. There are two problems with this, 1) The Berkeley system will only be able
  42. to print double sided from now on and 2) HP-UX users will have to manually
  43. specify single-sided (-os) when they want single-sided output.
  44.  
  45. As you can tell from this you cannot really have it both ways.
  46.  
  47. I hope this helps,
  48.  
  49. Bob Lienhart
  50.  
  51.