Re: Oracle Report for Windows ported to UNIX error

From: Dmitry G. Bezgodov <dima_at_profit.maginfo.net>
Date: Thu, 16 Jul 1998 04:06:15 -0500
Message-ID: <35ADC287.F555BDE2_at_profit.maginfo.net>


josephxu_at_my-dejanews.com wrote:

> Hi, All
>
> We had encountered the following error using the Oracle Report
> designer on UNIX :
>
> REP-3300: Fatal error in Toolkit II (UI).
> UI-9: This function call is out of context.
>
> How this occurred is when we had ported a report (developed in
> Windows environment) over to the UNIX platform to re-compile and
> run. The report run successfully when the DESTINATION was set to
> 'screen' (i.e. to run and display the report on the screen). However,
> when we set the DESTINATION to 'PDF', 'Preview' or 'Printer', the
> above error is encountered.
>
> Can anyone help?
>
> Thanks and Regards
>
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum

I guess You need to set a few useful variables, for example, see part of my .profile:

[Quoted] PRINTER = lj5 # Real printer name from /etc/printcap (BSD Style)

[Quoted] TK2_PRINT = "lpr -P'%n' -#%c -h" # BSD Print style
[Quoted] TK2_PRINT_STATUS = echo
[Quoted] NLS_LANG = AMERICAN_AMERICA.US7ASCII # Set your native charset
export PRINTER TK2_PRINT TK2_PRINT_STATUS NLS_LANG

I hope that helps.

Regards, Dmitry. Received on Thu Jul 16 1998 - 11:06:15 CEST

Original text of this message