Home » Developer & Programmer » Forms » Forms 10g Direct Print Problem (Forms 10g)
Forms 10g Direct Print Problem [message #561285] Fri, 20 July 2012 03:46 Go to next message
halilbakır
Messages: 3
Registered: July 2012
Junior Member
Hi Everyone,

I have a problem with direct printing on forms 10g, I try to explain all schema

Firstly, this is my code

repid := find_report_object('OPERATOR_BARKOD');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_server_oracle');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,PRINTER);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'ipp://192.168.200.22/operatorbarcode');
v_rep := RUN_REPORT_OBJECT(repid);

The code works fine if i change the "report_desttype" to FILE or CACHE and give a local path "REPORT_DESNAME" like "/home/oracle/desktop/barcode.pdf"

Secondly, My oracle application server is running on oracle linux 5.0

Thirdly, I defined network printer(model:XeroxPhaser3435) over ipp which path is "ipp://192.168.200.22" and name is "P3435" also default printer for oracle user and printer works i can get test page.

I wonder is printer path correct?("ipp://192.168.200.22/operatorbarcode").
I think the problem occurs in this step also is there any extra settings for oracle application server to use network printer

When I look at the reports server jobs it give an error "Executed successfully but there were some errors when distribute the output"

Could you help me ?

Sincerly,
Halil


Re: Forms 10g Direct Print Problem [message #561760 is a reply to message #561285] Wed, 25 July 2012 03:35 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
A quick search on the internet revealed that direct printing on a network printer involves some configuration. Here's one link.

MHE
Re: Forms 10g Direct Print Problem [message #561761 is a reply to message #561760] Wed, 25 July 2012 03:45 Go to previous message
halilbakır
Messages: 3
Registered: July 2012
Junior Member
Thank you Maaher
Previous Topic: Doing development the proper way
Next Topic: data not displaying from main database
Goto Forum:
  


Current Time: Fri Jul 05 21:32:53 CDT 2024