Print Report in Landscape

Hi,
I ned to print one report in landscape format. though, i tried to select landscape option in print option. I guess, I need to first design the report accordingly.
this is just a guess. also, I really appricaite if you direct me a link where I can learn more about formatting and layouts.
hare krishna
Alok

Hi ,
In the report builder,in the Object Navigator,Data model->System Parameters->Orientation->Initial Value:LandscapeSetting this... i observe that the page setup has as initial value the "landscape" format print type.....
However , when i generate the report (10g) as .pdf ... the produced file has as initial value the "portrait" print type.... not the landscape.....
Is there any manner to get the print type "landscape"(as initial value) in the produced .pdf file ...?????
Many thanks...
Sim

Similar Messages

  • Printing Report in Landscape

    Hi All,
      In Crystal Report VS 2003 edition if you have developed an report in Landscape when you print from Crystal Report viewer via ASPX page it will print in landscape.
    But in Crystal Report VS 2008 edition it doesn't work even if the report is set to landscape ?
    I did followed this Crystal Suggestion, but no use
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393336333933363339%7D.do
    Has anyone faced this problem ?
    Thanks for any feedback.
    Cheers
    Ranga

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • How to print Report in Landscape mode

    Hi,
    I set the Header,Body,Footer section to Landscape Orientation. still its printing report in Portrait mode.
    Your suggestions are welcome
    Vikas
    null

    Thanks, but its not working on web, i tried it on client server it works fine.
    anyway Thanks for your time, on your end is it working on WEB,
    Thanks
    Vikas
    null

  • 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

  • SQL Plus command to print a report in Landscape format

    Hi,
    what is the SQL Plus command to print a report in Landscape format?

    841731 wrote:
    Hi,
    what is the SQL Plus command to print a report in Landscape format?SQLPlus doesn't print, and it doesn't know about 'landscape' vs. 'portrait' any more than it knows about fonts. the only 'formatting' it knows is line size, page size. And all it does with line size is know where to insert a CR/LF pair (windows) or a CR (*nix). The only thing it knows to do with page size is repeat column headers.
    The rest is up to whatever application you use to open the pure asciii text spool file.

  • Print SSRS Server Report in landscape or portrait mode directly(without report viewer control)

    Hello,
    .Net 4.0\VS2010\C#\ssrs 2008 on Sql Server 2008R2
    Having a problem printing a Server report while controlling the orientation and the size of the emf rendered to the physical page.
    I have the report cutting off in both landscape and portrait modes. I'm passing the following deviceinfo to the render function:
    string DeviceInfo =
    @"<DeviceInfo>
    <OutputFormat>EMF</OutputFormat>
    <PageWidth>8.5in</PageWidth>
    <PageHeight>11in</PageHeight>
    <MarginTop>0.25in</MarginTop>
    <MarginLeft>0.25in</MarginLeft>
    <MarginRight>0.25in</MarginRight>
    <MarginBottom>0.25in</MarginBottom>
    </DeviceInfo>";
    return DeviceInfo;
    string mimeType;            string fileExtension;            Stream pageStream = serverReport.Render("IMAGE",  deviceInfo, firstPageParameters, out mimeType, out fileExtension);
    No other settings seem to have an affect on controlling the output to printer or pdf.  i.e. The deviceinfo params fed to server report's render function are all you get.  I think my original code comes from an MSDN or CodeProject example. I'm not
    inventing anything new here.
    Links below indicate similar problems but they are looking at the issue from just landscape mode. Seems like I ought to be able to squash or expand the image to whatever size I specify, separate from the 'page' size.  Please let me know what i need
    to know to make these reports print without bleeding onto 2 pages or slicing off the right side of the document image.
    http://stackoverflow.com/questions/25652415/cant-print-ssrs-rdlc-report-in-landscape-mode-directly-to-printer-using-suggest
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/06a9b432-c8a5-4952-a07c-867742a26c47/print-rdlc-without-report-viewer-either-in-portrait-or-landscape?forum=sqlreportingservices
    print ssrs rdlc report in landscape mode directly
    Thanks!

     Hi
    FraterJoanni,
    Thanks for posting in MSDN forum.
    I am not expert in SSRS. You should get better response in SQL Server > SQL
    Server Reporting Services, Power View forum.
    After take a look at the similar threads links as you posted above.
    The conclusion is we needn’t tell the program o this report is landscape not portrait. If the width is larger than the height, the report will be printed in landscape; otherwise, it will be printed in portrait.
    >>Links below indicate similar problems but they are looking at the issue from just landscape mode.
    But in C# forum, we only from the point of code, code looks OK to me.
    A similar blog talking about this
    Controlling Page Size in a Reporting Services Report
    And  I have got the default page size in the US is Letter, 8.5in x 11in.  In other parts of the world A4 (8.3in x 11.7in) is the standard. 
    65: //build the device settings (A4 8.3 × 11.7)
    66: string deviceInfo = string.Format("<DeviceInfo><PageHeight>{0}</PageHeight><PageWidth>{1}</PageWidth></DeviceInfo>", "11.7in", "8.3in");
    67:
    68: //get report bytes
    69: result = rs.Render(format, deviceInfo, out extension, out encoding, out mimeType, out warnings, out streamIDs);
    70:
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Print Report Error

    Hi,
    When I try to print a standart landscape report, Print Report.vi gives error (error -41002 NI-Reports: Invalid printer Name)
    I can read Default printer with query avilable printers vi so the name can not be wrong. Do you have any suggestion ? The default printer is adobe pdf...
    Thanks

    Two other good alternatives that are ad-free are PDF Creator and CutePDF Writer.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Character mode Report in Landscape Format

    Hi All,
    I want to print my character mode report in landscape format. But I am not getting it. Everytime I get print as Portrait. I am printing from live previewer of report builder.
    I am using Oracle 9i and Report builder 6i (6.0.8.11.3).
    I have done following settings:
    System Parameter ORIENTATION=Landscape
    DESFORMAT=DECLAND.PRT (Given by Oracle)
    In the object navigator I have set following properties for Main Section
    Width=11
    Height=8.5
    Orientation=Landscape
    Char Mode Width=132
    Char Mode height=66
    I have done same settings for Header Section and Trailer Section. Please help me.
    Thanks in advance.
    Regards
    Mona

    You will need to edit prt files to add the printer escape sequences to change the page orientation to landscape. Printer escape sequences can be obtained from the printer manual, or the printer vendor.
    For instance, HP printer escape codes can be obtained from the HP website under the printer support links.
    The steps below describe how to print a landscape, character mode report from a Windows NT PC on an HP 4100N Printer. The 4100N is a dual mode printer that can use either PCL or Postscript printer language.
    1. Use a web browser to navigate to the HP website and obtain the printer escape codes for the HP 4100N. If you are unable to locate the HP4100N printer, look for generic PCL information. The HP site also includes detailed information on the printer command syntax.
    2. The HP4100N printer command for landscape page orientation is "ESC&l1O" - where ESC indicates escape, '&' (ampersand) is the parameterized character, 'l'(lower case letter l) is the group character, '1' (number one) is the printer value character and 'O' (upper case letter O) is the termination character.
    NOTE: The HP documentation uses "EC" to signify the escape character.
    It also suggests pressing CTRL and the letter P together, then
    releasing both keys and pressing the ESC key. If this is done in
    a dos editor, a left arrow will actually be displayed on screen.
    This character cannot be interpreted by Oracle Reports and will
    cause printing errors if used in a .prt file. Instead, just use
    the letters "ESC" to indicate that the code that follows is a printer
    escape sequence.
    3. Make a copy of the wide.prt file and rename it to "mywide.prt."
    4. Add the page orientation escapes to mywide.prt file:
    printer "mywide"
    height 66
    width 132
    before report esc "&l1O" *** Puts Page in Landscape Orientation***
    after page control(L)
    after report esc "&l0O" *** Resets page orientation to Portrait ***
    return control(M)
    linefeed control(J)
    SYNTAX NOTES: The escape sequence must be enclosed in double quotes ("). The above comments regarding page orientation are used to clarify where the escape codes gets added, but they should NOT be used when editing
    the actual .prt file.
    5. Save mywide.prt file to the $ORACLE_HOME\report60\printers\ directory.
    6. Go to Windows PC -> Start -> Settings -> Printers and open the properties for the HP printer. Ensure that the option to "Always Spool Raw Data" is checked. This option is usually under the General Printer
    Options, or Spool Options. On Windows NT, you must have Administrator privileges to change this setting.
    7. Test running the report to the printer and specify desformat mywide. It is not necessary to include the file extension (.prt).
    8. The report will now print in landscape orientation.

  • Acrobat reader defaulting to 51% zoom size when opening and printing Report

    We are publishing reports on a web-integrated acrobat reader. All the reports work fine except for 1 report. The problem with this particular report is that when it opens up in the acrobat reader, it's zoom size automatically defaults to 51%. Then when we print it in landscape mode, it prints with the same zoom-size settings. Even if we try printing after expanding the zoom size to 100%, it still prints to the smaller size and leaves nearly 40% of the paper blank. It works ok with client-server settings as well as when we use HTML or HTMLCSS format to print on the browser. We are using the run_report_object built-in to open the report which is a parameter report.
    Other reports with identical settings work and print fine. Is this a Oracle Reports problem or acrobat problem.
    We are using Forms 6.0.8.19.2, Reports v6.0.8.18.0, iAS v1.0.2.2.2a, Acrobat reader v5.0, IE 5.5 with SP2, Windows 2000 Server.
    Report fonts are Courier New with size 6.
    Any ideas/solutions aprreciated. Thanks!

    And so.. what is invalid?
    I've uploaded the pdf files as example:
    My generated pdf
    http://compuhelp.free.fr/adobe/before.pdf
    The modified version by Adobe Acrobat Reader:
    http://compuhelp.free.fr/adobe/after.pdf
    (I can generate a more complexe pdf file with fonts, images,... it will be displayed correctly, but Adobe always want to modifiy it).
    So perhaps I missed somthing into the pdf file format specification ?

  • Oracle Report on Landscape style leaving spaces on left side

    Hello All,
    I want to print my Oracle Report on Landscape layout
    I did following but i wont help me:
    Edit Margin show upt 8.5.
    Max. Horizontal Body Page = 12
    Max. Vertical Body Page = 8
    Its leaving blank spaces on printout on left
    How can i print my report landscape style to print all area on left side of page.
    Thanks in advance,
    Regards,
    Atif

    what version of your report builder?
    I had similar problem but it got cut off at the right side when I was using report6i
    say set right margin to 1'' and run the report, the right side got cut off. and I went back to check the margin, it was updated to 3.97'' automatically.
    this did not got resolved until I applied patch and upgraded to 6.0.8.25 (forgot the older version, maybe 6.0.8.16 or older)
    try this if applicable to your sitution.
    good luck

  • Print preview in Landscape

    Hi
    I have a strange case. I have google through the net still not able to find any proper solution.
    Issue: : In my application i have reports. When i do print preview, the reports get displayed in portrait format. Is there any way through which i can set the window's default page set up to landscape (through JSP/CSS/Javascript).
    ~Aman

    Set the printer properties to landscape. Also, there may be an issue with auto-rotate.

  • Auto-print report without cutting off results

    My requirement:
    - print a report automatically at the end of each UUT's test
    My problem:
    - The report prints, but
    -- some of the contents are cut off (especially long strings in indented tables)
    -- the page breaks sometimes cut tables in bad places
    So far I have found no way to automatically print the report in landscape mode, which would help greatly. But even better would be the ability to:
    - disable indenting tables
    - print tables in their entirety on one page
    - reformat strings so they fit, and/or control the width of the tables
    Any ideas?

    Are you using the NI example for auto-printing? That example converts the report to a temp html file and sends it to the default printer. If you're using that you could change settings for the default printer to be in landscape mode which would resolve your fundamental issue without having to write a ton of code to change table properties of the report.
    CTA, CLA, MTFBWY

  • Cancelled POs not appearing in isupplier PO Print Report

    Hi All,
    I am using oracle apps 11.5.10 version.My problem is that PO print report is not printing all the cancelled Purchase Orders.Its printing only the last Purchase Order which is cancelled.
    Steps to reproduce-
    1. create a multi line req in iproc..submit and on approval PO gets created.
    2.from isupplier run Printed PO report.You will see all the lines.
    3. Cancel 1st line in iproc-let it revision.run report from isupplier.You'll see all the lines along with one line that is cancelled.
    4.Cancel 2nd lines in iproc.let it revision.run report from isupplier.You will see all the lines and the new cancelled line as well.But the Cancelled line1 will not be seen.
    5.Again cancel 3rd line.When you print PO in isupplier.You will see all lines+3rd cancelled line.But the above two cancelled Lines 1 and 2 will b missing.
    Note- we have modifed the xslfo and po_lines_xml for some other changes.I have reverted the changes made in po_lines_xml but still facing the same issue.
    Please help.

    Hi,
    Please check in transaction  SXMB_MONI can found related information why it not transfer to SRM.
    Also check the purchasing data of the PO.
    Thanks,
    prasad.s

  • Report Generation Toolkit V9.0.0 : Print Report.vi doesnt print

    Hi,
    i have migrated my Labview 8.5 Project with Report Generation Toolkit V1.1.2 to a Labview 2009 System with Report Generation Toolkit V9.0.0.
    In this Project I use the Report Generation Toolkit for printing out a Standard Report with e few Tables and Graphs.
    Now the VI Print Report.vi delivers the Error -41002 with the Text "Invalide Printer Name". I have, of course installed the propper Printer on the machine.
    I don´t connect a string to the "Printer name" input of the VI, because i want to use the default printer.
    In my oppinion, there´s  a bug in the Print Report.vi: if you don´t wire the "Printer name" input, the vi should use the default printer, but in this case the vi connects the empty input string to the input of the method node it calls.
    I fixed this bug, but the method node still returns the same error.
    any ideas?
    Thanks!
    Solved!
    Go to Solution.

    Thank you for the link!
    For some reasons i can´t find this specific article in the knowledge base (my browser is always rerouted to the german version of ni.com, because i am in Austria). I tried to search with the exact title of this article, and the error message string, but no results...
    I have also installed Labview 8.5 and the "old" Toolkits on my new computer in addition to Labview 2009 and the "new" Toolkits and tested my program in 8.5. Here i got an error mentioning the margins and i had to change the margin settings for printing out, then in worked.
    After reading the article, i have applied the same changes for the margins in the 2009-version of my program and it works too!
    Problem solved!
    Thank you very much!
    PS:
    I first wrote, that there´s maybe a bug in the new version of the Print Report.vi, but i´ve compared it with the old version and it seems to be no bug, sorry!
    After all I decided to stay with Labview 8.5 for now, because of another problem:
    it´s not possible to "save for previous version" from LV2009 to LV8.5 directly.
    Laview crashes, when a VI contains an event structure as i found out by searching through the "known issues", and i have a lot of VIs with event structures!
    I have to have the possibility to save my Labview projects for 8.0 and 8.5. The only way is to save for 8.6 and then save from 8.6 to 8.5.
    That´s nasty and time-consuming!
    Maybe a future update will solve this problem (without producing new ones)

  • Printing report that has a parameter with multiple values crashes jvm

    I am using BOE XI 4.0 as an unmanaged RAS.
    I am able to preview a report that has a string discrete parameter that can have multiple values.  If I give it a single value.  It previews fine.  If I give it an empty string it prints all values which is fine.  If I give it two discrete values, it displays just those two.
    However, if I try printing the report to a printer:
    1 parameter value - prints fine.
    2 parameter values - crashes jvm
    empty string parameter value - crashes jvm
    I would appreciate some direction on how to do this.  It works in crystal reports for eclipse.
    The test jsp I am using is based off of the samples.  The print test jsp is the same as the preview test with the exception of the following code differences.:
    preview report.jsp code
    // Create a Viewer object
    CrystalReportViewer viewer = new CrystalReportViewer();
    // Set the report source for the  viewer to the ReportClientDocument's report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    print report jsp code
      PrintReportOptions printOptions = new PrintReportOptions();
      printOptions.setPrinterName("DELL");
      try {
          clientDoc.getPrintOutputController().printReport(printOptions);
      } catch (ReportSDKException ex1) {
          System.out.println("Message - " + ex1.getLocalizedMessage());
      } catch (Exception ex2) {
          System.out.println("Message - " + ex2.getLocalizedMessage());
      clientDoc.close();

    I am using BOE XI 4.0 as an unmanaged RAS.
    I am able to preview a report that has a string discrete parameter that can have multiple values.  If I give it a single value.  It previews fine.  If I give it an empty string it prints all values which is fine.  If I give it two discrete values, it displays just those two.
    However, if I try printing the report to a printer:
    1 parameter value - prints fine.
    2 parameter values - crashes jvm
    empty string parameter value - crashes jvm
    I would appreciate some direction on how to do this.  It works in crystal reports for eclipse.
    The test jsp I am using is based off of the samples.  The print test jsp is the same as the preview test with the exception of the following code differences.:
    preview report.jsp code
    // Create a Viewer object
    CrystalReportViewer viewer = new CrystalReportViewer();
    // Set the report source for the  viewer to the ReportClientDocument's report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    print report jsp code
      PrintReportOptions printOptions = new PrintReportOptions();
      printOptions.setPrinterName("DELL");
      try {
          clientDoc.getPrintOutputController().printReport(printOptions);
      } catch (ReportSDKException ex1) {
          System.out.println("Message - " + ex1.getLocalizedMessage());
      } catch (Exception ex2) {
          System.out.println("Message - " + ex2.getLocalizedMessage());
      clientDoc.close();

Maybe you are looking for