home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sdd.hp.com!nobody
- From: allyn@sdd.hp.com (Allyn Fratkin)
- Newsgroups: comp.sys.hp
- Subject: Re: Problem with hp laser II
- Date: 16 Dec 1992 10:18:46 -0800
- Organization: Hewlett Packard, San Diego Division
- Lines: 27
- Message-ID: <1gnru6INN4rp@hpsdlx.sdd.hp.com>
- References: <6854@tivoli.UUCP> <17491@umd5.umd.edu> <6954@tivoli.UUCP>
- NNTP-Posting-Host: hpsdlx.sdd.hp.com
-
- In article <6954@tivoli.UUCP>, stuart@TIVOLI.COM (Stuart Jarriel) writes:
- > Well, that would be true if a single process was sending data to the printer.
- > But SYSV print spooling is a conglomeration of shell scripts, with a cat
- > somewhere in the middle. If a program were responsible to get the file,
- > set up the printer and send the data, the close() would work. But if
- > you have a script that:
- >
- > echo "some control char's to setup the printer"
- > cat file
- > echo "some more control char's"
- >
- > It's hard not to get the 300baud spikes.
-
- except for the fact that there is only one model shell script called
- for each printer (in /usr/spool/lp/interface/<printername>), and it
- is called with the printer device file opened as stdout, so what you're
- suggesting as a problem doesn't exist.
-
- there is no "last close" anytime within the model script. the script
- can set the baud rate to whatever it wants without fear that it will
- change during its' execution.
-
- not an official response.
- --
- From the virtual mind of Allyn Fratkin allyn@sdd.hp.com
- San Diego Division - or -
- Hewlett-Packard Company uunet!ucsd!hp-sdd!allyn
-