Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro*C Report formatting

Re: Pro*C Report formatting

From: Ed Prochak <prochak_at_my-deja.com>
Date: Wed, 18 Aug 1999 13:41:39 GMT
Message-ID: <7ped6h$tc3$1@nnrp1.deja.com>


In article <7pbrsb$1ke$1_at_nnrp1.deja.com>,   kishore_kumar1234_at_my-deja.com wrote:
>
>
> we have a pro*C program which prints a report on
> line printer. but now we are no more going to use
> that line printer. we want to change the output
> format of the report, so that it can fit in
> ordinary paper.
>
> we have to use the following command to change
> the format .
> [E[&11O[&11L[&18D[&12E...etc
>
> we have to execute this command first in C
> program (i.e. before report execution in Pro*C)
> we are not using shell script, because the file
> name changes every time and we want to insert
> this in program so that this execute every time
> and change format automatically.
>
> so any body have some idea... Thanks for your
> help.
>

Hmmm. I must be missing someting. What's wrong with:

printf("[E[&11O[&11L[&18D[&12E...etc"); fflush(stdout);

at the beginning of your proC program???

You could even make it optionally executed based on a command line switch. So what really is the problem? It can't be this simple.

(Now the other factor in this is: what part of this is ORACLE related?)

--
Ed Prochak
Magic Interface, Ltd.
ORACLE services
440-498-3702

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Wed Aug 18 1999 - 08:41:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US