Re: a question regarding printing out format
- From: Gordon Sande <g.sande@xxxxxxxxxxxxxxxx>
- Date: Thu, 13 Sep 2007 19:46:05 GMT
On 2007-09-13 11:19:52 -0300, kipps <k_partha@xxxxxxxxx> said:
On Sep 12, 3:49 pm, Gordon Sande <g.sa...@xxxxxxxxxxxxxxxx> wrote:On 2007-09-12 16:15:18 -0300, kipps <k_par...@xxxxxxxxx> said:
On Sep 12, 2:39 pm, dpb <n...@xxxxxxx> wrote:kipps wrote:On Sep 12, 1:51 pm, dpb <n...@xxxxxxx> wrote:kipps wrote:On Sep 12, 12:24 pm, ka...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Steven G....
Kargl) wrote:
What system, what device, etc., would undoubtedly help...One could try writing a form feed to the device. Whether thisNo, it does not print to a new page, my system has no enscript either.
actually get you to a new page, I do not know.
program test
print '(A)', achar(12) ! Write ASCII character with decimal code 12.
end program test
Thank you all for the help!
This reminds me of the old saw of "Bring me a rock".
"No, not _THAT_ rock."
--HP-UX This is using a HP
unix compiler
Still no answer to what device are you trying to write to...
--
HP 3000 Manuals
MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
PAGE Directive
The PAGE directive sends a form feed to the list file or device, which
causes a skip to a new page before continuing with the program
listing.
Syntax
$PAGE
Default None.
Location The PAGE directive can appear anywhere within
the
program unit.
Toggling/ Duration Cannot be toggled.
Page Eject with Control-L
A control-L (ASCII 12) in column 1 of any source line has the same
effect
as if the line were preceded by the PAGE directive; the compiler
removes
the control-L from the listing.
If a control-L is found anywhere else on a source line, it is treated
like a blank and remains in the program listing. Its presence may
affect
an output device that displays the listing file.
MPE/iX 5.0 Documentation
Look up "asa" and/or "fpr" on your Unix. They will typically allow you to
generate ASA carriage control in a file and then send the result to whatever
printer Unix knows about. No need to learn ASCII control characters or
PostScript as that was sorted out by someone else previously.
I had suggested this earlier but it appears to have never made it out into
the newsgroups. That's the internet.
ASA recommends control character 1, to output a new page character. I
tried it and all the other options suggested, no success. All I want
to do is write to a file which other engrs can use to print thru
notepad or wordpad on a HP laser printer!
Thnx
Is is not clear what your ACTUAL problem is. You first describe wanting to use
the old ASA carriage control from a Fortran program under HP Unix for some
printer attached to that computer. Or at least that's what it sounded like.
Now it seems you want to generate a file on a Unix box that can be used by your
colleagues on Windows boxes. There is a common problem of converting the Unix
line ends of LF to DOS line ends of CRLF. That is a common confusion and
the folks around you should know how to do that. There are many many little
utilites that do it. But that does not have much to do with page ejects.
Contolling pages in a Windows program is much more a problem for whoever is
using the Windows program.
.
- References:
- a question regarding printing out format
- From: www
- Re: a question regarding printing out format
- From: Michael Metcalf
- Re: a question regarding printing out format
- From: www
- Re: a question regarding printing out format
- From: Michael Metcalf
- Re: a question regarding printing out format
- From: Pierre Asselin
- Re: a question regarding printing out format
- From: kipps
- Re: a question regarding printing out format
- From: Les
- Re: a question regarding printing out format
- From: kipps
- Re: a question regarding printing out format
- From: Dan Nagle
- Re: a question regarding printing out format
- From: kipps
- Re: a question regarding printing out format
- From: Steven G. Kargl
- Re: a question regarding printing out format
- From: kipps
- Re: a question regarding printing out format
- From: dpb
- Re: a question regarding printing out format
- From: kipps
- Re: a question regarding printing out format
- From: dpb
- Re: a question regarding printing out format
- From: kipps
- Re: a question regarding printing out format
- From: Gordon Sande
- Re: a question regarding printing out format
- From: kipps
- a question regarding printing out format
- Prev by Date: Re: Passing an array section
- Next by Date: Re: number comparison question related with precision issue
- Previous by thread: Re: a question regarding printing out format
- Next by thread: Re: a question regarding printing out format
- Index(es):
Relevant Pages
|