Print report on network/local printer

Hi forms gurus,
I repost this topic because it's very important to me.We have at a lot application witch work in client/server mode using forms/Reports 6i.With these applications we haven't problem to print report on printer using RUN_PRODUCT.Now we want to migrate on Forms/Reports 9i.When we use Run_Report_Object to print report on network print, we are encountring problems, the following errors occurs:
REP-713: Printer name '\DT_C2_0_8102\LaserJet1100' is wrong in the parameter DESNAME.
LaserJet1100 is a network printer install on the machine witch have DT_C2_0_8102 in the network.
I would like to know, if there an other way for naming printer? Secondly, i would like to if i add a network printer on my machin and define it as my default printer. Am i obliged to define the parameter DESNAME in the call off RUN_REPORT_OBJECT. If someone have a sample code about how to print on printer, it'll be helpfull.
Plz forms gurus help me to solve my problem.
Thanks in advance.
TYAG

Hi Franck,
Excuse me to repost the same topic.I did it because it's very important to me to solve this problem.
I do what u said by change the value of DESNAME parameter in '\\DT_C2_0_8102\LaserJet1100' but the same error happen.
Here is the code the function i use to print report:
FUNCTION     Run_Synchrone (P_robject VARCHAR2,P_rserver VARCHAR2,P_rformat VARCHAR2,P_rdestype NUMBER,P_rdesname VARCHAR2,P_rfilename VARCHAR2,P_rother BOOLEAN,P_rother_params VARCHAR2,P_rservlet VARCHAR2,P_message_out OUT VARCHAR2) RETURN BOOLEAN IS
          V_rid REPORT_OBJECT;--Id du report object
          --V_rmessage                  VARCHAR2(100)     :='';     
          V_rmessage                VARCHAR2(100)     :=NULL;--valeur de retour run_report_object     
          --V_rstatus                      VARCHAR2(100)     :='';
          V_rstatus                VARCHAR2(100)     :=NULL;--Statuts de l'execution
          --V_Jobid                     VARCHAR2(4000)     :='';
          V_Jobid                     VARCHAR2(4000)     :=NULL;--id du job d'édition
          --hidden_action                       VARCHAR2(2000)     :='';
          --V_other_Param                    VARCHAR2(4000)      :='';
          V_other_Param                    VARCHAR2(4000)      :=NULL;--Autre parametre utililasteur
          V_user_connect VARCHAR2(255):=GET_APPLICATION_PROPERTY(username)||'/'||GET_APPLICATION_PROPERTY(password)||'@'||GET_APPLICATION_PROPERTY(connect_string);--utilisateur connecté
          v_report_url VARCHAR2(100);
          V_Ret_Val BOOLEAN;--Valeur de retour de la fonctio,
     BEGIN
          V_rid:=FIND_REPORT_OBJECT(P_robject);          
          -- setting Reports runtime parameters
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_COMM_MODE,SYNCHRONOUS);
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_FILENAME,P_rfilename);
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_SERVER,P_rserver);
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_DESTYPE,P_rdestype);
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_DESNAME,P_rdesname);
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_DESFORMAT,P_rformat);
          --Autre parametre par defaut= userid
          V_Other_Param:='userid='||V_user_connect;
          --Test si autre paramètre applicatif
          IF P_rOther THEN
               V_Other_Param:=V_Other_Param||P_rother_params;
          END IF;
          SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_OTHER,V_Other_Param);
          V_rmessage     := RUN_REPORT_OBJECT(V_rid);
          V_rstatus      := REPORT_OBJECT_STATUS(V_rmessage);               
          --Test d'éxécution de l'état
          IF V_rstatus='FINISHED' THEN--Aucune erreur
               P_message_out:=P_rfilename||' édition terminée avec succès';
          V_Ret_Val:=TRUE;
          ELSE--Erreur quelconque.
               --handle errors
               P_message_out:=V_rstatus||': '||P_rfilename||' édition annulée...';
               V_Ret_Val:=FALSE;
          END IF;
          RETURN(V_Ret_Val);
     END;
