Re: FAST Printing on Report 2.5

From: Marcel Claus <Marcel.Claus_at_Informatik.Uni-Oldenburg.DE>
Date: Thu, 22 Oct 1998 15:56:37 +0100
Message-ID: <70ndj6$4uv_at_news.Informatik.Uni-Oldenburg.DE>


Hospital de Dia wrote:

> Hi all,
> Does anybody knows how to print reports faster, like direct access to the
> printer?
> I am working in a application that frequently prints some very simple
> reports ( like a card
> with personal identification), if it gets slow then it can cause many
> problems...
> Thanks for all your help.

Hi,

When you make the run_product(...) call send a parameter to reports with the following settings:

DECLARE
  list_id ParamList;
BEGIN
/* Create a parameter list named "input_params" */   list_id := Create_Parameter_List('input_params');

  Add_Parameter(list_id,'DESTYPE',TEXT_PARAMETER,'PRINTER');
  Add_Parameter(list_id,'PARAMFORM',TEXT_PARAMETER,'NO');
  Add_Parameter(list_id, whatever parameter you wish to parse to reports!);
  Run_Product(REPORTS, 'MY_REPORT', ASYNCHRONOUS, RUNTIME,
FILESYSTEM,list_id);
  Destroy_Parameter_List(list_id);
END; This tells reports to run in the background, send the data directly to the printer
and dont show the Parameterform.

Marcel Received on Thu Oct 22 1998 - 16:56:37 CEST

Original text of this message