home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!news.uiowa.edu!herky.cs.uiowa.edu!rajar
- From: rajar@herky.cs.uiowa.edu (Chandrashekar Rajaraman)
- Subject: Need help with printer output format
- Message-ID: <1992Nov21.072150.23164@news.uiowa.edu>
- Sender: news@news.uiowa.edu (News)
- Date: Sat, 21 Nov 1992 07:21:50 GMT
- Reply-To: rajar@herky.cs.uiowa.edu (Chandrashekar Rajaraman)
- Nntp-Posting-Host: herky.cs.uiowa.edu
- Organization: U of Iowa, Iowa City, IA
- Lines: 33
-
- Hi,
-
- I have a HP Laserjet on which I print from a
- DEC Microvax II running VAX/VMS 5.5, which until
- a few weeks ago ran under 4.6. I have
- a program to print text files with upto 96 char/line.
- It used to print in the required format when it
- ran under 4.6, but under 5.5 it
- prints only 80 char/line and the remaining characters
- spill over to the next line in an unsightly manner.
-
- Apparently, the system adds a CR/LF after 80 char which
- I want to prevent. My program "writes" a CR after 96 char.
- It is written in FORTRAN, so I think a LF is
- added by its "WRITE" function.
-
- I have looked at the documentation for the terminal
- driver, and found that the set mode functions namely
- set mode and set characteristics can be passed "P4"
- which can probably be set appropriately.
-
- Can someone tell me whether there is a simpler way
- to do what I want, or even if I am on the right track ?
-
- You can imagine that I would like to solve this problem
- quickly since over three people depend on this
- printer.
-
- Please email me.
-
- Thank you !
-
- Chandra
-