Re: How to print a report ... :-)

From: Marco Tilli <mtilli_at_mtilli.us.oracle.com>
Date: 29 Dec 1994 19:25:55 GMT
Message-ID: <3dv2g3$9iq_at_dcsun4.us.oracle.com>


Cristian,

   DESTYPE is one of the system parameters of Oracle Reports. Running the Oracle    Reports runtime executable, you can specify parameter values either on the    command line, or in the runtime Parameter Form (a dialog which comes up before    the report is run).  

   If the Oracle Reports runtime executable is invoked stand-alone (eg. from the    Program Manager on Windows, etc), both options are available (unless you specify    PARAMFORM=NO on the command line, in which case the runtime Parameter Form won't    be displayed).

   However, if the runtime executable is invoked by another app (eg. Oracle Forms),    these options may not be available to you. For example, the calling app may    specify PARAMFORM=NO when it calls Reports runtime.

   Anyway, for your info, DESTYPE specifies the destination type of the report (Screen,    Preview, File, Printer, ..).

   The reason for the truncation is this: when you choose DESTYPE=Screen, the formatting    engine of Oracle Reports uses screen font metrics to determine the appropriate size    and position of each object (eg. fields, text, ..). Once the output pages are created,    size and position of each object are fixed. If you then print the output, the fonts    used by the printer may have a different size than the ones used while formatting the    output. If the printer font is bigger, your output will be truncated.

   If you plan to first preview the report on screen, and then print it, the right choice    of DESTYPE is "Preview".

Hope this helps.

-marco



In article <D1JECC.7D6_at_dcc.uchile.cl>, crpalma_at_cec.uchile.cl (CRISTIAN PALMA) writes:
|>
|> Hi ...
|>
|> I have the next problem: I am working with Oracle CASE Dictionary 5.1
|> ( Oracle for Windows ). And when I run a report ( for example, the cdfdecom
|> report ( available from strategy/reports ) ) this that's OK. But if I want to
|> print the result, it appears a warning in the screen; it says:
|>
|> Oracle Reports
|>
|> ! Screen font remapping could cause
|> truncation. Rerun report with
|> DESTYPE=PREVIEW. Continue with
|> printing ?
|>
|> And if I continue with this, effectivly there is truncation ... :-(
|>
|> ( on the screen, it appears:
|>
|>
|> My Function 1
|> |
|> |_____________________
|> | it is an example |
|> --------------------
|>
|> etc ...
|>
|> however, the printing is:
|>
|> My Function 1
|> |
|> |_____________________
|> | i t i s a n e x| <== there is truncation :-)
|> --------------------
|>
|> etc ...
|>
|> )
|>
|> But the message doesn't say where or how to set it, just say "Rerun report
|> with DESTYPE=PREVIEW" ...
|>
|> There is somebody that know how to set this variable ? or where to set it ?
|> or etc :-) ?
|>
|> Thanks in advance ...
|>
|> Cristian ...
Received on Thu Dec 29 1994 - 20:25:55 CET

Original text of this message