How can I Send report output to 3 different printer programatically

95 pts.
Tags:
Oracle Reports
Oracle Reports 6i
Dear Friends How can I Send report output to a printer, I have three different printers in three location so how can I Send the report output to those three printer automatically when the user press the print button . please give an example if it is possible Waiting for your valuable answer. Best regards Jamil Alshaibani

Software/Hardware used:
ORACLE Forms [32 Bit] Version 6.0.8.26.0 (Production) AND ORACLE REPORTS R6i

Answer Wiki

Thanks. We'll let you know when a new response is added.

You would need to call the RUN_REPORT_OBJECT (or RUN_PRODUCT) built-in procedure 3 times.

For each call, you would need to set the DESNAME parameter to the name of the desired printer. As you probably know, DESNAME is a system parameter, and you will need to use a Parameter List to send it to the reports engine when calling the report.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • MAY05659292714
    Dear Friends I am getting this error when I run my report Starting report GOODS_RECEIVE_REP1 [Sat Feb 04 16:36:18 2012] ... REP-0713: Invalid printer name '\Super_vhp' specified by parameter DESNAME. End report GOODS_RECEIVE_REP1 [Sat Feb 04 16:36:18 2012]. and my scrip as the following in when-button-pressed trigger declare pl_id ParamList; BEGIN :global.reports_path := 'C:INVRDF'; pl_id := Get_Parameter_List('tmpdata'); IF NOT Id_Null(pl_id) THEN Destroy_Parameter_List( pl_id ); END IF; pl_id := Create_Parameter_List('tmpdata'); Add_Parameter(pl_id,'DOC',TEXT_PARAMETER,:IM_GOODS_RECIEVE_HEADER.DOC_CODE); Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER, 'PRINTER'); Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, '\Super_vhp'); Run_Product(REPORTS,:global.reports_path||'GOODS_RECEIVE_REP1.rdf',SYNCHRONOUS,RUNTIME, FILESYSTEM, pl_id,NULL); END; Bets regards Jamil
    95 pointsBadges:
    report
  • BIllu
    you can use the device address or device name to send the print command.
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following