Re: a question regarding printing out format



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:
...
One could try writing a form feed to the device. Whether this
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
No, it does not print to a new page, my system has no enscript either.
Thank you all for the help!
What system, what device, etc., would undoubtedly 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.


.



Relevant Pages

  • Re: Clients using a GUI to access FTP
    ... We can interpret a Unix style list or a VMS style list. ... You can make VMS deliver the directory in a format that FTP Clients can ... More so than the Unix ls listing... ...
    (comp.os.vms)
  • Re: Clients using a GUI to access FTP
    ... I distinguish between Microsoft and MSIE. ... More so than the Unix ls listing... ...
    (comp.os.vms)
  • Re: Find default web page of a directory
    ... clueless when it comes to unix + server-config etc. ... directory listing of all our files. ... at least he can do things like find and edit a standard config file (you ...
    (microsoft.public.vc.language)
  • Re: Deja Vu, All Over Again...
    ... > occurred with a large Unix based company I worked for. ... > I had sent my listing to the printer, ... > the look that he would rather plod along with emacs than stoop to ... Now im using the windows version of emacs, ...
    (comp.arch.embedded)