And is how i call it:
V_Edition:=Web_Edition.Run_Synchrone ('RO_FM_DMP6',:GLOBAL.rserver,'PDF',PRINTER,'\\DT_C2_0_8102\LaserJet1100',P_File,TRUE,V_user_params,:GLOBAL.rservlet,V_Mess_Out);
What's the problem.Perhaps the problem reside in how i install the printer on the machin where i try to print.What steps must i follow to install it.
PLZ HELP!

Similar Messages

  • Print report on network/local printer(plz help)

    Plz Forms gurus, help me to solve this problem it's very very importante for me
    We have at a lot application witch work in client/server mode using forms/Reports 6i.With these applications we haven't problem to print report on printer using RUN_PRODUCT.Now we want to migrate on Forms/Reports 9i.When we use Run_Report_Object to print report on network print, we are encountring problems, the following errors occurs:
    REP-713: Printer name '\DT_C2_0_8102\LaserJet1100' is wrong in the parameter DESNAME.
    LaserJet1100 is a network printer install on the machine witch have DT_C2_0_8102 in the network.
    I would like to know, if there an other way for naming printer? Secondly, i would like to if i add a network printer on my machin and define it as my default printer. Am i obliged to define the parameter DESNAME in the call off RUN_REPORT_OBJECT. If someone have a sample code about how to print on printer, it'll be helpfull.
    Plz forms gurus help me to solve my problem.
    Thanks in advance.
    TYAG

    Duplicate?
    Print report on network/local printer

  • Unable print scheduled report on network printer using BOEXI 3.0

    Hi,
    I'm unable to print a scheduled report on network printer using BOE XI 3.0. I get the following error
    Error Message: Error in File ~ce6a054be1a25b52.rpt: Request cancelled by the user. ]
    Has anyone encountered this kind of problem and know what the solution is?
    Thanks,

    Hey Falk,
    Thanks for the response.
    I can print on a network printer after I changed 'Crystal Reports Job Server' to run under a user account that has privileges to access the printer.
    To answer your questions regarding the problem:
    >Can you schedule the report successfully ?
    >>Yes I was able to schedule the report successfully
    >Can you print the report successfully?
    >>NO the scheduled task would fail with the error message as posted above.
    Thanks,

  • Very Urgent! Print Report output to local printer on button click in form

    In Sales Order Form there is a print receipt button. In current situation On Clicking the 'Print Receipt Button' it submits a XML Publisher report(PDF output) to the concurrent manager. Currently to print that report i need to go view--> requests--> view output and then print. According to my new Requirement i need to print that report directly to local printer on one simple Print receipt button click in form.
    I am trying to call the printers on server using custom.pll. The report is running successfully but it is not printing output to the local printer. I need to print the report to the local printers based on responsibility. Local printers are available on apps server. Can anyone help me on this issue ASAP.
    Is it possible to print the document using custom.pll? Is there any other alternative to print the report on simple button click in form.
    Environment: Apps 11.5.10.2, Forms 6i
    Here is the code that i am using in my custom.pll.
    if (v_form_name = 'OEXOETEL' --and v_block_name = 'LINES_SUMMARY'
         and name_in('parameter.ACTIONS') = 'PAYMENT_RECEIPT' )THEN
    l_organization_id := Name_In('PARAMETER.OE_ORGANIZATION_ID');
    l_order_header_id := Name_In('ORDER.header_id');
    select to_number(oe_sys_parameters.value ('SET_OF_BOOKS_ID')) into l_sob_id from dual;
    xml_layout := FND_REQUEST.ADD_LAYOUT('XXAFP','XXAFPOEXPMTRCRTF','en','US','PDF');
    select a.profile_option_value
    into v_printer_name     
    from fnd_profile_option_values a
    , fnd_profile_options b
    , fnd_profile_options_tl c
    , fnd_user fu
    where a.profile_option_id = b.profile_option_id
    and c.profile_option_name = b.profile_option_name
    and fu.user_id (+) = a.level_value
    and c.language = 'US'
    and c.user_profile_option_name='Printer'
    and a.level_id = 10003 ;
    if (FND_SUBMIT.SET_PRINT_OPTIONS(v_printer_name, 'Portrait', 2, TRUE, 'N'))
         then
    l_new_request_id := FND_REQUEST.SUBMIT_REQUEST('XXAFP','XXAFPOEXPMTRC',
    null,null,FALSE,l_sob_id,l_organization_id,NULL,NULL,l_order_header_id,
    chr(0), '', '', '', '', '', '', '', '', '', '',
    end if;
    fnd_message.set_string('Request Submitted for Custom Payment Receipt. Request ID is '||l_new_request_id);
    fnd_message.show;
    copy('NULL','parameter.ACTIONS');
    IF (l_new_request_id = 0) THEN
    FND_MESSAGE.RETRIEVE;
    FND_MESSAGE.ERROR;
    else
    l_commit_result := APP_FORM.QuietCommit;
    END IF;
    I need to complete this requirement immediately. Can anyone suggest me better ways in doing this.
    Thanks,
    Srinivas

    I solved this problem myself using shell script through custom.pll. I wrote shellscript and called that shellscript through FND_REQUEST.SUBMIT_REQUEST.It printed 2 copies to local printer.

  • Can a BIP report be deliveredto local or network file system

    We have OBIEE 10.1.3.4 installed on Linux Redhat 5.2. We have some reports on BI Publisher and want to save the report to a local or network file system. Not sure if it is possible as save to file system is no list as an option in BIP Admin Delivery list.
    Please help!

    Thank you for help. But is it a way to save the whole report to one file instead split it according to a key.
    One way I can think of is to create a dummy key of a single value. Is there a BIP built-in way doing this?

  • Profit center report with cumulative local currency amount

    Hi,
    I am working to create a report with cumulative local currency .,so that the report data should tally with GL account balance (FS10N).
    This report is for balance sheet accounts . Whenever we used to create report with either report painter or drill down report, the option for defining key characteristics is showing only the profit center currency, company code currency or transaction currency.No option for cumulative local currency.
    Thanks,
    Anitha

    Hi Srinu
    RPC0 applies to CC reports and not PCA reports
    I am surprised by your statement that Summary reports derive values based on Current Fx rate
    GLPCA and GLPCT are the tables that are used in line item and Summary reports.. check the value in GLPCT and do they match with GLPCA or not
    I am still not convinced about your issue.. Why do you need currency conversion in report?
    Assume your comp code curr is USD and Cont Area curr is EUR.. You will be able to see all reports in both currencies without any conversion required during report execution. This is because all the transactions are recorded in these two currencies
    Ensure that the All Currencies indicator is turned ON for your contr area
    Br. Ajay M

  • How to download a report prg into local system

    how to downlaod a report program into local system

    Hi
       Goto Function Builder se37 and select WS_DOWNLOAD
    so you wil get the function module WS_DOWNLOAD in your report,then there wil be a option called path=' ',so give the path where u wanna download a report program....
    datsit...
    REWARD PLEASE

  • Where can we catch the event which leads to downloading a report to a local

    Hi frnds,
    can u help me out . actaully ,i  have a classical interactive report. it has many headings.Because of the initial headings ,if i try to download that report to a local file ,the column allignments are disturbed.
    So,one way i feel to get the download correctly ,is that ,some how i can catch the event whcih leads to the download of the report ,and based on the occurence of that event ,i can restrict the page headings to appear in the downloaded spreadsheet ,so that the there are no, unwanted columns getting inserted in between .
    Regards
    Rajesh.

    hi,
    you can have selection screen field : "parameters : p_disvar like disvariant-variant."  and at event selection scree you can call the below function and select the variant create for the report.
    "at selection-screen on value-request for p_disvar.
      call function 'REUSE_ALV_VARIANT_F4'
           exporting
                is_variant          = g_variant
              I_TABNAME_HEADER    =
              I_TABNAME_ITEM      =
              IT_DEFAULT_FIELDCAT =
                i_save              = g_variant_save
           importing
                e_exit              = h_exit
                es_variant          = gx_variant
            exceptions
                not_found           = 1
                program_error       = 2
                others              = 3.
      if sy-subrc is initial and h_exit is initial.
        g_variant-variant = gx_variant-variant.
        p_disvar          = gx_variant-variant.
      else.
        message id sy-msgid type 'S'
                     number sy-msgno
                     with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    Atul

  • How to DOWNLOAD WWI reports(EH&S, Product Safety, Reports) to a local file

    Hi All
    Could you please help me out for the below requirement:
    How to DOWNLOAD WWI reports(EH&S, Product Safety, Reports) to a local file or server. The purpose of this requirement is to download all the WWI reports(Specification) of each and every Specification type to a local server. Please help me out with your valuable suggestions.
    Thanks,
    Venkat

    Hi Arvind,
    Thanks for your reply, could you please provide me more information(Transaction..etc..,) for the process to download reports as you mentioned.
    Thanks,
    Venkat

  • UK Network Locale

    I am running cucm version 9.1 on a cluster. I have loaded the UK network locale to provide UK network tones. However, when i dial for example a non-existent number, I get a US re-order tone instead of a UK number unobtainable tone. The problem is, in the UK the US re-order tone sounds like an engaged tone and the caller presumes the number is valid and re-dials later. Anyone any ideas why the cucm is still using the US network locale?? 

    Thanks for replying Gordon, yes I have done that. I am looking at accessing the different re-order wav files on the TFTP server to listen to the UK ones and see what they play out as, but I would have thought a UK re-order tone would play as a number unobtainable tone.

  • Urgent..blank report on network printer

    Dear All,
    i've a report which print direct to a network printer i specify the full network path in DESNAME where destype = printer but the paper in the printer move but nothing is printed.
    when i let destype=screen and specify the network printer from normal dialog it prints fine..
    more question how can i know that the report server has access to that printer
    i'm using REPORTS 6i
    please help

    If it was that urgent I would have supplied some more information. One very, very, very important fact to know is whether it's Client/Server or Webbased reports, don't you think?
    Have you been on the Reports Home page yet?
    http://otn.oracle.com/products/reports
    There're tons of good white papers there, including one regarding printing on the net.
    Also this search on Metalink gives me lots of usuful documents: reports 'network printer'
    Regards,
    Martin

  • Print a web-report to a local printer

    Dear All
    I have a form(10g) with a report object that its destination type is 'PRINTER'. This form is run from application server (Form services 10g).The report is now sent to printer that set on AppServer machine. But I want to have it on local printer.
    How can I config my application in order to send the report (.rdf) to my locan priner that set on my PC?
    Thanks in advance ...
    Iman

    If you don't want to use the PJC you have other solutions.
    In some cases you can add your local printer on the application server, this is done when your application is running on an intranet. You can also use the orarrp utility provided by Oracle.
    Regards,
    Tony

  • Problem running reports to network printer

    Application Server Enterprise Edition 10g (9.0.4.1)
    Customer is having some difficulty printing reports to printers attached to client PCs and shared on the network. Occasionally, when a report is requested by the application with DESTYPE=PRINTER, DESFORMAT=DFLT and DESNAME=\\<PC>\<server share>, the status of the report remains "Opening report" and it never completes and cannot be removed. The report server (and dependent services) must be restarted to free the engine. The report is requested from a Forms application via a Report object.
    Here's detail from the Report Server engine trace file (traceOpts=trace_all):
    Debug 50103 (EngineImpl:setCommandLine): Running
    Info 50132 (EngineImpl:setCommandLine): Get command line: userid="ELSIEM paramform="NO" jobname="flysheet.rep" p_cov_effdt="20030315" desname="\\oldmelishal155\wc_hp4" p_rcvd_dt="" p_carrid="24724" p_ar_amt="" authid="ANONYMOUS" destype="printer" p_type="POL" batch="YES" p_ar_code="" report="flysheet.rep" background="yes" expiredays="0" desformat="DFLT" p_polnbr="08WC001094"
    Debug 50103 (EngineImpl:setCommandLine): Quit
    Debug 50103 (EngineImpl:run): Running
    Error 50103 (C Engine): 11:31:47 ERR REP-34551: BACKGROUND is deprecated. See help for more information.
    Error 50103 (C Engine): LOG :
    Error 50103 (C Engine): Logged onto server:
    Error 50103 (C Engine): Username: ELSIEM
    Error 50103 (C Engine):
    Error 50103 (rwfdt:rwfdtprint): Distributing the report
    Error 50103 (rwfdt:rwfdtpredo): running
    Error 50103 (rwfdt:rwfdtpredo): no preformat of pages requested, quit
    Error 50103 (rwfdt:rwfdtni_NextInstance): running
    Error 50103 (rwfdt:rwfdtni_NextInstance): quit
    Error 50103 (rwfdt:rwfdtgcf_GenCachefile): running
    Error 50103 (rwfdt:rwfdtgcf_GenCachefile): Cache file is e:\Spectrum\Cache\Test\45525639.eps
    Error 50103 (rwfdt:rwfdtgcf_GenCachefile): quit
    Error 50103 (rwfdt:rwfdtprint): caching output from backend drivers
    The last line appears to be the culprit. It seems as if the engine is attempting to communicate with the printer but failing. While this report was still "active" another request was made about 3 hours later that printed without issue.
    The printer's host OS is XP. The printer is a HP LaserJet 5si with up-to-date drivers (PCL 5e).
    Are there any specific issues with HP printers? Any ideas how to proceed with this problem? I've search high and low on Metalink and have not seen anything like this. I'd appreciate any help.
    Thanks,
    Robert Glossip

    >
    wavery wrote:
    > You should be able to specify the printer in the scheduling settings of the report itself in Infoview.
    Oh yes, I can see at "Print Settings" that I can specify a printer ("Set layout to: Specify printer settings"). However, I can't specify a printer in the "Destination" settings. So I can't do a scheduling, after my opinion?

  • Schedule CR reports to network printer

    Hi,
    I would like to schedule a Crystal Report 2008 to a network printer as destination; we are using BOE XI 3.1 server.
    In the destination settings of the CrystalReportsJobServer I only can select FTP and E-Mail.
    Is my undertaking possible without using the SDK?
    Thanks!

    >
    wavery wrote:
    > You should be able to specify the printer in the scheduling settings of the report itself in Infoview.
    Oh yes, I can see at "Print Settings" that I can specify a printer ("Set layout to: Specify printer settings"). However, I can't specify a printer in the "Destination" settings. So I can't do a scheduling, after my opinion?

  • Gnome 3 reports a network printer as "not connected",but prints fine

    Hi,
    I got the same problem mentioned here as "Other issue": https://bbs.archlinux.org/viewtopic.php?id=119248
    When I print on my network printer it always says "printer is not connected" at first (popup in gnome shell) but then it prints fine.
    I think it has something to do with CUPS or some settings of the network card (inside the Kyocera FS-1020D) -> I have disabled the whole apple things like Bonjour etcpp.
    In the mentioned thread there are several perople reporting this issue - did anyone solve it?

    bones wrote:No such warning when I logged into other desktop environments.
    That's intresting .. maybe it is a gnome bug? I am also using Gnome 3.2.
    Last edited by Evilandi666 (2011-10-18 11:55:05)

Maybe you are looking for

  • NVGRE NAT Issues with Update Rollup 5

    Hello I'm looking to see if anyone is seeing the same situation when deploying a new NVGRE gateway after UR5. In my test I have a Created a Front End Network on a Logical Switch.  There is a Logical Network and Network Site is 10.0.0.0/24.  I create

  • Combine PDF Forms w/o merging fields?

    I have nearly 60 grant applications that were submitted to me by individuals, each in a Form I created that they downloaded from my website.  I need to combine these files into one document that can be numbered from beginning to end.  When I go to me

  • HT5874 how do i setup encryption on my iphone 5s?

    I am looking for steps to setup encryption on my iphone 5s.  My company compliance officer says that the device needs to be NIST FIPS encryption compliant.  I believe that includes the entire disk. Thanks in advance. Rod

  • ITunes 11 will not load and run on Win 7 32/64 bit

    I updated three Win 7 32 bit systems and one 64 bit to iTunes 11.0.0.163 and one IOS 10.8.2. The Mac works on 10.8.2 The others have varying degrees of difficulty:                 1. Win 7 32 Bit will not launch (removed restarted and downloaded 4 ti

  • Lightroom 3, Epson R2400 and the dreaded magenta cast

    A customer called me to say her printer was broken and nothing she could do would make her Epson R2400 print accurately from Lightroom on her iMac running Snow Leopard. I visited expecting to have to sort out a double profiling issue or a clogged pri