home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vms / 18295 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.5 KB  |  46 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!news.uiowa.edu!herky.cs.uiowa.edu!rajar
  3. From: rajar@herky.cs.uiowa.edu (Chandrashekar Rajaraman)
  4. Subject: Need help with printer output format
  5. Message-ID: <1992Nov21.072150.23164@news.uiowa.edu>
  6. Sender: news@news.uiowa.edu (News)
  7. Date: Sat, 21 Nov 1992 07:21:50 GMT
  8. Reply-To: rajar@herky.cs.uiowa.edu (Chandrashekar Rajaraman)
  9. Nntp-Posting-Host: herky.cs.uiowa.edu
  10. Organization: U of Iowa, Iowa City, IA
  11. Lines: 33
  12.  
  13. Hi,
  14.  
  15. I have a HP Laserjet on which I print from a
  16. DEC Microvax II running VAX/VMS 5.5, which until
  17. a few weeks ago ran under 4.6. I have
  18. a program to print text files with upto 96 char/line.
  19. It used to print in the required format when it
  20. ran under 4.6, but under 5.5 it
  21. prints only 80 char/line and the remaining characters
  22. spill over to the next line in an unsightly manner.
  23.  
  24. Apparently, the system adds a CR/LF after 80 char which
  25. I want to prevent. My program "writes" a CR after 96 char.
  26. It is written in FORTRAN, so I think a LF is
  27. added by its "WRITE" function.
  28.  
  29. I have looked at the documentation for the terminal
  30. driver, and found that the set mode functions namely
  31. set mode and set characteristics can be passed "P4"
  32. which can probably be set appropriately.
  33.  
  34. Can someone tell me whether there is a simpler way
  35. to do what I want, or even if I am on the right track ?
  36.  
  37. You can imagine that I would like to solve this problem
  38. quickly since over three people depend on this
  39. printer.
  40.  
  41. Please email me.
  42.  
  43. Thank you !
  44.  
  45. Chandra
  46.