home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / apps / 1612 < prev    next >
Encoding:
Text File  |  1992-08-13  |  2.3 KB  |  67 lines

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