Scheduling a report to print to a specific printer tray

I'm trying to schedule a report to print to a specific tray on a specific printer.
The SDK permits me to specify the printer, using ReportPrinterOptions, but it just seems to always print to the default tray for each printer and there are no ways, that I've found, to specify a particular paper tray to print from.
Normally this isn't an issue, but we have a client that has a special report that prints to special paper that's always available in the secondary tray of the printer.
Have I missed something obvious here?  Any help would be appreciated.

Hello,
You didn't specify the version of Crystal Reports you're using, the version of Visual Studio you're using, or which .NET SDK you're using. Assuming you're CR XI R2 (v11.5) with VS2003/VS2005 and the CR.NET SDK (reportdocument object) then you're looking for the CustomPaperSource property off of the PrintOptions class.
You can search the forums for additional posts, but I found this one - [Setting PaperSource|Re: Setting PaperSource;. There may be others.
You can also find information in the [CR XI R2 Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]. Search on CustomPaperSource.
There is a tutorial available under the [PrintOptions.CustomPaperSource Property|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crlrfCrystalDecisionsCrystalReportsEnginePrintOptionsCustomPaperSourceTopic.htm] search result.
This should get you back on track.
Sincerely,
Dan Kelleher

Similar Messages

  • I have created a form. I just want a specific area of the form to be printed to a specific printer in Windows 7. Is there a way to do this?

    There are 2 printers on the system.  I want to create a Print Button, so that if the user clicks it, a desired area prints on a specific printer.
    Thanks for your consideration.

    No, unfortunatley there is not.  For a full listing of Unicode supported characters please refer to section Unicode Character Support at FormsCentral Help | Formula syntax for built-in functions
    -Jeff Canepa

  • How to set to print to a specific printer name

    Background:
    I have a form (one page) which has two hidden pages to it (front and back of certificate).  The details entered on form appear on certificate.  I have a hidden button on form which when pressed asks for a password and unhides certificate if correct password is entered as well as a button on form to print the certificate.  This button to print the certificate is preset to print only pages 2 and 3.
    Question:
    I would like to know if there is a way of setting the "print certificate" button to automatically select a printer name as forms can be printed on any local printer but the certificate needs to print to a specific printer which is colour and has card stock.
    The only code I have currently behind this print button is the following:
    xfa.host.print(1, (xfa.host.numPages -2).toString(), (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);

    Hi,
    I am fairly sure that you cannot do it using the xfa.host.print, but you may get a printParams working. See an example here https://acrobat.com/#d=Kuivy1SdOSbQnRs3kyeVDQ, in particular on page 2.
    Hope that helps,
    Niall

  • How to Schedule a Report to Run on a Specific Business Day and Not on the Weekend

    Hi,
    Is there a way to schedule a Webi report to run on a specific Business Day? For example, if I wanted a report to run on the 3rd day of every month, but when the 3rd day for a particular month landed on a Saturday or Sunday, then Monday would automatically be chosen instead. Is that possible?
    Thanks,
    Michael

    Hi Michael,
    You can do that by selecting the calendar option while scheduling the report and manually selecting the 3rd day of every month and when the 3rd day for a particular month landed on a Saturday or Sunday, then select the next Monday.
    I dont see any option available for this scenario directly in BO.
    Regards
    Sri Harsha

  • How to print to a specific printer tray in BOXI

    Post Author: hoochpit
    CA Forum: General
    I have a customer that wants the same report to print to different printer trays depending on parameters sent it.  We have no problem recognizing which tray it should go to, but cannot get it to print to the tray that is specified.  It just prints to the same defualt tray every time.  They are running BOXI on a Windows OS.  Any direction would be great.

    http://support.ricoh.com/bb/html/dr_ut_e/ra/model/mpc281/mpc281en.htm
    googled it with this
    https://www.google.dk/search?source=ig&hl=da&rlz=1G1TSEH_ENDK367&q=Ricoh+Aficio+ MPC+3001&oq=Ricoh+Aficio+MPC+3001&gs_l=igoogle.3..0i10j0i30j0i10i30l3j0i30j0i5i3 0.159792.159792.0.160175.1.1.0.0.0.0.152.152.0j1.1.0...0.0...1ac.6gJzJbz0xZc

  • How to print to a specific printer tray

    Post Author: hoochpit
    CA Forum: Administration
    I have a customer that wants the same report to print to different printer trays depending on parameters sent it.  We have no problem recognizing which tray it should go to, but cannot get it to print to the tray that is specified.  It just prints to the same defualt tray every time.  They are running BOXI on a Windows OS.  Any direction would be great.

    Can you post some code? How are you getting you PCL to the printer?
    Take a look at the javax.print.attribute.standard.MediaTray print request attribute and see if that will help.
    Also take a look at my comments here: http://forum.java.sun.com/thread.jspa?threadID=5227412
    That may also help you.

  • Can I create an action that will print to a specific printer?

    Hi all,
    Simple question. I want to create two buttons. One that will print a form to printer 1 (a work printer) and one button that will print to printer 2 (OneNote printer, aka Send to OneNote).
    Is that possible? No extra options needed, just a quick print.

    With the JavaScript doc.print method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.511.html
    you can include the printer you want in the printParams object: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.1007.html

  • Adobe Reader 8 - Print issue to specific printer

    Hi,
    I have a RISO 5000 printer and everytime I attmept to print from Adobe Reader, the program will crash and the document does not print. The printer will print from any application other than this. We are using Adobe Reader 8 on Windows XP machines. How can I fix this?
    Thanks for the help!
    Jeremy

    I put this aside. The only thing I can think of, is installing earlier verisons and testing those. I'm not sure Adobe will assist on this issue since Adobe Reader is a free program. I'll post any solutions that come this way.

  • Unable to schedule a report to email and print

    I have been working on a task to both print and email a report to recipients whose email addresses are obtained at runtime.  So far I am able to email the report as a PDF attachment, however, I am not able to get the report to print.  I have three thoughts as to why the report is not printing.
    1. The printer is in a subdomain under the domain where InfoView and the Enterprise server reside.
    2. It is not possible to schedule a report for both an SMTP and print destination simultaneously.
    3. The format is causing an issue in printing - the SDK API states "Printer is a report format specific destination and can only be used when the report object is a Crystal Report."
    I have looked at the scheduled report in InfoView and can see that the print settings I am passing are correctly set for the scheduled instance.  Does anyone know if there is a problem with trying to schedule printing and email at the same time, or if the report format must be .rpt?
    Below is my code. Thank you for your time.
    String query = "Select SI_ID, SI_NAME, SI_PROCESSINFO, SI_SCHEDULEINFO, SI_SCHEDULE_STATUS From CI_INFOOBJECTS Where SI_ID=" + reportId;
            IInfoObjects results = null;
            ISchedulingInfo schedulingInfo = null;
            try {       
               results = iStore.query(query);           
            } catch( SDKException sdke ){
               logger.error(sdke);
            if( !results.isEmpty() ){
                // get the actual report object from collection and set scheduling information
                IInfoObject report = (IInfoObject)results.get(0);
                schedulingInfo = report.getSchedulingInfo();
                schedulingInfo.setType(CeScheduleType.ONCE);
                schedulingInfo.setRightNow(true);
                schedulingInfo.setRetriesAllowed(3);           
                try {
                    Set<String> keys = destinations.keySet();
                    Iterator i = keys.iterator();
                    while( i.hasNext() ){
                        String dest = (String) i.next();
                        if(dest.equals(CrystalDestinations.EMAIL)){
                            // get the destination object and set it to SMTP plugin
                            List emailAddress = destinations.get(CrystalDestinations.EMAIL);
                            IDestination destinationObject = schedulingInfo.getDestination();
                            destinationObject.setName("CrystalEnterprise.SMTP");    
                            IDestinationPlugin smtpPlugin = (IDestinationPlugin) iStore.query("SELECT * FROM CI_SYSTEMOBJECTS WHERE SI_PARENTID = 29 AND SI_NAME='CrystalEnterprise.SMTP'").get(0);
                            ISMTPOptions smtpOptions = (ISMTPOptions) smtpPlugin.getScheduleOptions();
                            smtpOptions.setDomainName( emailDomain );
                            smtpOptions.setServerName( smtpHost );
                            smtpOptions.setSMTPUserName( smtpUser );
                            smtpOptions.setSMTPPassword( smtpPass );
                            smtpOptions.setSubject( "Email for report " + report.getTitle() );
                            smtpOptions.setMessage( "This is the message body" );
                            smtpOptions.setSenderAddress( smtpUser + "@cdrh.fda.gov" );
                            smtpOptions.setSMTPAuthenticationType( ISMTPOptions.CeSMTPAuthentication.LOGIN );
                            for(int j = 0; j < emailAddress.size(); j++ ){
                                smtpOptions.getToAddresses().add( emailAddress.get(j) );
                            destinationObject.setFromPlugin( smtpPlugin );                                                                               
    } else if ( dest.equals(CrystalDestinations.PRINT) ){
                            List printers = destinations.get( CrystalDestinations.PRINT );                   
                            IReportPrinterOptions printerOptions = ((IReport)report).getReportPrinterOptions();
                            printerOptions.setCopies(1);
                            printerOptions.setEnabled(false);
                            printerOptions.setPrinterName( (String)printers.get(0) );                   
                            printerOptions.setPageLayout(IReportPrinterOptions.CeReportLayout.USE_SPECIFIED_PRINTER_SETTING);
                    List reportPrompts = ((IReport)report).getReportParameters();
                    for(int j = 0; j < reportPrompts.size(); j++){
                        IReportParameter prompt = (IReportParameter) reportPrompts.get(j);                   
                        if(prompt.getParameterName().equals(mdrParamName)){
                          IReportParameterSingleValue v = prompt.getCurrentValues().addSingleValue();
                          v.setValue(reportParameters.get(mdrParamName));
                        } else if(prompt.getParameterName().equals(addressParamName)){
                            IReportParameterSingleValue v = prompt.getCurrentValues().addSingleValue();
                            v.setValue(reportParameters.get(addressParamName)); 
                    IReportFormatOptions format = ( (IReport) report).getReportFormatOptions();
                    format.setFormat(IReportFormatOptions.CeReportFormat.PDF);
                    iStore.schedule( results );

    Hi Jason,
    Based on your code, I could not tell if you were scheduling a Crystal Report or a WebI document.
    Regardless, what I would suggest is you try scheduling the report/document on InfoView.
    Once you schedule it on InfoView, you can retrieve the instance on Query Builder (or through code) and compare the properties that are being set through InfoView and the one you set through your code.
    This should indicate if you are missing some properies or have set some properties incorrectly.
    Hope this helps.
    Regards,
    Dan

  • VBSCript .asp page 8.5 CRViewer Selecting specific Printer

    I am still writing in vbscript (not .net) and have a web page that currently uses activex and the CRViewer 8.5.  I need the report to print to a specific printer that does not have to display.  Will the CRViewer control do this or is there a better way to print a report directly to a selected printer?   I am needing examples.

    Hi, Herb;
    We don't have an exact sample of what you are looking for. But, have a look at these samples:
    https://smpdl.sap-ag.de/~sapidp/012002523100005920112008E/aspxmps85.exe
    There is one, that is export to file. It does not use the viewer, as viewing is not needed, just as you will not need to view.
    You can then use the PrintOut method of the report object to print the report without viewing it.
    Regards,
    Jonathan

  • Printout a pdf file in a specific printer.

    Hi experts,
    I am facing the following problem: I have a PDF file that i want to print without using a user interface to do it. I created a database table where I store the name of the PDF file that I need to print, the type is BDS_FILENA. Now at a certain hour I want to send the PDF file to be printed in a specific printer installed in the network. The idea is to create the code that sends out the files only by giving the file name.
    I already have the PDF file uploaded in the system (is not a local file I want to print).
    I know that using the FM GET_PRINT_PARAMETERS I am able to config whether the IMMEDIATELY, NO_DIALOG, DEVICE (printer name), etc.
    My question is, by calling this FM it will send the spool defined in the DATA_SET parameter to the printer??? how can I add the document to the spool (I am assuming that the DATA_SET is the spool where the documents are ready to be printed... Am I right?) By calling this FM, automatically will start the print due to I have defined the IMMEDIATELY parameter as 'X' right or do I have to call another FM to start the printing?
    I have check these forums: [Thread 1|http://www.sapfans.com/forums/viewtopic.php?f=13&t=23697&start=0&st=0&sk=t&sd=a], [Thread 2|Re: Query: Single Spool request to print multiple smart forms] but I am not too sure about if it is what I need.
    Can you please guide me a little bit about it?
    In advance, thanks a lot for your comments or observations.
    Cheers,
    Mauricio.-

    Hi again,
    Ok, I have read about the RSPO_*_SPOOLREQUEST FM, but in non of them I figure out what is the FM that I need to call to send the spool to the printer...
    RSPO_OPEN_... will return the spool number. that spool number I will need to pass as SPOOL_REQUEST_ID parameter in the RSPO_OUTPUT_SPOOL_REQUEST right?
    I understood that I will have to convert the PDF into a spool, i don't know yet how to do it... but it is something that seems to be easy, but the printer side I cannot understand. Using those calls I am able to convert the PDF from hte XSTRING type to a spool. but after the conversion, how do I send to document to the printer?? I don't need to download it to a local computer, i just need to printout the PDF or the data inside the PDF with all the layout (Title, headers, footers, etc.)
    In advance, thanks again.

  • Set specific Printer for Print Job

    Hi everybody
    I want to send different print job after one another. When I use PrinterJob it displays Print Dialog every time to select a specific printer if it is not default otherwise it send the print to default printer. How can I send print job to specific Printer.

    Search the tutorials
    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Bprintjob&col=javatutorials&x=38&y=8
    Search the forums
    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Bprintjob+%2Btitle%3Aprinter&col=javaforums&x=35&y=16

  • Specific Printing with Network Logins

    I want to be able to have select eMacs running 10.3.9 to be able to only print to a specific printer. I want to have this printer to be hidden/unseen from all other computers on the network.
    There are network logins, so randoms users will be on these computers. I am running server 10.3.9, manage with workgroup manager.
    I dont care if these select eMacs can print/see other printers I just want theses eMacs in a Lab to be the only computers to print to a HP Color Laser Jet 3500.
    I was told this can be done, but am unsure how. I am fairly new to this, so any help or advise would be awesome.
    Thanks,
    Jeff
      Mac OS X (10.3.9)   Server 10.3.9

    We're running 10.4 but I think this can still work in 10.3.9.
    In Workgroup Manager create a group of computers for the eMacs you want to have access to the printer. Add the computers to the group. Select the group and edit the preferences>printing. Select the printers you want the managed group to see. Reboot the clients. You should have the printer you desire. You may want to select in the same window that users are not permitted to edit the printer list so that the users cannot add printers.
    As far as other machines not being able to print to that printer. Select all other machines or groups of machines and simply make sure that the printer is not part of their managed printers list.
    As it is a newer printer you may need to shut off the bonjour broadcasting of the printer as each local subnet mac will be able to see it regardless of printers selected above.
    This way of handling the problem requires total commitment to managing all clients printers (if you require only your eMac group to have access).
    Others may have better ideas, but this should work.

  • Printing to a specific tray using JDK 1.3.

    I want to select a particular printer tray while carrying out printing.
    I am using JDK 1.3.Can this be made possible.
    To explain in detail , My application would be actually fetching the printer details .No dialogue box is supposed to pop up.Once the print button is clicked directly the page should be printed to a specific printer & a particular tray.
    Can anyone guide me.

    I suggest taking a look at the following thread:
    http://forum.java.sun.com/thread.jspa?threadID=555165&tstart=0

  • Print a report to a specific printer from Forms

    I have a form from where i want to print a report to a specific printer (not the default printer). Is there any way to do this from Forms 9i. Im using the Orarrp but it pops up the printer dialog and shows the default printer. Is there any way to harcod the printer name. the printer is on the network..

    If i go to my control pannel and see the list of printers i take the printer name from there. should i put the path of the printer? i kno the port of the printer .it come like ip_192.1.11.1_p1 ..how do i define the printer name? if i dnt give the printer name shouldnt if fire to the default printer ..my code is as follows
    declare
    REPID REPORT_OBJECT;
    V_REP VARCHAR2(100);
    REP_STATUS VARCHAR2(20);
    BEGIN
    REPID := FIND_REPORT_OBJECT('CUS_PRINT');
    SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_DESTYPE,PRINTER);
         SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_SERVER,'test');
    SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_OTHER,'P_CUSREF='||:CTRL01.CUSREF||' PARAMFORM=NO');
         MESSAGE('SET REPORT PROP');
    V_REP := RUN_REPORT_OBJECT(REPID);
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    MESSAGE('RAN REPORT');
    WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
         REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    END LOOP;
         IF REP_STATUS = 'FINISHED' THEN
              IF NVL('TEST',' ') <> ' ' THEN
              GEN_ALERT('NULL_ALERT','TEST');
              END IF;
              ELSE
         GEN_ALERT('NULL_ALERT','Error when running report');
         END IF;
    END;
    what should the desformat of the report should be..when im trying to run this it gives me 'no data found' error...why???

Maybe you are looking for

  • DVD Error (help!)

    hallo. the reason i am writing today is because i am getting the following error message when i insert a dvd that i just rented from my local retailer: "You have inserted a disk containing no volumes that Mac OS X can read. To continue with the disk

  • External trackpad windows 8 problems

    I know this has been discussed, but I'm having trouble finding the solution. I'm typing this on my external bluetooth keyboard and external trackpad on my Macbook Pro Retina. The things I can not do on my external trackpad right mouse two finger scro

  • Use image instead of submitbutton

    Hello, I try to use an image instead of the <submitButton> Tag supported by UIX. I have a form with BC4J Table and tableSelection in it. Now I want to submit this form instead of the update or delete Buttons generated by JDeveloper with an image. The

  • Disk Permissions are these ok to leave alone?

    I just repaired my disk permissions and this is what came up: Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- . Permissions differ on "System/Library/CoreServices/Fr

  • P3005 error message PCL XL error IllegalMediaSource extra sheet printed after every print job

    We have a networked P3005 with a stepped back PCL5e driver working for three Word 2003 people and one Word 2007 person. Out of the blue the Word 2007 person began getting an extra sheet of paper after every print job with the error message PCL XL err