home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: Need help with printer output format
- Date: 21 Nov 1992 19:10:48 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 42
- Distribution: world
- Message-ID: <1em1joINNq0o@gap.caltech.edu>
- References: <1992Nov21.072150.23164@news.uiowa.edu>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <1992Nov21.072150.23164@news.uiowa.edu>, rajar@herky.cs.uiowa.edu
- (Chandrashekar Rajaraman) writes:
- =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.
-
- Yet another question with insufficient data for an answer. Are you outputting
- directly to the terminal, or are you submitting the file to a print queue? If
- the former, simply set the output terminal /NOWRAP/PERMANENT. If the latter,
- set the width of the printer to something larger than 96 and make sure that
- the form with which you're printing is defined with the attrbutes
- /NOTRUNCATE/NOWRAP.
- --------------------------------------------------------------------------------
- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
-
- Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
- understanding of astronomy is purely at the amateur level (or below). So
- unless what I'm saying is directly related to VAX/VMS, don't hold me or my
- organization responsible for it. If it IS related to VAX/VMS, you can try to
- hold me responsible for it, but my organization had nothing to do with it.
-