Intermittent "Invalid specified printer" when scheduling reports to printer

Hi All,
looking for pointers to resolve this issue .
Every now and again (about once a week) a print schedule will fail with the error message "Invalid specified printer".
- Issue is intermittent, and dozens of other print jobs run successfully.
- No specific pattern has been found (no specific document, time, server, user). Documents scheduled are Crystal Reports
- there are several printers installed on the machine, but only one used for those schedules (HP 4350 PCL6) set as default.
- nothing specific appears in the event viewer when the issue occurs
- at the time of the traced issue there were only 4 print jobs going on (low volume).
- scheduled documents are small, and schedules run automatically (based on events)
- using "No printer' parameter in the CR templates (early recommendation) seems to have reduced the number of occurence of the issue, but it still happens every other week
- using XI3.1 SP2 clustered windows environment.
Already tried the following steps with no success:
- Running the CR Job server on a Domian Account
- Re-installing printer drivers
- Updating to the latest Printer drivers
-  rights on all machines/servers have been checked
- In CR report properties for the 'Print Settings' tried with both the options - 'Default Printer' and 'Specify the Printer'
excerpt from traces (JobServerChild_<pid>_crpe_functions.log):
PESelectPrinterN ~ce24e866c818dcfc2.rpt  0 printJob:3,driverName:,printerName:\\sinfp03p\RM43-062A,portName: IN tdrcws 0 <==
PESelectPrinterExW ~ce24e866c818dcfc2.rpt  0 printJob:3,printerInfoW:<driverName:>, <printerName:\\sinfp03p\RM43-062A>, <portName:>, <StructSize:4272652726> IN tdrcws 0 <==
PESelectPrinterExW ~ce24e866c818dcfc2.rpt  *513* OUT printJob:3,printerInfoW:<driverName:>, <printerName:\\sinfp03p\RM43-062A>, <portName:>, <StructSize:4272652730> tdrcws 0 <==
PESelectPrinterN ~ce24e866c818dcfc2.rpt  *513* OUT printJob:3,driverName:,printerName:\\sinfp03p\RM43-062A,portName: tdrcws 0 <==
The traces above look exactly similar in successful occurrences, except the 513 returned is 0 instead. They continue below (error case only)
PEGetErrorCodeAndSubstituteStrings     ~ce24e866c818dcfc2.rpt          0     printJob:3,errorInfo:<lastErrorCode:0><StructSize:26><nSubstitutionHandle:0>     IN     tdrcws     0     <==
PEGetErrorCodeAndSubstituteStrings     ~ce24e866c818dcfc2.rpt          0     OUT     printJob:3,errorInfo:<lastErrorCode:513><StructSize:26><nSubstitutionHandle:1>     tdrcws     0     <==
PEGetErrorTextEx     ~ce24e866c818dcfc2.rpt          0     printJob:3,textHandle:0,textLength:0,lcid:4294967295     IN     tdrcws     0     <==
PEGetErrorTextEx     ~ce24e866c818dcfc2.rpt          0     OUT     printJob:3,textHandle:1c8002c,textLength:100,lcid:3081     tdrcws     0     <==
PEGetHandleStringExN               0     textHandle:1c8002c,text:*Invalid printer specified*.
Any idea what to look for?
Thanks for your help
Antoine
Edited by: Antoine Desmarets on Feb 18, 2011 6:52 AM

A print server is indeed used.
It is actually the company print server, but only one printer is used for this particular app.
Unfortunately nothing canbe changed / tested regarding the printer / print server settings.
Regarding error logs, it seems that the print requests don't even show on the print server at all.
For example, 18 CR reports were scheduled to print and 17 were successful, 1 failed with the "Invalid printer specified" error.
The print server only had signs of the 17 successful jobs, but nothing (no error, no pending, nothing) about the missing report.

