Forms 10g Direct Print Problem [message #561285] |
Fri, 20 July 2012 03:46 |
|
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
|
|
|
|
|