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