Similar Messages

  • Cascading Parameters prompting twice when scheduling report on CMC

    Hi all,
    I am having some difficulty with the Central Management Console (CMC) when scheduling a report I created.
    The report contains one sub-report with a stored procedure to generate the data. This stored procedure has 5 parameters including region and city. In the main report I implemented cascading parameters for region and city and passed their values to the parameters of the stored procedure for the sub-report. All of this works fine within Crystal Reports when I run the report and even when I use the "View" option in CMC. However when I use the "Schedule" option in CMC to schedule the report and I am setting the parameters for the report, there is some odd behavior. The first parameter shows two values, one for region and one for city (this is fine). The next parameter is a string variable. When I try to set this parameter, I am prompted again with the cascading parameters for the region and city. This messes up all the parameters and if I continue to set the other parameters, I am prompted to give a value for the previous parameter.
    Why am I being prompted twice to enter a value for the cascading parameters? How can I fix this?
    Thanks in advance for your help.
    P.S. I thought about using the cascading parameters as filters in the Crystal Report itself but this causes the report to be slow as a lot of data is brought back from the stored procedure before filtering.
    P.P.S. I am using Crystal Reports 2008

    Hi Jevon,
    What version of BO (Service Pack, Patch) are you using?
    Try upgrading the version to a higher Service Pack/Patch on a Test environment to see if that resolves the issue.
    -Abhilash

  • Need a way to Hide the Destinations (FTP, Email...) when scheduling reports

    We do not have destinations set up for FTP, email and unmanaged disk in our environment due to our stringent security requirements.  Even after being told these are not available, our users continue to try to schedule the report to go to these destinations and they are causing the reports to fail and utilize database resources for a report that will not complete successfully.
    Does anyone know if there is a way to hide the destinations from users when they schedule reports?  I know this was an option a couple of versions back but I cannot find it in BOE XI3.1 SP3.  The only option we want our users to see is Inbox and their personal folders.
    Our environment is:
    Windows Server 2003 SP2
    Tomcat 5.5.30
    Java 1.6
    BOE XI 3.1 SP3 FP3.2
    Thanks.
    Rich

    Hi,
    We can control distinations by configuring them on Respective Servers, which should be protected from business users.
    Assuming that you wish to configure only email as destination for Crystal Reports,  then
    Step 1 : Access properties of Server-> CrystalReportsJobServer
    Step 2 : Choose only valid Desitnations that you wish to provide, In our case it is only eMail
    Always go for cloning existing server if you are customization. Which is good practice than directly working on default server.
    HTH
    B Ravi Shankar

  • No Option to 'Clean up instance' when scheduling report as HTML

    Running BO XIR2 SP3.
    When scheduling a report as pdf, xls or txt I have the option to 'Clean up instance after scheduling'. When I select HTML format, this option is not there. Where am I going wrong?

    Running BO XIR2 SP3.
    When scheduling a report as pdf, xls or txt I have the option to 'Clean up instance after scheduling'. When I select HTML format, this option is not there. Where am I going wrong?

  • Email to users when scheduled report are finished

    Hi!
    We run BO 6.5 and have a lot of reports in BCA that run on both indicator and time. Sometimes the reports are delayed due to late indicator and therefore we have some users that would like to have an e-mail each time theese reports are finished. Is that possible to set up in either Desktop or BCA?
    Regards, Marianne

    Marianne,
    That is possible. In our situation we send e-mails to users (and even a number of our customers) when a report has been refreshed by the BCA.
    What we have done is added a piece of VBA code to each of the documents which need to send an e-mail after refresh. In our situation the VBA saves the report as a pdf or excel file and sends that as an attachment to the recipient. But you could also just send a standard message to the users.
    In our situation the VBA (very simplified) looks as follows:
    Private Sub Document_AfterRefresh()
        Dim FileN As String
        FileN = "Path and Filename of document.rep/pdf"
        On Error Resume Next
        doc.SaveAs (FileN)
        'Mail the report to the user(s)
        On Error Resume Next
        Shell "cscript.exe pathname+filename.vbs", vbHide
    End Sub
    After the refresh the document is saved as a pdf or xls file and a cscript is executed which actually performs the sending of the e-mail.
    Below an example of one of our cscript files (adjusted)
    'Sending SMTP mail via port 25 using CDOSYS
    'This ASP page uses CDOSYS to send SMTP mail using port 25 of the SMTP server that is set. 
    'The e-mail delivery is handled by the SMTP server that is set in the configuration object.
    'send by connecting to port 25 of the SMTP server
    Dim iMsg
    Dim iConf
    Dim Flds
    Dim strHTML
    Dim strSmartHost
    Dim SendList
    Const cdoSendUsingPort = 2
    StrSmartHost = "NAME OF HOST"
    set iMsg = CreateObject("CDO.Message")
    set iConf = CreateObject("CDO.Configuration")
    Set Flds = iConf.Fields
    ' set the CDOSYS configuration fields to use port 25 on the SMTP server
    With Flds
    .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = cdoSendUsingPort
    .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strSmartHost
    .Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
    .Update
    End With
    ' build HTML for message body
    strHTML = "<HTML>"
    strHTML = strHTML & "<HEAD>"
    strHTML = strHTML & "<BODY>"
    strHTML = strHTML & "<b> This is the test HTML message body</b></br>"
    strHTML = strHTML & "</BODY>"
    strHTML = strHTML & "</HTML>"
    SendList = "e-mail addresses seperated by ;"
    ' apply the settings to the message
    With iMsg
    Set .Configuration = iConf
    .To = SendList
    .From = "anything"
    .Subject = "Your subject description"
    .HTMLBody = strHTML
    .AddAttachment "Any attachments"
    .Send
    End With
    ' cleanup of variables
    Set iMsg = Nothing
    Set iConf = Nothing
    Set Flds = Nothing
    Hope this will get you started.
    Regards,
    Harry

  • Automatic Email When Scheduled Report Fails?

    Is there a way to configure XI to automatically send an email if a scheduled report fails to run successfully?

    This is actually configured at the report level from the CMC and not via auditing. For each report that you want notification(s)to be set for, switch to the Schedule tab --> Notification in the CMC. Enable email notifications as required. ie. "A job has failed to run. "

  • Discoverer 3.1.25: getting error ORA-06550 when scheduling report

    Hello,
    we are still using the Discoverer version 3 (release 3.1.25). I know that this version is out of support, but that doesn't harm use from using it...
    The Discoverer has been working fine for the last couple years. At the beginning of every month the same already defined reports are getting generated. But with the beginning of the year 2010 we are getting the error:
    ORA-06550: line 1, column 93:
    PLS-00201: identifier 'EUL$BATCH_PACKAGE0100112082923.RUN' must be declared
    ORA-06550: line 1, column 93:
    PL/SQL: Statement ignored
    ORA-06512: at "SYS.DBMS_JOB" line 79
    The numbers "0100112082923" after the identifier "EUL$BATCH_PACKAGE" specify the date and time:
    082923: 08 hour, 29 minutes, 23 seconds
    0100112: 010 year, 01 month, 12 day
    The reason of that error is that the mentioned Package/Packagebody EUL$BATCH_PACKAGE*0*100112082923 doesn't exist in the database. But as a matter of fact the Package/Packagebody 'EUL$BATCH_PACKAGE100112082923 does exist. The Discoverer creates the Package/Packagebody without the "0" after the identifier "EUL$BATCH_PACKAGE" in the database, but wants to use the Package/Packagebody with the "0" after the identifier "EUL$BATCH_PACKAGE". Seems like a bug to me - does anybody have the same problem?
    Until the year 2009 the year was specified with just two digits (09) - now the year seems to get specified with 3 digits (010) - but in the database just two digits are used. Is there any property table or button where this gets defined?
    Any help will be appreciated!

    Seems like if I have found the bug by myself...
    In the procedure SubmitJob(...) of the package EUL$BATCH_REPOSITORY the name of the scheduled procedure gets generated with the hardcoded string
    "EUL$BATCH_PACKAGE0". The zero after "PACKAGE" is only correct when the year ends with one digit (e.g. 2001, 2002, ..., 2009). When shortening the
    string to "EUL$BATCH_PACKAGE" everything works fine again...
    Rgds

  • Get Report Error when schedule report run

    No problem I know what it is.

    Issue was related to the Console URL setting in the Grid Control Overview tab, it was set to http://<host>:<port>/em/console and should have been set to http://<host>:<port> instead.

  • Database Credentials When Scheduling Crystal Report

    In our Crystal Reports 2008 server, each user has their database credentials populated in their user account on the Crystal Reports Server.
    (in the area where is says "Enable Database Credentials").
    For each of our reports, we have the option "Use SSO context for database logon" selected.
    This causes the server to connect to the database using each user's database credentials when they run reports "on-demand".
    However, these credentials do not automatically populate when they go to schedule a report.
    Is there a way to get these credentials to populate the Database Login fields when scheduling reports to run?
    It seems odd to me that it would use the credentials "on-demand", but not when setting up a scheduled report.
    Any info would be appreciated.
    Thanks.

    Thanks Brian.
    What you describe is what we currently have setup.
    The difference with what I'm asking is that each user's account has different database login credentials.
    So when running "on-demand", it logs in using the credentials in their account settings.
    But when running "scheduled" everyone logs into the database using the default account.
    We have row-level security on the database (using Oracle VPD) to enforce security based on the user account that is logged into the database.
    This means that when running the report scheduled, the security doesn't work because it doesn't populate the database credentials from the user's account.

  • Scheduled report failures - Unexpected error getting the HTTP response

    Getting this error when scheduled report executes:
    Unexpected error getting the HTTP response stream while generating report: http://cdmdb1c.nam.nsroot.net:4889/em/console/reports/render

    Hi..
    Thanks for the comment.
    Below is how my web.xml entry looks like.
    The requirement is to send a 404 error response and that will be handled by a servlet which inturn writes the output to the response object.
         <servlet>
              <servlet-name>ErrorPageServlet</servlet-name>
              <servlet-class>com.test.ErrorPageServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>ErrorPageServlet</servlet-name>
              <url-pattern>/error</url-pattern>
         </servlet-mapping>
         <error-page>
              <error-code>404</error-code>
              <location>/error</location>
         </error-page>>>
    the first option to turn off the "show friendly html error pages" works fine.
    It would be better if I can get a different solution

  • Scheduled Reports keep in status Running

    Dear,
    when scheduling reports in Siebel , the job is created succesfull. But the status keeps 'running'.
    When I click on the job detail, I can see the Document Processing is 'Not Started'.
    I have no clue why this is not working.
    Creating the debug.xdo didn't help. I can not see any error messages there.
    Any hints/tips to help me make this working?
    Regards,
    Hans

    I got some more info regarding the problem.
    In the output console i see : '10/12/09 10:21:25 java.lang.NoSuchMethodError: oracle.xml.parser.v2.DocumentBuilder.setNodeFactory(Loracle/xml/parser/v2/XMLDocument;)V'
    This same error is also trowed when I want to view a report in the BIP UI.

  • FileNotFoundException, IOException when generating reports

    Dear all,
    My project is about basic CRUD operations and generate reports. When running on the Intergrated Weblogic Server (JDeveloper 11.1.1.2 version), everything's fine. But when deployed to the standalone Weblogic server, I get this error when generate the reports:
    * java.io.FileNotFoundException: null\ImportExportBillTmp.rtf ( The system can not find the path specified)
    IOException when generating report java.io.FileNotFoundException: null\ImportExportBillTmp.rtf ( The system can not find the path specified).
    I think this error has some relate to the weblogic configuration but do not have any clue where to start. Please share any suggestion you have.
    =============================================================
    I find the problems:
    * session.getServletContext().getRealPath("/reporttemplates") return null ; when it expected to return the real path of reporttemplates folder.
    But the solution is still not found.
    Thanks.
    Edited by: 927881 on Aug 22, 2012 9:07 PM

    Found the solution, it's not in the code. It's in the config of my web server.
    For me it's Weblogic 10.3, you go to Home - <your domain> - Configuration - Web Application, set Archived Real Path Enabled to true. Restart server and everything works fine.
    Hope this help anyone has the same problems like me.

  • Error when sending report output to printer from Forms 10g

    Hi,
    I have a simple report that I am running from a form using run_report_object built-in. I can successfully send the report output to a file but when I send the report output to a printer my report is
    terminated with report status of 'TERMINATED_WITH_ERROR'. I am using the default forms service and reports server that comes with the forms builder. How do I specify the reports server to user my default network printer ?Following is the code that runs my report.
    Thanks,
    Anna
    PROCEDURE SEND_TO_PRINTER IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(50);
    rep_server system_variables.reports_server%type;
    alldone          exception;
    BEGIN
         select reports_server
         into rep_server
         from system_variables;
         if rep_server is null then
              msg_alert('Error getting the reports server name', 'I', FALSE);                
              raise alldone;
         end if;
         :ctrl.run_report_errors := 'N';                    
         repid := find_report_object('REP_OBJ1');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,rep_server);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
         IF :ctrl.rg_print = 'P' THEN
              --Send the output to printer.
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,PRINTER);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt');
         ELSIF :ctrl.rg_print = 'R' THEN
              --Rich Text Format
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'rtf');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,:ctrl.filename);
         END IF;
         v_rep := RUN_REPORT_OBJECT(repid);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
              rep_status := report_object_status(v_rep);
         END LOOP;
         IF rep_status = 'FINISHED' THEN
              null;
         ELSE
              :ctrl.run_report_errors := 'Y';
              msg_alert('Error when running report.' || rep_status, 'I', FALSE);           
         END IF;
    EXCEPTION
         when no_data_found then
              msg_alert('Error getting the reports server name', 'I', FALSE);      
         when alldone then
              null;     
    END;

    If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
    LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel.

  • Scheduled report ( Do not send when no dada found )

    Hi
    good morning everybody
    I have a scheduled report in my work that sends daily cash spends to our managers , it works fine, but also sends with an empty attachment the day that company does not spend ,
    I want the scheduled report not to be sent when there is no data,
    can i do this ?
    thank you soo much

    Hi Larry,
    Generic paper 8 1/2" by 11" is standard but most printers have different physical printable paper area. Page margins come into play now. For example if you design a report using the generic printer driver and set your printable area margins to zero, now when you select a printer that has a 1/2" margin because it can't physically print to the whole paper size CR will have to adjust the margins and will likely start chopping off field info or in your case we may try to re-align the objects to fit.... It may be also that when you designed the reports the printer driver you were using may have problems which introduced problems in the report layout....
    Even if you don't select a printer depending on the version of Crystal we still use either the default printer or Microsoft's Generic Printer driver to format the page. It's either that or the screen driver but that would be impossible to do alone...
    In any event using the no printer option can cause more problems than it resolves.
    The next issue is with printer drivers, we had multiple escalations to try to "resolve" printer driver problems and 90% of them are due to old legacy and non-unicode compliant drivers.
    This is what I mean by producing a list of supported printers that you can test with.
    Thanks again
    Don

  • Scheduled Report Output to Printer

    Hi Guys,
    hope you are all well.
    Can someone help me.  I am have created a report and set this to be schedule at X time.  I need the report output via Business Objects XI to be to Printer.
    I have set up a printer and set it as a shared printer on the same server BO runs on.  I have also set the printer to Default.  When I schedule the report and set the Print Settings to Default Printer it does not print...no error messages...but no print.  Helppppp as I am going mad.
    Many thanks

    We just recently migrated to XI R2 on a new server, and did not consider the print settings...until a user noticed they could not print like normal
    We recreated the printers on the new server, and people could then choose a specific printer now. (We named the printers the same as the print ID on the server.)
    However, people could not choose Default Printer in Infoview (during Schedule). When they chose it, the report would be successful, but we were not sure where the output would go.
    I found a few articles on Knowledge base, and I think #1 and #2 may be our best alternatives.
    1202786 - A Crystal report printed through InfoView does not use the default printer on the client computer
    1203768 - The default printer is not chosen when printing from Infoview
    This last one seems little drastic - all scheduled reports on a jobs server would take the behavior of the job server. This seems excessive.
    1217095 - Report does not print when scheduled to printer in Crystal Enterprise or BusinessObjects Enterprise
    Article #1 &2 will require retooling of the rpt files, but we plan to address the user issues on a per report basis.
    Walter

Maybe you are looking for

  • Multiple signatures: signature clear disable / lock / read only

    I have a form with multiple signatures, for example a Purchase Requisition form... the author needs to buy something so he fills in the form with the product he needs to buy that is worth X amount. He signs it and sends it on to his manager for appro

  • 10.1 Bar Code 3 of 9 Font Problem

    We have several forms that use the bar code font 3 of 9. Since the 10.1 release the bar code has stopped rendering correctly. At the moment we are rolling back to 10.0.1 and that appears to resolve the issue however, it is a band-aid and I would like

  • How to stop an ORB server in other program

    I have writen an ORB server program, just like the sample HelloServer, the main thread wait on a new object forever. How to stop the server in some other programs? Is there some common method to stop ORB server except kill the main process. Thank for

  • Forward & Deleting messages with ios 8 software

    Can not forward or delete individual messages anymore with IOS 8 software update. Iphone 5s IOS 8

  • Mac Lion OS print driver for hp color laser jet 1600 & business inkjet 2200

    I just brought a Macbook Air (13in) with the new OS Lion.  I however have a HP Color Laserjet 1600 and Business Inkjet 2200 that I love, but can't find a printer driver for either.  So, my questions are, does anyone know if: 1)  there is going to be