home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vms / 18306 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  2.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Need help with printer output format
  5. Date: 21 Nov 1992 19:10:48 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 42
  8. Distribution: world
  9. Message-ID: <1em1joINNq0o@gap.caltech.edu>
  10. References: <1992Nov21.072150.23164@news.uiowa.edu>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <1992Nov21.072150.23164@news.uiowa.edu>, rajar@herky.cs.uiowa.edu
  15. (Chandrashekar Rajaraman) writes:
  16. =I have a HP Laserjet on which I print from a
  17. =DEC Microvax II running VAX/VMS 5.5, which until
  18. =a few weeks ago ran under 4.6. I have
  19. =a program to print text files with upto 96 char/line.
  20. =It used to print in the required format when it
  21. =ran under 4.6, but under 5.5 it
  22. =prints only 80 char/line and the remaining characters
  23. =spill over to the next line in an unsightly manner.
  24. =
  25. =Apparently, the system adds a CR/LF after 80 char which
  26. =I want to prevent. My program "writes" a CR after 96 char.
  27. =It is written in FORTRAN, so I think a LF is
  28. =added by its "WRITE" function.
  29. =
  30. =I have looked at the documentation for the terminal
  31. =driver, and found that the set mode functions namely
  32. =set mode and set characteristics can be passed "P4"
  33. =which can probably be set appropriately.
  34. =
  35. =Can someone tell me whether there is a simpler way
  36. =to do what I want, or even if I am on the right track ?
  37. =
  38. =You can imagine that I would like to solve this problem
  39. =quickly since over three people depend on this
  40. =printer.
  41.  
  42. Yet another question with insufficient data for an answer.  Are you outputting
  43. directly to the terminal, or are you submitting the file to a print queue?  If
  44. the former, simply set the output terminal /NOWRAP/PERMANENT.  If the latter,
  45. set the  width of the printer to something larger than 96 and make sure that
  46. the form with which you're printing is defined with the attrbutes
  47. /NOTRUNCATE/NOWRAP.
  48. --------------------------------------------------------------------------------
  49. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  50.  
  51. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  52. understanding of astronomy is purely at the amateur level (or below).  So
  53. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  54. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  55. hold me responsible for it, but my organization had nothing to do with it.
  56.