Restrict printing a report on physical paper

HI All
I am generating online report from my Forms 10g application in the web browser in PDF format.
Now I want to restrict the user to take print of that report on physical paper based some application restrictions.
How do I achieve this?
Thanking You

Hi Oais,
I have a payroll report that should be printed on a sheet that is very large in width..even bigger than A3.
The client says thay are going to print it on paper rolls or something.If the client wants to print on whatever we developers do not have a problem.
We just need to adjust the width and height as required and then develop the report as required.
To set the width or height from Object Navigator, Under Layout Model you can find Header Section, Main Section and Trailer Section, just set the width and height as required.
Hope this helps.
Best Regards
Arif Khadas

Similar Messages

  • Print crystal report in A5 paper tray

    Dear Experts,
    I am using VB.NET
    We have different printers like "Lexmark Optra T612_DB", "HP Universal Printing PCL 5 (v4.7)", etc., in the network, there will be 2 or more trays for each printer. One of the tray has A5 paper in it. While printing Crystal report,
    1. How to find in which tray A5 paper is present?
    2. How to select A5 paper tray for printing?
    If the above 2 are not possible with crystal report object:
    1. How to print crystal report using PrintDocument object?
    2. How to find in which tray A5 paper is present using PrintDocument object?
    3. How to select A5 paper tray for printing? using PrintDocument object?
    Currently with the following lines of .NET code, it is always printing in Tray 2
    report.PrintOptions.PaperSize = PaperSize.PaperA5;
    report.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    Regards,
    Eswar

    Unfortunately, it will be up to you to find out what tray the correct paper size is in, then set that to the report. The CR APIs do not look up these values, they just expect you to know these and set them.
    Ludek

  • Print report on customize paper on WinXP

    I need print a report on customize paper. When the report run on Windows 98, i have the option and i do it, but when a report run on Windows XP, i don't have the option .
    Thanks,
    Vera

    You have to define a custom paper size as follow:
    1. start -> control panel -> Printer and faxes
    2. In printer and faxes window:
    file --> server properties
    3. Click for add new.
    4. fill the size, the format name, etc.
    5.. do it for each printer.

  • How to Print a report with 50 columns. Crystal Reports

    Dear Experts,
    I'm Using Crystal Reports 2008. I have a requirement that 50 columns should be placed in a  Single Report with single line . But Page size should be A4 ( While Printing).
    With Page Size A4 I'm able to place 5 columns.
    Is there any possibility to acheave this no matter if number of opages increases
    I Appreciate for the help in this regard.
    But I need to display all the 50 fields (columns) in a single report.
    I Achieved this by changing horizontal width to 70.
    I can Place all the fields in one line.
    But my concern is to print this report in A4 Paper I think its horizontal width will be 11.  from crystal reports itself
    I don't want to use cross tabs nor even use sql expression. Its just a simple display report for all the employees.
    is there any simple way out to Achieve this by paging... or any other method.
    Any help regarding this issue will be appreciated.
    Thanks

    Hi:
       I'm not a expert in crystal report, but I would like help you,  i don't understand if must to show 50 diferrents fields in your report  or same field through 50 columns ?  for exemple:
    first case: You ned diferents fields
    F1                F2                 F3                 ... F50
    item1  F1      Item1 F2         Item1 F3       Item F50
    item2  F1      Ite21 F2         Item2 F3       Item F50
    In this case you must put the 50 fields in the report, just enough small to fit page
    second case: You nedd the same field in 50 columns
    Colum 1      Colum2      Column 50
    item 0          item 11      item 490
    item 1          item 12      item 491
    item 2          item 13      item492
    item 10       item 20      item 500
    inm this case i haven't idea how to make it (sorry)
    Edited by: Wgramirez on May 29, 2010 7:01 PM

  • How to print a report which is consist a paper parameter form

    Hi !
    I have created a report file with paper parameter form and also create a form. Now , when I try to run this form it display
    REP-0788: Warning: The value of restricted LOV parameter ppass is not among the selectable values.
         USER ID     (a combo box with data)
         PASSWORD (a combo box with data)
    After click on submit the query button window dispaly a message run successfuly,But it does not print the report's data, it prints only paper parameter contents.
    i.e. REP-0788: Warning: The value of restricted LOV parameter ppass is not among the selectable values.
         USER ID     (a combo box with data)
         PASSWORD (a combo box with data)
    I used the following codes
    PROCEDURE RUN_REPORT1(vc_reportoj Varchar2, vc_reportserver varchar2, vc_runformat varchar2,report_otherparam VARCHAR2, pvar varchar2) IS
    v_report_id Report_Object;
    vc_ReportServerJob VARCHAR2(100); /* unique id for each Reportrequest */
    vc_rep_status VARCHAR2(100); /* status of the Report job */
    vjob_id VARCHAR2(100); /* job_id as number only string*/
    vfilename varchar2(255);
    vport varchar2(50);
    hidden_action VARCHAR2(2000) :='';
    v_report_other VARCHAR2(4000) :='';
    i number (5);
    c char;
    c_old char;
    c_new char;
    BEGIN
    /* Get a handle to the Report Object itself. */
    v_report_id:= FIND_REPORT_OBJECT(vc_reportoj);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_FILENAME,name_in(':parameter.path') ||'\'||NAME_IN('CTL_REPORTS.REPORT_NAME'));
         if pvar = 'FILE' then
              vfilename := CLIENT_GET_FILE_NAME('c:\',null, 'All Files (*.*)|*.*|',SAVE_FILE);
              if vfilename IS NOT NULL THEN     
              SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_EXECUTION_MODE, RUNTIME);
         SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESTYPE, FILE);
                   SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESNAME, vfilename||'.rtf');
                   SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,vc_reportserver);
                   hidden_action := hidden_action ||'&report='||GET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_FILENAME);
    hidden_action := hidden_action||'&destype='||GET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE);
    hidden_action := hidden_action||'&desformat='||GET_REPORT_OBJECT_PROPERTY (v_report_id,REPORT_DESFORMAT);
    hidden_action := hidden_action ||'&userid='||get_application_property(username)||'/'||get_application_property(password)||'@'||get_application_property(connect_string);
    c_old :='@';
    FOR i IN 1..LENGTH(report_otherparam) LOOP
    c_new:= substr(report_otherparam,i,1);
    IF (c_new ='') THEN
    c:='&';
    ELSE
    c:= c_new;
    END IF;
    -- eliminate multiple blanks
    IF (c_old ='' and c_new ='') THEN
    null;
    ELSE
    v_report_other := v_report_other||c;
    END IF;
    c_old := c_new;
    end loop;
    hidden_action := hidden_action ||'&'|| v_report_other;
    hidden_action := 'http://127.0.0.1:8889/reports/rwservlet'||'?_hidden_server='||vc_reportserver|| encode(hidden_action);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,'pfaction='||hidden_action||''||report_otherparam);
    -- run Reports
                   vc_ReportServerJob:=RUN_REPORT_OBJECT(v_report_id);
                   vjob_id := substr(vc_ReportServerJob,length(vc_reportserver)+2,length(vc_ReportServerJob));
    vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
    IF vc_rep_status='FINISHED' THEN
    WEB.SHOW_DOCUMENT ('http://127.0.0.1:8889/reports/rwservlet/getjobid'||vjob_id||'?server='||vc_reportserver||'&_blank');
    ELSE
    message ('Report failed with error message '||vc_rep_status);
    END IF;
    ELSE
         RETURN;
    end if;
    This is the part of the procedure.

    See Viewing Pages in Printer Friendly Mode and Selecting a Printer Friendly Template for an Application
    Thanks,
    Vikram

  • How?print report on A3 paper to epson printer

    HI,
    Now I am using Report Builder 6.0.5.35.0. to write report to print to printer epson LQ2080 for A3 paper size 16.5 x 8.3 inch with fond size 15. But it keep printing in fond size 10 with maximum 80 character per line. The remaining sentence will come down as 2nd line.
    I do the following but it does not work.
    1. In Data Model-System Parameter- Mode -Property Pallet-Initial Velue='Character".
    2. In Layout Model- Header Section-Property Pallet. Under section head,the Width=16,height=8.Under Character Mode,the report width=210,height=66.
    3. In layout Model-Main section % trailer section - the setting is same as No.2
    4. In Data Model- system parameter-Desformat.
    I put in initial value=wide255. Where this printer control file contains:
    printer "wide255"
    height 66
    width 210
    before report esc "g"
    after page control(L)
    return control(M)
    linefeed control(J)
    5. esc"g" is epson print control code for fond size 15.
    Can someone share with me what goes wrong?
    null

    A few ideas \ suggestions:
    1) Make sure you are using FP 3.3 runtime:
    https://smpdl.sap-ag.de/~sapidp/012002523100016807202010E/cr2008fp33_redist.zip
    2) Try a simple win app - use saved data report (crystalreportviewer1.reportsource = <path to saved data report>). Does this print correctly?
    3) What print mode are you using; PDF or ActiveX?
    4) Try export to RPT and PDF from your web app. Does it export correctly?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Crystal Report XI Print report on different paper size (A4/Letter)

    Hi,
    I have designed report in Crystal XI using paper sieze Letter. Multipler sites are using this application. User in USA are using Letter size paper and User in Euorpe are using A4 size paper. All reports work fine for USA users.
    When Eurpoe users print the report on A4 size paper which set in Letter size, the report is truncated from Header or footer. They are printing report from Application and application is set on Citix server.
    If Anybody have any idea how to setup Crystal report so it can print on any paper size?
    Thanks
    Bhagvat

    Hi Don,
    Please find the below description.
    Background: Crystal Report XI is utilized to develop and view reports with data source from Oracle based LIMS application (Vendor: LabWare). The reports are printed using network printer on US Letter paper for users located in North America and on A4 paper for users located in Europe. The report format is US Letter and designed to print on both paper formats i.e. Letter and A4.
    Issue: When reports are printed by users in Europe using A4 format paper the printer defaults to US Letter paper (in printer preferences) resulting to data cut off from top and bottom on the printout.
    1)      When report layout is select to A4 during developing reports using CR, the printing preferences changes to A4 when printed and vice versa for Letter format. How can we avoid CR to enforce from changing printing preferences?
    2)     According to Citrix engineers in the company, the printer drivers installed on Citrix servers have nothing to do with printing preferences and CR defaults to paper size based on report design. What do we tell them about doing different to resolve this issue?
    3)    Even though a printer preference of default printer on local desktop is changed to A4, the report gets printed to Letter format result in data cutoff.  We have tried this option with several HP printers from few different company locations.
    Thanks
    Bhagvat

  • Physically printing a report from Apex using BI Publisher

    Hi,
    I know it is possible to generate and download a PDF (or any other format) in Apex using BI Publisher (Apex 4.0.2)
    But is it possible to physically PRINT a report in a specified printer? For example, the user clicks a button and the report comes out of the printer just like that.
    Note: I am NOT after a solution where the report is firstly displayed on the screen and then the user performs some action to print it from there (that is pretty easy to do.)
    I know that BI Publisher can do it, as its web service has an option to do so.
    Thanks
    Luis

    Hi Luis,
    not sure this is possible.
    Only SOME of the features of BI Publisher are used from APEX as a service to create the reports.
    *) I am not aware of any parameters / attributes in APEX so that you could specify a printer directly
    *) It is not part of the API you could use instead manually:
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDGFADB
    I have just recently implemented that myself for an integration with JasperReports. It is currently in beta test:
    http://daust.blogspot.de/2012/08/jasperreportsintegration-200-beta-test.html
    Thus your options are:
    *) I am not sure that BI publisher allows that but perhaps you could first call the apex utility function apex_util.get_print_document to retrieve the blob from bi publisher. Then perhaps (if allowed) send the blob again by yourself and using the print features of bi publisher.
    Here you would have to write the utl_http communication yourself.
    *) If bi publisher doesn't allow the separate process (generation first and then sending it to a printer) then you would also have to write a j2ee application which does that.
    *) another option could be to store the generated blob in the filesystem on the database and call a shell script from within the database. This shell script would send it to the network printer.
    Hope that helps,
    ~Dietmar.

  • Print report with continous paper by a thermal printer

    I am trying to design a report (using Crystal Reports for VS2010) for a receipt to be printed on a thermal printer with continuous paper.(8centimeter paper)  Now a receipt will need to have variable height according to the number of items it contains.
    The problem is that Crystal Reports takes the page setup from those available in the print setup and all these paper sizes have a fixed length .
    How can I set the paper to a continuos paper?

    Hi, 
    When you go to Crystal Reports | Design | Page Setup there is an option for Dissociate Formatting Page Size and Printer Paper Size.  Put a check in the box.  You can set the horizontal size. 
    Also make sure you do not have anything in the page header or footer. 
    Good luck,
    Brian

  • I have a 4630e and I want to print out the report of my paper useage for the month.

    I have a 4630, 3-in-one. I'm in the automatic refill program.  I want to get to and print the report of useage for the month to see if I can reduce the among of pap I have allotted myself.
    This question was solved.
    View Solution.

    Hi Georgiapat465, welcome to the HP Forums. If you want the Month To Date statistics of your Instant Ink usage, you can log into your account on hpconnected.com and go to the services tab, and then find Instant Ink there. That page will show you on screen your usage.
    I hope this helps. Let me know if you have any other concerns.
    TwoPointOh
    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" on the bottom to say “Thanks” for helping!

  • Duplex printing in reporting services

    I have been working on this problem for days. I have a report that is grouped
    and will be printed duplex (front and back). There is a page break after each
    group. I want to ensure that the start of a new group does not end up printed
    on the back side of an old group. For example:
    Page 1 (printed on front side of paper): group 1
    Page 2 (printed on back side of paper): more group 1
    Page 3 (printed on front side of paper): more group 1
    Page 4 (printed on on back side of paper): group 2  <--- This is a problem
    I need:
    Page 1 (front side): group 1
    Page 2 (back side): more group 1
    Page 3 (front side): more group 1
    Page 4 (back side): <This Page Intentionally Left Blank>
    Page 5 (front side): group 2
    Issues that I've run into include the fact that SSRS renders the entire body
    first, before rendering the header/footer. This prevents the body of the
    report from knowing which page it will end up on when it is rendered (and is
    also why you cannot reference Globals!PageNumber from the body).
    The restriction above also prevents using a variable in custom code to know
    when to generate a page break. If you set this variable in the header/footer
    then the body will never see it as the entire body is rendered first and will
    therefore only see the initial state of the variable.
    I have seen this issue posted in a number of places,
    but no one ever has a solution to this (except switching back to
    Crystal Reports).  Have any MVPs ever addressed this issue?  I am
    really hoping someone can offer a good solution or work-around.

      string showHideToggle = null;
      string encoding;
      string mimeType;
      string extension;
      Warning[] warnings = null;
      ParameterValue[] reportHistoryParameters = null;
      string[] streamIDs = null;
      ExecutionInfo execInfo = new ExecutionInfo();
      ExecutionHeader execHeader = new ExecutionHeader();
      rs.ExecutionHeaderValue = execHeader;
      execInfo = rs.LoadReport(reportPath, historyID);
      String SessionId = rs.ExecutionHeaderValue.ExecutionID;
      rs.Timeout = System.Threading.Timeout.Infinite; // disable timeouts
      // loop through each of the Payees and generate the individual file
      DataSet dsPayees = db.ExecuteDataSet("spMainReport", null,
          paymentCycleID); 
      // determine what the LAST Payee ID will be so that we can print the report footer
      DataRow r = dsPayees.Tables[0].Rows[dsPayees.Tables[0].Rows.Count - 1];
      string lastPayee = r["uPayeeID"].ToString();
      //Render each original PDF document for each Payee and add it to the output document
      PdfDocument originalDocument = new PdfDocument();
      PdfDocument outputDocument = new PdfDocument();
      PdfPage page = null;
      foreach (DataRow row in dsPayees.Tables[0].Rows)
          // set the Display Footer parameter to true if this is the last row
          if (row["uPayeeID"].ToString() == lastPayee)
              parameters[24].Value = "true";  //DisplayReportFooter
          //Render the report for a single Payee
          parameters[21].Value = row["uPayeeID"].ToString();
          parameters[25].Value = row["uPayeeName"].ToString();
          rs.SetExecutionParameters(parameters, culture);
          result = rs.Render(format, devInfo, out extension, out encoding, out mimeType, out warnings, out streamIDs);
          // Write the contents of the report to a document as a Stream.
          Stream s = new MemoryStream(result);
          originalDocument = PdfReader.Open(s, PdfDocumentOpenMode.Import);
          // Iterate pages to the output document
          int cnt = originalDocument.PageCount;
          for (int idx = 0; idx < cnt; idx++)
            // Get the page from the original report and add it to the output document.
            page = originalDocument.Pages[idx];
            outputDocument.AddPage(page);
          //if the last page of the document is on an odd page, remove it if it is a blank page
          if ((outputDocument.PageCount + 1 & 1) == 0)
            string pageContents = page.Contents.CreateSingleContent().Stream.ToString();
            if (pageContents.IndexOf("page intentionally left blank") > 0)
                // we're on an odd page number and it's blank - this is no good for Duplex printing - so
                // delete the preceeding (blank) page from the output document
                outputDocument.Pages.RemoveAt(outputDocument.PageCount - 1);
          // after each Payee, we need to update the running page number totals
          parameters[22].Value = Convert.ToString(Convert.ToInt32(outputDocument.Pages.Count));
          // Display Header parameter to false
          parameters[23].Value = "false";
      if (outputDocument.PageCount > 0)
          // Save the document
          outputDocument.Save(fileServer + @"\RemitDent" +
            paymentCycleID.ToString() + ".pdf");
      return;

  • How to print a report in half of the A4 page

    Hi,
    Please help me, how to print a report in the half page of the A4 size paper.
    Thanks,

    Hi
    If you are using the command MEW-PAGE PRINT ON
    then we can give this layout options
    like
    NEW-PAGE PRINT ON
    DESTINATION <printer name>
    immediately 'X'
    KEEP IN SPOOL 'X'
    LAYOUT 'X_65_132'  (OR X_65_255)
    RECEIVER SY-UNAME
    NO-DISPLAY.
    OTHERWISE WHEN YOU SELECT THE PRINTER
    IN THE PRINTER PROPERTIES/SETTINGS BASICS-> PAPER
    you will have this facility to select LANGSCAPE/PORTRAIT
    use that and print
    Reward points for useful Answers
    Regards
    Anji

  • Printing web report by Excel

    Dear BW people,
    I tried to use the solution of Tobias Kaufmann to print web reports by means of Excel. When I apply this way of working to my report on BW 3.5, it works just fine. ut... when I do exactly the same on <b>BW 3.10</b> no Excel file is generated (though the HTML report refreshes).
    I tried to search a reason for this in debugging mode several times and for several hours and I discussed this issue with colleagues but without any result. Anybody with experience on this topic on a BW 3.10 server? If so, did this work and were some modifications necessary?
    Thank you very much!
    Best regards,
    Bart

    It seems that the two notes in the requirements part is necessary for our BW3.10.
    Still I still have three issues regarding the page setup of a printed Excel sheet. After spending a LOT of time, I was able to solve the problems... Is there a OfficeHTML-BW expert ?
    1° I would like to put filter values in the header of each printed paper. The How To document uses this parameter in the @page section:
    mso-header-data:"&L&0022Arial,Fett0022&12&G&C&0022Arial,Fett0022&14<&[REPTXTLG]> und
    <&[DATAPROVIDER_1/REPTXTLG]>";
    Is there a way to replace the queryname () by filter values?
    2° On the first page the table has columnheaders (normal), but on the second page these headers are not repeated.
    3° Even when I remove the <x:FitWidth>1</x:FitWidth>
    <x:FitHeight>2</x:FitHeight> and the use <x:scale>100</x:scale>, the result of the report is ALWAYS printed (fit to) 1 page. Ofcourse the texts are way to small. How can I make sure the report is printed in a normal way?
    I hope someone can answer at least one of my issues.
    Thanks in advance!
    Best regards,
    Bart

  • Printing from Reports

    Hi,
    I have HP Laser Jet 6L printer configured in Windows 98 machine and Windows 2000 machine. I have configured the Hp 6L drivers both in the client machines and linux servers. I made proper entry in uiprint.txt given by oracle for printing in Linux OS. When I am trying to print any report output from Reports Builder invoked in Linux thro' Open motif, I am getting junk characters printed in the paper.
    But the same works in a Network Jet Direct printer. Oracle ships some ppd files along with Oracle 9ias but hp6l is not there.
    Can anyone tell what should be done for this and how to configure the printer in linux inorder to print from reports.
    regds,
    R. Nanda Kumar

    Hello, dear Udo!
    In my mind, it is possible to solve your issues with Excel. How about Extract your statement to excel and do all necessary adjustments (font, etc....) in it and print it afterwards?
    Edited by: KhorkovAM on Sep 20, 2011 1:45 PM

  • How to print a report in landscape?

    Hi,
    I am using crystal report for visual studio 2010 and I buid a win form test application in c#. I add a crystalReportViewer1, and reportDocument1(unTyped) on the form. In the design time the report (.rpt) is in portrait paper orientation. I want to change the paper orientation to landscape at the runtime. The code snippet is as followed,
    reportDocument1.FileName = @"D:\DotNet Execises\CrystalReportsApplication\CrystalReportsApplication\CrystalReport1.rpt";
    reportDocument1.Load(reportDocument1.FileName, OpenReportMethod.OpenReportByTempCopy);
    crystalReportViewer1.ReportSource = reportDocument1;
    reportDocument1.PrintOptions.PrinterName = @"
    LINDY\HP LaserJet 4000 Series PCL 6";
    reportDocument1.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    When I click a button to print the report
            private void btnPrintCrystal_Click(object sender, EventArgs e)
                crystalReportViewer1.PrintReport();
    in the print dialog box the paper orientation is correct,ie. landscape. But the actual printout is still in the portrait. Why? how can I print it in landscape?
    Thanks

    Open the report up and check on the Dissociate... option or do it in code and also.
    Try this ... cboCurrentPrinters is a dialog box I created to fill the local user printers in a list
           private void button1_Click(object sender, System.EventArgs e) // Print To P button
                   System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();               
                   CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();
                CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
                   pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
                pDoc.PrinterSettings.SupportsColor.ToString();
                if (pDoc.PrinterSettings.SupportsColor)
                    MessageBox.Show("Printer Supports Color", pDoc.PrinterSettings.SupportsColor.ToString());
                   rasPROpts.PrinterName = cboCurrentPrinters.Text;               
                   rasPROpts.PaperSize = (CrPaperSizeEnum) pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
                   rasPROpts.PaperSource = (CrPaperSourceEnum) pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
                newOpts.PrinterName = cboCurrentPrinters.Text;
                newOpts.PaperSize = (CrPaperSizeEnum) pDoc.PrinterSettings.PaperSizes[cboDefaultPaperSizes.SelectedIndex].Kind;
                newOpts.PaperSource = (CrPaperSourceEnum) pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
                newOpts.DissociatePageSizeAndPrinterPaperSize = true;
                newOpts.PaperOrientation = CrPaperOrientationEnum.crPaperOrientationLandscape;
                   rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
                   MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
    Don

Maybe you are looking for

  • Flash Player (Firefox) Vs. Mac Leopard and Spaces

    here is a weird issue that seems to cause more than one major issue for me. If I have my Flex application open in Firefox and I CMD-TAB to another application that on on a different Virtual Screen(Space as Apple like to call them) then CMD-TAB back t

  • Query on BAPI_ACC_DOCUMENT_POST for F-02 transaction

    Dear All, We are doing initial upload of Journal Vouchers (f-02) using BAPI_ACC_DOCUMENT_POST and it is working fine for the general cases. But for the postiings where advances are given to the vendor (special G/L Indicator is set), the indicator is

  • Using logging in WebDynpro application

    Hi All,          I m working on webdynpro application. when ever error occurs at runtime , the entire error log is diplayed on browser thus showing code details to user . how cn i avoid showing error log in browser ?? i hv read about logging , will i

  • Transportation Cost Calculation

    Hello folks, I have a question here with respect to calculation of shipment costs for the different deliveries from different orders into one shipment cost document. The scenario is: my client has different projects going on simultaneously from which

  • Error 16 on adobe cs6

    I recently had my hard drive wiped out and tried reinstalling my adobe cs6 master collection and I keep getting an error 16 message or it will open then crash right away. How do I fix this?