home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.apps
- Path: sparky!uunet!meaddata!johnm
- From: johnm@meaddata.com (John Manley)
- Subject: Re: Changing default options for ASCII filter under NeWSprint2.0 rev C
- References: <1992Aug13.205430.29954@meaddata.com>
- Sender: news@meaddata.com (Usenet Administrator)
- Organization: Mead Data Central, Dayton OH
- Date: Thu, 13 Aug 1992 22:11:46 GMT
- Message-ID: <1992Aug13.221146.1694@meaddata.com>
- Lines: 55
-
- Chalk one up for SUN support:
-
- > Hi John,
- >
- >
- > I wanted to let you know what I found out about your service order.
- > You have 2 choices:
- >
- > 1) You can create an alias for lpr that will incorporate the
- > pl command you would like to execute. For instance:
- >
- > add the following line to your users' .login file:
- >
- > alias lpr1 '<newsprint>/bin/pl \!* :postprint -r1'
- >
- > then the user will type:
- >
- > lpr1 /etc/printcap
- >
- > and the aliase will be executed and the file will be ran through pl.
- >
- > 2) Edit the "default" file in the <newsprint>/pl.sun{3,4}/C/ascii
- > directory to incorporate the pl command. The "defaults" file
- > in the ascii directory looks like:
- >
- > postprint.2ps
- >
- > simply change it to:
- >
- > postprint.2ps -r1
- > David G. Gant |
- > Sun Microsystems, Inc. |
- > North American Solution Center |
- > MS MTV7-04 |
- > 2550 Garcia Avenue |
- > Mountain View, Ca. 94043-1100 |
-
- In article <1992Aug13.205430.29954@meaddata.com>, johnm@meaddata.com (John Manley) writes:
- |> After converting some of our LaserWriters from Transcript to NP2.0, we
- |> discovered that ^M chars were handled differently. Using the command line:
- |> pl <ascii file> :postprint -r1
- |> ...we were able to revert back to the expected output. In order to make the
- |> conversion transparent to our users, I'd like to be able to change the
- |> default on the "server side" so the command line option isn't needed.
- |> I've tried several hacks to no avail...hardcoding the option in the "lpd_
- |> script"...adding the option to the .param file in the spool directory...etc...
- |>
- |> Any other suggestions would be appreciated!
- |>
- |> --
- --
- |John Manley | BEARS BULLS BLACKHAWKS | (513) 865-1152
- |Mead Data Central | IRISH BOILERS CHISOX | Engineering Productivity
- |P.O. Box 933 | | johnm@meaddata.com
- |Dayton, Ohio 45401 | Questions? | ...!uunet!meaddata!johnm
-