JPS - Custom printer name

Hi,
I am using Java Print Service(JPS) and PDFRenderer to print my PDF from server end.
I have the list of printers in a table and the document has to be printed on the selected printer.
In JPS, it looks for the configured printers in that particular machine.
1. Please let me know how to set the custom selected printer from the database.
2. What are the parameters required to print the document?
Printer name,port, What else is required?
Thanks & Regards,
Sudhindra

You could, but it would be VERY VERY messy. It would take much more time and effort to do that than customizing the RDF.
Is there a reason why you don't want to customize the RDF?
Kurz

Similar Messages

  • Setting Custom printer to default

    Printing is not work for me with Read 8.1 on Linux (Ubuntu). It only works if I set printer to Custom and give it an explicit command, e.g. "Lpr -Plp4".
    However whenever I restart reader it does not keep custom as the default but goes back to the value set in "LPDEST" environment variable, anyone know how to fix this?

    Hello Neha,
    Clicking on the properties button does not seem to have any effect, i.e. no text is displayed.
    In the Printer dialog box I have on the left:
    Name lp4 (from pull down menu)
    status lp4 is ready
    Type Unknown
    when I run "strace -s 256 -f -ff -o log1 acroread"
    and using the "default printer" in the pull down menu I get this line amongst others in the main log
    readv(3, [{"*acroread*lprCommand:\t/usr/bin/lpr -Plp4\n", 41}, {"\0\0\0", 3}], 2) = 44
    and this line in the subprocess log
    execve("/usr/bin/lpr", ["lpr", "-P", "lp4", "/tmp/acroread_1128_1128/AcroPTv0YZ"], [/* 81 vars */]) = 0
    but no print output.
    Doing the same but choosing to use the "custom printer /usr/bin/lpr -Plp4" gave this line in the main log
    readv(3, [{"*acroread*lprCommand:\t/usr/bin/lpr -Plp4\n", 41}, {"\0\0\0", 3}], 2) = 44
    and this line in the suprocess log
    execve("/usr/bin/lpr", ["lpr", "-Plp4", "/tmp/acroread_1128_1128/Acro2p8I98"], [/* 81 vars */]) = 0
    and it prints output
    If do the same again but use the "custom printer /usr/bin/lpr -P lp4" I get
    readv(3, [{"*acroread*lprCommand:\t/usr/bin/lpr -Plp4\n", 41}, {"\0\0\0", 3}], 2) = 44
    execve("/usr/bin/lpr", ["lpr", "-P", "lp4", "/tmp/acroread_1128_1128/AcroPTv0YZ"], [/* 81 vars */]) = 0
    and again it prints output
    thanks,
    Dave.

  • Sales Analysis with Customer Group Name

    Hi,
    Just want to know whether anyone knows how to add the Customer Group Name in SAP Standard Sales Analysis Report?
    I have tried to add in Sales Analysis layout designer, but the value reflected is not correct. E.g. when my customer group criteria is Retail group, but the report layout printed out is Corporate group.
    In layout designer, my source type = database, table = card groups, column = group name. Thanks.
    Regards,
    MH

    I have checked that Sales Analysis Report by Customer - Monthly and by Invoices - by Individual Display should be ok to bring the right group name based on your selection if you put the new field in the right place. (source type = database, table = card groups, column = group name)
    Where do you create this field? What is your B1 version and PL?
    Thanks,
    Gordon

  • Accessing Printer name from Registry

    Hi,
    I am trying to use the following program to get the Printer name from my Registry.. this program has been taken from Forums.
    package yourpackage;
    import java.awt.Graphics;
    import java.awt.print.PageFormat;
    import java.awt.print.Printable;
    import java.awt.print.PrinterException;
    import java.awt.print.PrinterJob;
    import oracle.forms.ui.VBean;
    import oracle.forms.properties.ID;
    public class printDialog extends VBean
    private static final ID PRINTER = ID.registerProperty("PRINTER");
    public printDialog()
    class PrintObject implements Printable
    public int print (Graphics g, PageFormat f, int pageIndex)
    return NO_SUCH_PAGE;
    public Object getProperty(ID id)
    if (id == PRINTER) {
    PrinterJob job = PrinterJob.getPrinterJob();
    job.setPrintable(new PrintObject());
    if (job.printDialog())
    return job.getPrintService().getName();
    } else {
    return null;
    } else {
    return null;}
    This program when compiled gives me the error as
    Error(32,12): method getPrintService() not found in class java.awt.print.PrinterJob
    I did set the project settings from Project-Project Settings and included Oracle Forms Libraries. But I still continue to get the error.
    What is the relevant class that I have to add and also how will I add it as I am a bit new to JDev.
    Early response would be highly appreciated
    Thanks a lot for your time and help
    Narain.

    Narain,
    the code is from Oracle Forms and wont run in any other context. The code used within this sampel is teh Java printing services API available in Java 1.4.
    http://java.sun.com/j2se/1.4.2/docs/guide/jps/spec/JPSTOC.fm.html
    Frank

  • Officejet 5610 not able to create custom print sizes

    Hi -- I use my Officejet 5610 for both my work and my personal printing needs.  On my work computer which has Windows XP as the operating system,  when I got to Properties and Paper Options/Quality tab there is a button for me to select "Custom Size".   On my personal computer which has Vista Home Basic as the operating system there is no option on the Paper Options/Quality tab to choose a custom print size.  Is there a driver that I might be missing which would allow the custom print size on the Vista computer?  I'm trying to print envelopes which are 6" x 9" and nothing I do seems to work.  I have managed to print one envelope using Letter size but that took about 6 hours to get one printed.   My envelopes keep causing a paper jam -- which once cleared from the printer is still showing up as a jam on the computer and I have to re-boot the whole system to clear it.
    Any suggestions would be greatly appreciated.
    Thanks!

    Hi,
    Try the following
    open solution center> Setting> Printer Settings> Print settings and you will find a custom option there and then create a new size and give it a name and when you print from any application you will see the new size reflection in the application. Are you not seeing the custom option as seen below?
    I was an HP employee
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may select the "Kudos" button on any helpful post to give that person a quick thanks.

  • Custom Printing Size for 5520

    Hello, 
    I have a HP 5520 and a Mac computer with a OS X 10.6 operating system. I'm trying to create a custom paper size to print a 5.25 x 5.25 in card. This isn't a typical paper size and am having trouble figuring out how to create a custom paper size. I know that I can do it because I've done it in the past but unfortunately do not remember how I figured it out. Any help and step by step instructions would be very much appreciated!
    Thanks!

    Hi @tbot0712,
    Welcome to the HP Forums!
    I understand that you are trying to create a custom printing size on Mac OS X 10.6 for your HP Photosmart 5520. I am happy to look into this for you!
    According to this guide, Create Custom Paper Sizes in Windows 7, Windows 8, and Mac OS X. Follow these steps to create and use a custom paper size in Mac OS X.
    Step one: Create the new custom paper size
    Load the custom-sized paper into the paper input tray.
    In the software you are printing from, click File, and then click Page Setup.
    From the drop-down list, select the name of your printer if it is not already selected.
    Click Manage Custom Sizes in the Paper Size drop-down menu.
    Click New, and then type a name for the custom paper size in the Paper Size Name box.
    note:
    Do not use an existing paper size name for your new custom paper size name. For example, if a custom paper size is named A4, then the existing A4 paper size is no longer be available as a choice. Use a different, unique name for the custom size paper.
    In the Width and Height boxes, type the dimensions and set the margins, if desired.
    Click Done or OK, and then click Save.
    Step two: Select the new custom paper size
    Click File, and then click Page Setup.
    Select the new custom paper size, and then click OK.
    Click File, and then click Print.
    Select the Paper Handling panel.
    Under Destination Paper Size, click Scale to fit paper size tab, and then select the custom paper size.
    Change any other print settings, and then click OK or Print.
    Hope this is the information you were looking for, and have a great day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Custom Print Option

    HI guys i have  custom print option in our reports, problem is when we are trying to clcik on print, it is opening up one more window which shows as blank, can some one let me whats wrong in my code.
    DATA_PROVIDER: DATAPROVIDER_1
    TEMPLATE PROPERTIES
    "SAPBEXBtnStdBorder" cellspacing="0" cellpadding="0" border="0">
    " target=_blank> Print
    ITEM: TABLE_1
    Thank You,
    Kris

    Daniel,
           I am using BW 3.5 with SP14. I solved it by my own.
    Below is the code try it, it should work. I took Text Elements and Table.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE>BW Web Application</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=unicode">
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="QUERY" value="ZHRPA_M01_Q02_3N1"/>
             <param name="INFOCUBE" value="ZHRPA_M01"/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="ZPRINTTEST"/>
             TEMPLATE PROPERTIES
    </object>
    <META NAME="GENERATOR" Content="MSHTML 6.00.2800.1543"  >
          <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
    </HEAD><td>
    <BODY>
    <A class=SAPBEXBtnStd title="Print via Web Button"
    href="<SAP_BW_URL cmd="PROCESS_HELP_WINDOW" help_service="ZPRINTING" item="TABLE_1"  P_SHOW_FILTER=' '
    P_HEADER_RIGHT='THIS IS THE HEADER'
    P_PREVIEW_MODE=''
    P_DATA_AREA_ROWS='36'
    P_DATA_AREA_COLUMNS=' '
    P_HEADER_HEIGHT='1'
    P_FOOTER_HEIGHT='1'
    P_DATA_AREA_PADDING_TOP='.25'
    P_DATA_AREA_INDENT_LEFT='.5'
    P_DATA_AREA_INDENT_RIGHT='.1'
    P_PAGE_WIDTH='.5'
    P_PAGE_HEIGHT='1'>" target=_blank><NOBR><b>Print</b> </NOBR></A></TD>
    <P>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TEXTELEMENTS_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="GENERATE_CAPTION" value="BORDER"/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="SHOW_FILTERS" value=""/>
             <param name="SHOW_VARIABLES" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="REPTNAME"/>
             <param name="ELEMENT_TYPE_2" value="COMMON"/>
             <param name="ELEMENT_NAME_2" value="ROLLUPTIME"/>
             <param name="ELEMENT_TYPE_3" value="COMMON"/>
             <param name="ELEMENT_NAME_3" value="SYUZEIT"/>
             ITEM:            TEXTELEMENTS_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TABLE_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="325"/>
             <param name="BLOCK_SIZE" value="50"/>
             <param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1"/>
             <param name="HELP_SERVICE" value="ZPRINTING"/>
             <param name="HELP_SERVICE_CLASS" value="Z_PRINT_HELP_SERVICE"/>
             ITEM:            TABLE_1
    </object></P>
    </BODY>
    </HTML>
    Hope this is solve your problem too. Let me know if you need anything.
    Thank You,
    Kris.

  • How to Create the Custom print Quote Report ?

    Hi All,
    I want to create the custom Print Quote report . I know the below details and referred the below metalinks .
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1.
    Oracle Metalink:
    Note: To add a column to the print quote report, following files need to be updated:
    LinesVO.xml --- xml files containing the sql query and attribute definition
    LinesVORowImpl.class - public class extending the framework class OAViewRowImpl.
    This class contains the set and get for the attributes defined in xml file.
    ASOPRINT.xsl - this is the xsl stylesheet file used to describe the report layout.
    This file needs to be modified to include the new column being added to the report
    QUESTION :
    My question is,
    1. wether my approach (below iare the details)of trying to extend the PromptVO is the right way or is there any other way to add the new columns.
    I want to add new fields on to the report . When i looked into the it says the below
    Here we find that to add a new column, oracle says to update the LINESVO.xml, do they really mean to update the base files.
    This report uses following VO's
    PROMPTVO
    HEADERVO,
    LINESVO.
    To create new Headers & Prompts, i tried extending the PROMPTVO. Once the extended VO is substitued , i dont even get the data for standard oracle Prompts. is this the right way to add columns?
    Thanks

    Hi All,
    I want to create the custom Print Quote report . I know the below details and referred the below metalinks .
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1.
    Oracle Metalink:
    Note: To add a column to the print quote report, following files need to be updated:
    LinesVO.xml --- xml files containing the sql query and attribute definition
    LinesVORowImpl.class - public class extending the framework class OAViewRowImpl.
    This class contains the set and get for the attributes defined in xml file.
    ASOPRINT.xsl - this is the xsl stylesheet file used to describe the report layout.
    This file needs to be modified to include the new column being added to the report
    QUESTION :
    My question is,
    1. wether my approach (below iare the details)of trying to extend the PromptVO is the right way or is there any other way to add the new columns.
    I want to add new fields on to the report . When i looked into the it says the below
    Here we find that to add a new column, oracle says to update the LINESVO.xml, do they really mean to update the base files.
    This report uses following VO's
    PROMPTVO
    HEADERVO,
    LINESVO.
    To create new Headers & Prompts, i tried extending the PROMPTVO. Once the extended VO is substitued , i dont even get the data for standard oracle Prompts. is this the right way to add columns?
    Thanks

  • Custom File Name Format in B2B Console

    Hi,
    Please let me know if we can have a customized File Name Format in the B2B Console for the X12 EDI/XML Files.
    I have read the Oracle doc and only the following formats are mentioned:
    %FROM_PARTY%
    %TO_PARTY%
    %DOCTYPE_NAME%
    %DOCTYPE_REVISION%
    %MSG_ID%
    %TIMESTAMP%
    Is there a way to have a PO# (From the Trading Partner Payload) in the filename format?
    You help is appreciated.
    Thanks
    Priyanka G

    no. It has the format which helps B2B in identifying the agreement

  • Remove Printer Name from Crystal Report

    How can i remove the printer name from the Crystal Report so that the PrinterName property of the CRAXDRT.Report object in the RDC SDK is blank WITHOUT having the "No Printer" Option checkbox checked?
    Here's the scenerio.  When I first create a Report and don't go into Page Setup, PrinterName property is blank.  If I go into Page Setup and explicitly select a printer, PrinterName property equals the name of the printer selected.  If I check the "No Printer" checkbox in Page Setup, PrinterName property is blank.  But if i go back in and uncheck the "No Printer" checkbox in Page Setup, the PrinterName property equals the name of my Windows Default Printer.

    I'm still not sure what is unclear about my first question.  And I'm not sure how any of the info you are requesting is going to make any difference in answering my question.  And I'm not sure how your analogy fits here but ..
    Version of CR = 11.0.0.895
    CR Service Packs applied = None
    Web or Win app? = Win App
    OS? = Windows XP Service Pack 3
    Development language?  = Both Visual Basic 6 and C#.Net 2008
    Method of CR files deployment = email the .RPT file to a client
    Where were the runtime files downloaded from? = Runtimes are installed from Merge Modules donwload from SAP site
    What is the version of the craxdrt.dll on the deployed box? = 11.0.0.893
    So here are the exact steps so you can understand what is going on:
    I have the Crystal Reports Application open side-by-side with my Visual Basic development environment in debug mode so i can step through the code using the RDC SDK.
    1. I open the Crystal Reports Application and create a brand new report - "Test.RPT" and DO NOT go into Page Setup at all and save the report.
    2. In my Visual Basic development environment, i run the code that will generate the report, Here's the exact code
        Dim m_crApp As CRAXDRT.Application
        Dim m_crReport As CRAXDRT.Report
        Set m_crApp = New CRAXDRT.Application
        Set m_crReport = New CRAXDRT.Report
        Set m_crReport = m_crApp.OpenReport("Test.RPT")
    3. When i look at the PrinterName property in the CRAXDRT.Report object, it is blank.
        ie. crReport.PrinterName is equal to ""
    4. I reopen the Crystal Reports Application with report "Test.RPT" and go into Page Setup and check the "No Printer" option.
    5. I go back into my Visual Basic development environment and rerun the code that will generate the report.
    6. When i look at the PrinterName property in the CRAXDRT.Report object, it is still blank.
        ie.  crReport.PrinterName is equal to ""
    7. I reopen the Crystal Reports Application with report "Test.RPT" and go into Page Setup and uncheck the "No Printer" option. I have NOT specified any printer, nor have i clicked the "Printer..." button to setup a printer....i have just unchecked the "No Printer" option
    8. I go back into my Visual Basic development environment and rerun the code that will generate the report.
    9. When i look at the PrinterName property in the CRAXDRT.Report object, it is now set to my WINDOWS DEFAULT PRINTER, yet i had not specified any printer.
        ie.  crReport.PrinterName is equal to "
    MyNetwork\MyPrinter"
    PROBLEMS:
    1. The client needs the report to go to the default windows printer of their machine
    2. If the "No Printer" Option is checked, the Report does not print at all
    3. If the report is set to MY default windows printer and i give it to the client, at times it takes upwards of to a minute for the Print Dialog to disply.  As i've read on other forum posts, it appears Crystal is looking for MY printer on the clients machine and takes a minute before i realizes it can't find it and then sets it to the CLIENTS default windows printer.
    4. The client believes it is unreasonable to wait a minute for the print dialog to appear ...and i agree.
    5. I cannot change the code to use the Select Printer in the RDC SDK - it's a long explanation why but just suffice it to say that i cannot do this.
    All i want to do is either:
    1. Remove the Printer Name in the actual report from the Crystal Reports designer - basically undoing what Crystal did when i went into Page Setup.
    2. Via the RDC SDK, be able to detect the "No Printer" option is selected. Checkign CRAXDRT.PrinterName equal to "" is not an option.

  • I can not print a report from my quicken program because the printer name has the word on in it

    I recently purchased and installed a HP Officejet Mobile L411 printer. For all apps. on my computer (Window&) the printer name is as follows: HP officiate Noble L411. On my Quicken program the printer name is as follows: HP Officejet Mobile L411 on USB001. In checking Quickens help/troubleshooting guide, Ifound thirst statement, make sure the printers name doesn"t contain the word "on". My question is how do I get my printers name in Quicken changed so it doesn't contain the word "on"

    Try opening the PDF in Preview and see if it will print out of it.

  • How to print Photo Info in the Custom Print Package

    I am  using LR CC, latest version on a Windows7 PC.
    I am trying to print Photo Info in the Custom Print package. I have no trouble selecting Photo Info in the Single Image/Contact Sheet Layout Style, but when I switch to the Custom Print Package, the Photo Info check box in the Page panel, disappears. I can't find any reference to this in the manual as to why this would occur, or not be available.
    Appreciate any help with this matter.
    Best Regards
    Steve

    Hi,
    Have a look at: Lightroom Help | Print module layouts and templates
    Only on the Single Image and Contact Sheet layouts can you " ... print information about photos, such as the filename, title, caption, and keywords ..."

  • Object Custom Program Name of class RE and language EN does not exist

    Hi All,
             We are getting this bbelow error while running a custome program ,
    Object <Custom Program Name> of class RE and language EN does not exist
    Do any one has faced this similar issue earlier.
    Regards,
    Sen

    Hi,
    How did you resolve this problem ?
    Re: Object <Custom Program Name> of class RE and language EN does not exist.
    I am also encountering the same issue when I am executing the report.
    Regards,
    SSR.

  • Printer name is Truncated while creating TO in WM area from QM notification

    Dear All,
      While creating transfer order(WM) from QM notification. I am getting error  "device <printer name> does not exist". Even though printer name is available i am getting this error.  When the length of printer name is greater than 4 only i am facing this error.
    while checking the screen 3000 in program SAPLQMLR . Field LTAP-LDEST is not checked for Scrollable option. Where as the same field is used in WM T.code LT01 there scrollable option is checked , if we select the same printer system is accepting.
    I searched for SAP noted i dint find any thing related to this.
    Have any one faced such problem and got any solution. If so please provide the details.
    I would like to get suggestion to over come this bug.
    Thanks in Advance.
    Regards
    Srihari.P

    There is a notes available in SAP. Using this only it is possible to solve this problem
    Regards
    Srihari P

  • ReportSDKPrinterException: Printer name could not be set

    I am working on testing a web application with BOE XI V 3.1.  I have the database and RAS machines setup.  I have been working on changing my app to printing through the RAS.  I have print preview and export working, but am running into issues printing to a printer.
    On the RAS which is on a virtual machine, I have a printer setup as a local printer to a tcpip port so the VM can access a printer on our network.  But when I call the clientDoc.getPrintOutputController().printReport(printOptions); I get the error message ReportSDKPrinterException: Printer name could not be set.
    I have also on the side been testing using a small jsp modified from a working print preview.
    Here is the jsp:
    <%@ page contentType="text/html; charset=utf-8" %>
    <%@
       page import="com.crystaldecisions.sdk.occa.report.application.*,
      com.crystaldecisions.sdk.occa.report.data.*,
      com.crystaldecisions.sdk.occa.report.document.*,
      com.crystaldecisions.sdk.occa.report.lib.*,
      com.crystaldecisions.report.web.viewer.*"
    %>
    <html>
    <head>
    <title>Print Report</title>
    </head>
    <body>
    <%@ include file="AlwaysRequiredSteps_UnmanagedRAS.jsp"%>
    <%
      // Populate parameters
      clientDoc.getDataDefController().getParameterFieldController().setCurrentValue("", "TAB_ID", "Configuration");
      clientDoc.getDataDefController().getParameterFieldController().setCurrentValue("", "LOGO_LOCATION", "d:\\reports\\images\\highjump.gif");
      PrintReportOptions printOptions = new PrintReportOptions();
      printOptions.setPrinterName("Dell");
      clientDoc.getPrintOutputController().printReport(printOptions);
      clientDoc.close();
    %>
    </body>
    </html>
    The code from AlwaysRequiredSteps_UnmanagedRAS.jsp is:
    <%
    // This file contains the required steps to open an unmanaged report from a file path accessible to the RAS Server.
    // Modify this path to the location of the report on your system.
    String path = "rassdk://C:\\reports\\ReportList.rpt";
    // Create a new Report Application Session.
    ReportAppSession ra = new ReportAppSession();
    // Create a RAS service.
    ra.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");
    // Set the RAS server to be used for the service.
    ra.setReportAppServer("10.192.183.196:1566");
    // Initialize RAS.
    ra.initialize();
    // Create the ReportClientDocument object.
    ReportClientDocument clientDoc = new ReportClientDocument();
    // Set the RAS server to be used.
    clientDoc.setReportAppServer(ra.getReportAppServer());
    // Open the report, and set the open type to Read Only.
    clientDoc.open(path, OpenReportOptions._openAsReadOnly);
    %>
    The result I get from running this is:
    HTTP Status 500 - An exception occurred processing JSP page /PrintReport.jsp at line 28
    type Exception report
    message An exception occurred processing JSP page /PrintReport.jsp at line 28
    description The server encountered an internal error that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: An exception occurred processing JSP page /PrintReport.jsp at line 28
    25:   PrintReportOptions printOptions = new PrintReportOptions();
    26:   printOptions.setPrinterName("DELL");
    27:  
    28:   clientDoc.getPrintOutputController().printReport(printOptions);
    29:
    30:   clientDoc.close();
    31: %>
    Stacktrace:
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    root cause
    javax.servlet.ServletException: com.crystaldecisions.sdk.occa.report.lib.ReportSDKPrinterException: Printer name could not be set: DELL---- Error code:-2147215357 Error code name:internal
      org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:916)
      org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:845)
      org.apache.jsp.PrintReport_jsp._jspService(PrintReport_jsp.java:133)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    root cause
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKPrinterException: Printer name could not be set: DELL---- Error code:-2147215357 Error code name:internal
      com.crystaldecisions.sdk.occa.report.lib.ReportSDKPrinterException.throwReportSDKPrinterException(Unknown Source)
      com.crystaldecisions.sdk.occa.report.application.PrintOutputController.printReport(Unknown Source)
      org.apache.jsp.PrintReport_jsp._jspService(PrintReport_jsp.java:120)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    root cause
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKPrinterNotFoundException: Printer name could not be set: DELL---- Error code:-2147215365 Error code name:printerNotFoundError
      com.businessobjects.crystalreports.printer.bean.a.try(Unknown Source)
      com.businessobjects.crystalreports.printer.bean.ReportPrinter.setPrinterName(Unknown Source)
      com.businessobjects.crystalreports.printer.bean.ReportPrinter.print(Unknown Source)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      com.crystaldecisions.sdk.occa.report.application.PrintOutputController.printReport(Unknown Source)
      org.apache.jsp.PrintReport_jsp._jspService(PrintReport_jsp.java:120)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    root cause
    java.awt.print.PrinterException: No printer named "DELL" could be found.
      com.businessobjects.crystalreports.viewer.core.f$a.a(Unknown Source)
      com.businessobjects.crystalreports.viewer.core.f.a(Unknown Source)
      com.businessobjects.crystalreports.printer.bean.a.try(Unknown Source)
      com.businessobjects.crystalreports.printer.bean.ReportPrinter.setPrinterName(Unknown Source)
      com.businessobjects.crystalreports.printer.bean.ReportPrinter.print(Unknown Source)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      com.crystaldecisions.sdk.occa.report.application.PrintOutputController.printReport(Unknown Source)
      org.apache.jsp.PrintReport_jsp._jspService(PrintReport_jsp.java:120)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.53 logs.
    Apache Tomcat/7.0.53
    I would really appreciate any help in figuring out how to print to the RAS.
    Thanks in advance.

    Hi Jason,
    Could you please let us know the complete Business Objects version with Service Pack and Fix Pack?
    Actually the issue you are facing was identified as a bug and was fixed in Business Objects Enterprise XI 3.1 FixPack 2.2.
    Please go through the SAP Note: 1417374 - Error "Printer name could not be set" when printing using the RAS SDK.
    Hope this helps.
    Regards,
    Rajarsh

Maybe you are looking for

  • 3 Questions for 8310

    1.  Do I need to format the SD media card? 2.  How do I get all attachments?  Some say too large and some say truncated. 3.  How do I view WMV files.  Many download and I can hear them, but not view them? Please advise. Thank you! Tigered

  • E65 - 2,5 hour problem with time when synchronizin...

    Hey everybody I sincerely hope you guys can answer me on a pretty nasty problem. I have synchronized my E65 with my outlook, but EVERY single entry has moved exactly 2,5 hours forward, so all my meetings now starts 2,5 hours later than usually when i

  • ALV Layout.

    Hi, i really can't figure out what is wrong. i can't steer alv gird in a way to have possibility to set/change layout. I can olny get icon, which opens window where i can choose saved layout (couse i'm not able to save layouts so i can't choose any l

  • CSS Header - how to create image map on header image?

    So I am pretty new to CSS.  I created a tag <div id="page_header"> and then have an image called "header.jpg" that shows up fine.  But now I want to make that header clickable so I can use it as the link back to the home page.  If it were a basic ima

  • Organizational structure in export mode

    hi all,        pls help me out in knowing abt the organizational structure in  expert mode in detail. thank you.