XML report Duplex Printing

How to print XML report pdf output print both side on paper?

I'd like you to make sure that you are using CR version 12.2.3.456. To get to this version, you need to apply SP 2:
https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
and then FP2.3:
https://smpdl.sap-ag.de/~sapidp/012002523100015892592009E/cr2008v1_sp2fp23.exe
Let me know if that helps.
Ludek

Similar Messages

  • Xml report to print AR invoices to multiple companies

    Hi,
    can anyone help me to work on this issue, I need to Develop one XMLP report that prints AR invoices for multiple companies, and multiple invoices for each company.
    It will be thankful, if anyone help me to come out of this issue. I need it urgently
    Thanks

    Hi
    Are you working in EBusiness Suite or another ERP app? IF so then there are already invoice reports built out of the box that you can use quite quickly.
    If not then you need to find out from your users what they want to see on the invoice, then map that to the columns in tables and then write the query to extract the data.
    Tim

  • To remove the spacing in top and bottom of XML report while printing

    Hi,
    I have developed the RTF template having page size(Page Setup->Page Size) as Custom Size(Width:19" and height:9.01").When I try to run the report thorugh the APPS,there is lot of spacing included at top and bottom of the page.This is mainly due to printer page size as A4.
    Due to the report layout,I cannot change to A4 which will make the report layout clumsy.
    Is there any kind of apps page setup to be done which will relate pagesize CUSTOM to A4.
    Please advise
    Regards,

    Hi
    Are you saying that once the document is printed ou get the space? If you run to PDF and view it with Reader then the paper size is correct?
    If so then you need to set up a prt file to specify the custom paper size. I suspect you are pushing it thru a regular A4 driver and its being resized for the paper.
    Writing print files is a little bit of an art form but check out the 'SysAdmin guide and the pasta guide for some further help.
    Regards
    Tim

  • How do you set the Crystal Report Viewer Printer to Duplex

    Using the code below I can print in duplex mode, but this does not let me view a report before printing
    How do I set the Printer in the Viewer Control Bar of the Crystal Report Viewer to Duplex Printing programmatically rather than having to manually select Duplex through the preferences option?
    I have searched but the only example code I found produces errors in the code and will not run
    Private myReport As ReportDocument
    myReport = New ReportDocument()
    myReport.PrintOptions.PaperSize = PaperSize.PaperA4
    myReport.PrintOptions.PaperOrientation = PaperOrientation.Portrait
    myReport.PrintOptions.PrinterDuplex = PrinterDuplex. Vertical
    myReport.PrintToPrinter(3, False, 0, 0)
    In my VB6 Project that I am converting to VB.NET when I added Report.PrinterDuplex = crPRDPVertical, this allowed me to view the report and then print with Duplex without having to set the Print Preferences manualy
    I found 1386475 - How to set printer name and print job title at runtime using Report Application Server SDK for Visual Studio .NET
    But this causes errors
    Imports CrystalDecisions.ReportAppServer.ClientDoc
    Imports CrystalDecisions.ReportAppServer.Controllers
    Dim boReportClientDocument As ISCDReportClientDocument
    Dim boPrintOutputController As PrintOutputController
    Dim boPrintReportOptions As New PrintReportOptions
    Edited by: DavidMills on Feb 18, 2011 11:58 AM

    Hi David,
    You can mix both engines, just declare them both with different report object names. Here's all of my references:
    using System;
    using System.IO;
    using System.Xml;
    using System.Drawing;
    using System.Collections;
    using System.ComponentModel;
    using System.Windows.Forms;
    using System.Data;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.ReportDefModel;
    using CrystalDecisions.ReportAppServer.CommonControls;
    using CrystalDecisions.ReportAppServer.CommLayer;
    using CrystalDecisions.ReportAppServer.CommonObjectModel;
    using CrystalDecisions.ReportAppServer.ObjectFactory;
    using System.Data.OleDb;
    using CrystalDecisions.ReportAppServer.DataSetConversion;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    using CrystalDecisions.ReportSource;
    using CrystalDecisions.Windows.Forms;
    using System.Data.SqlClient;
    using System.Runtime.InteropServices;
        public class frmMain : System.Windows.Forms.Form
            CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
    My file open dialog:
            private void btnOpenReport_Click(object sender, System.EventArgs e)
                rptClientDoc = new CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument();
                openFileDialog.Filter = "Crystal Reports (*.rpt)|*.rpt|Crystal Reports Secure (*.rptr)|*.rptr";
                openFileDialog.FilterIndex = 1;
                 if (openFileDialog.ShowDialog() == DialogResult.OK)
                      btnOpenReport.Enabled = false;
                      btnSaveRptAs.Enabled = false;
                      object rptName = openFileDialog.FileName;
                    try
                        rpt.Load(rptName.ToString());
                        rptClientDoc = rpt.ReportClientDocument;
                    catch (Exception ex)
                        MessageBox.Show("ERROR: " + ex.Message);
                        return;
                    MessageBox.Show(rptClientDoc.MajorVersion.ToString() + "." + rptClientDoc.MinorVersion.ToString());
                        MessageBox.Show("Report opened.","RAS",MessageBoxButtons.OK,MessageBoxIcon.Information );
                        btnOpenReport.Enabled = true;
                        btnSaveRptAs.Enabled = true;
                    //MessageBox.Show(rpt.RecordSelectionFormula, "my record: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    MessageBox.Show(rpt.ReportRequestStatus.NumberOfPages.ToString(), "Number of Pages: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
    As for the page number I use it off the Engine report object:
    MessageBox.Show(rpt.ReportRequestStatus.NumberOfPages.ToString(), "Number of Pages: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
    And it works for me...
    Thank you
    Don

  • Print Images in XML Report

    Hi,
    I do have a requirement to print digital signature in a Quote, the signature is been stored as a picture (longraw datatype per_images table) in HRMS Tables
    HRMS Responsibility -> people -> Enter and Maintain -> Picture, here we will upload the signature of a person and this need be printed in XML Report.
    In the Report Builder if we change the ‘file format’ to ‘Image’ we are able to display the image , but when we are register in APPS, we not able to get the image, even XML tags are not been generated.
    Regards,
    Satish.

    Here...this should help !
    BLOB image in XML Publisher

  • How can i modify my report to print in duplex mode ?

    Hello, I have a report to print orders (i use vb6 and CR XI-R2 at runtime with CrystalActiveXReportViewer object) but now i must print the payment conditions on the back of each order. What is the way to modify my report to do that.
    (Is there somewhere examples of duplex printing report?).
    Thanks in advance.

    Hi Ludek,
    I have imported the reg key but i have the same problem: you must install SP2 or SP4 before.
    Here is my reg key :
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{94FB0978-D094-40C7-91D7-834D39220D4A}]
    "AuthorizedCDFPrefix"=""
    "Comments"=""
    "Contact"=""
    "DisplayVersion"="11.5.8.82627"
    "HelpLink"=hex(2):68,00,74,00,74,00,70,00,3a,00,2f,00,2f,00,73,00,75,00,70,00,\
      70,00,6f,00,72,00,74,00,2e,00,62,00,75,00,73,00,69,00,6e,00,65,00,73,00,73,\
      00,6f,00,62,00,6a,00,65,00,63,00,74,00,73,00,2e,00,63,00,6f,00,6d,00,2f,00,\
      00,00
    "HelpTelephone"=""
    "InstallDate"="20080416"
    "InstallLocation"=""
    "InstallSource"="C:
    CRXIR2SP2Full
    win32
    "ModifyPath"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,78,\
      00,65,00,20,00,2f,00,49,00,7b,00,39,00,34,00,46,00,42,00,30,00,39,00,37,00,\
      38,00,2d,00,44,00,30,00,39,00,34,00,2d,00,34,00,30,00,43,00,37,00,2d,00,39,\
      00,31,00,44,00,37,00,2d,00,38,00,33,00,34,00,44,00,33,00,39,00,32,00,32,00,\
      30,00,44,00,34,00,41,00,7d,00,00,00
    "Publisher"="Business Objects"
    "Readme"=hex(2):68,00,74,00,74,00,70,00,3a,00,2f,00,2f,00,73,00,75,00,70,00,70,\
      00,6f,00,72,00,74,00,2e,00,62,00,75,00,73,00,69,00,6e,00,65,00,73,00,73,00,\
      6f,00,62,00,6a,00,65,00,63,00,74,00,73,00,2e,00,63,00,6f,00,6d,00,2f,00,00,\
      00
    "Size"=""
    "EstimatedSize"=dword:001bcc81
    "UninstallString"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,\
      78,00,65,00,20,00,2f,00,49,00,7b,00,39,00,34,00,46,00,42,00,30,00,39,00,37,\
      00,38,00,2d,00,44,00,30,00,39,00,34,00,2d,00,34,00,30,00,43,00,37,00,2d,00,\
      39,00,31,00,44,00,37,00,2d,00,38,00,33,00,34,00,44,00,33,00,39,00,32,00,32,\
      00,30,00,44,00,34,00,41,00,7d,00,00,00
    "URLInfoAbout"=""
    "URLUpdateInfo"=""
    "VersionMajor"=dword:0000000b
    "VersionMinor"=dword:00000005
    "WindowsInstaller"=dword:00000001
    "Version"=dword:0b050008
    "Language"=dword:00000000
    "DisplayName"="Crystal Reports XI Release 2"
    Hope this helps you.
    Just a precision : the message 'can't load data' not occures on all PC with runtime, At work i have installed runtime on 3 PC's (XP) and it works, problem occures when i 'm connecting to my customer's server (windows 2003 server SP2) via tse.

  • Printing parameter values in xml report, and displaying it in header of the

    Hi All,
    Can anybody give me an idea to print the parameter values in the xml report.
    My requirement is like, I have 10 parameters in report builder, I have generated the xml file and created the .rtf template and finally registerted in oracle apps. But now, the requirement is to print the parameter values in the report output.I don't see any xml tags in the xml output.
    Any suggestion will be appreciated.
    Thanks in advance.

    I think all the XML attributes can contain lexicals. If you bring up the property palette against the report object you can just set the following:
    XML Tag Attributes: myParameter="&<P_1>"
    where P_1 is your user parameter.

  • Barcode printing in XML report PDF output

    Hi All,
            I want to print barcode of invoice number / purchase order number in the XML report PDF output.
            Anyone please suggest me with your ideas and experience.

    Hi Bogdan,
    The steps mentioned in the doc is what i did in order.
    I couldn't understand the step # 13 & 14.
    Log in as XML Publisher Administrator
    Navigate to Administration --> Font Files --> Create Font File
    Available fields are Font Name and File
    --> for Font Name, choose any descriptive name
    --> file will browse your PC to locate the font file
    Navigate to Font Mappings -->Create Font Mapping Set
    Mapping name is the name you will give to a set of fonts.
    Mapping code is the internal name you will give to this set
    Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
    Create Font Mapping (this allows you to add fonts to a set)
    Font Family is the exact same name you see in MS Word under Font. If you don't use the same name the font will not be picked up at runtime.
    Style and weight must also match how you use the font in the RTF or PDF layout template. Normal and Normal are good defaults.
    Language and Territory should remain blank (NULL) unless you have a strong business reason, as these fields can cause the font not to be picked up at runtime.
    Navigate to Configuration General -> FO Processing -->Font Mapping Set. This can also be done at Data Definition and Template level, via the corresponding Edit Configuration button on those pages. The hierarchy is Site-> Data Def -> Template.
    Select your new mapping set.
    Make sure the font is not referenced under File --> Properties --> Custom in the RTF template file.
    Under General, set a Temporary Directory. The font will be stored under a /fonts directory at runtime, initially created the first time the font is used.
    Upload a template that uses your special font and test using preview or by submitting a concurrent request.

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • How to print XML report in French Language?

    Hi,
    I need to print XML report in French language, currently it display in English language.
    I have used following steps:
    1. I enabled French language on my oracle apps instance.
    2. Created the concurrent program with output type as XML
    3. Created Data Definition using XML Publisher Responsibility
    4. Created template. At the time of creation of templete, enabled Translatable check box and click Apply
    5. Once template is uploaded, you will find two buttons. Export Translation and Upload Translation.
    6. Clickd on Export Translation. XLF file opened.
    7. In XLF file - e. g. source-language="en-US" target-language="fr-FR".Source is English and fr is for French language and FR is territory.
    8. Update the target fields in French language. In the below example source field is in English language and target is in French language. This indicates that wherever the Invoice Date is present in RTF template it will be
    replaced by the target field in french language.
    <source>Invoice Date:</source>
    <target>Date de facture:</target>
    9. Updated the same for all fields and finally import the updated translation file.
    10. But When i run report , output display in English not in French.
    Please any one can help, what should in do next to print in French Language.
    Thanks,
    Sunil Mane
    Edited by: 973411 on Nov 30, 2012 6:56 AM

    Are you selecting the Template at the time of Program submission?
    Check in the Options while submitting the Program

  • Duplex Printing in Reports 3.0

    I am trying to print a report on both sides of the paper, using Reports 3.0. I have no problem doing this with Reports 2.5. The printer properties have been set properly, so it must be the report. Any ideas would be greatly appreciated. thanx
    Some details: (I'm not sure which, if any, are relevant)
    - "Logical Horizontal Panels" property of report = 2
    - "Panel Print Order" property of report = "Across/Down" ("Down/Across" makes no difference)
    - "Print on both sides" in printer properties is set to "Flip on long edge"
    null

    Henry (guest) wrote:
    : We are attempting to print a two sided document from a HP
    Duplex
    : printer using Reports 6.0 with little success. When we print
    a
    : similiar document using Microsoft Word, the document
    : successfully prints on both sides of the paper. Oracle
    support
    : has not been able to give us a solution. Any advice would be
    : helpful.
    : Thanks,
    : Henry
    Hallo Harry !
    I had the same problem. I could solve it with a postscript
    duplex printer only.
    Klaus
    null

  • Printing XML report (with report.xsl stylesheet) shows font colors, but not table highlight colors

    I am trying to print the XML report generated by TestStand to a PDF in order to archive it.  When the XML report is rendered in Internet Explorer, everything looks fine -- Sequence names are highlighted in teal, Pass is in green, Fail is highlighted in red.
    However, when I print this page to a PDF (using BullZip PDF printer, or even the XPS printer), all of the table highlighting is gone.  The UUT Result in the header is red or green font color depending on the pass/fail state, but sequence names and any formatting applied to tables within the body of the report have no highlighting.
    Is the stylesheet altering what is rendered when the XML file is printed?
    This is the output when viewed in IE 
    This is the output when viewed as a PDF printed from the same file viewed in IE.
    Thank you,
    Matt
    Solved!
    Go to Solution.

    Hey Matt,
    This is actually because of a default setting in Internet Explorer to not print background colors on webpages. To change it, simply go to the Page Setup screen (on IE9, you click the gear icon, then Print > Page Setup) and select the option to print background images and colors. After doing this, the printed report should contain the colors you see on your screen.
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Issue with XML report printing on R12 instance

    Hi,
    I'm facing issue with printing xml reports on R12 instance and followed the note (How To Print XML Publisher PDF Reports Via The Concurrent Manager:metalink id:338990.1) and configured the pasta printer,still printer output is showing the junk charcters.
    Please let me know how to resolve the issue?.

    Hi Hussien,
    We are on 12.1.1 / 11g with AL32UTF8 character set, we have custom reports developed in BI publisher and some some migrated reported from earlier version.
    Both BI publisher based custom like PO/Invoice/Cheque Print & seeded reports like "Active users/responsibilites" are being generated successfuly in pdf output. when copied to desktop and printed it prints properly. But when trying to direct output to printer from concurrent request it is printng junk.
    I checked pasta configuration, all required ghostscripts tools are on the AIX box, am I missing anything in R12?
    Regards

  • 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;

  • Duplex Printing in Crystal Reports

    Post Author: Razzle00
    CA Forum: General
    Where can I get some information or sample code on how to duplex print with crystal reports? 
    Thanks,
    Razzle

    Post Author: senglee
    CA Forum: General
    Here was how I did it using vb.net and crystal reports.
    1. In the report, create a seperate detail section to hold your second page.  Crystal will see it as Details a & b.  In section a, set the new page after property.  This will cause the second page (details b) to print on a seperate page. 
    2. Ok. The next step is to programmically tell your printer to print in duplex.  Study the code below and modify it to suite your needs.
                   ' Declare an object of your report.                Dim objReportObject As New rptTheDailySavings
                    'Declare a printoptions object of the objReportObjects print option.  Set the settings.                Dim PrintOptions As CrystalDecisions.CrystalReports.Engine.PrintOptions = objReportObject.PrintOptions                PrintOptions.PrinterName = "Your Printer Name Here"                PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.DefaultPaperOrientation                PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.DefaultPaperSize                PrintOptions.PrinterDuplex = CrystalDecisions.Shared.PrinterDuplex.Default                PrintOptions.PaperSource = CrystalDecisions.Shared.PaperSource.Auto
                    ' Send the report to the printer.                objReportObject.PrintToPrinter(1, False, 1, 2)
    Hope this helps.

Maybe you are looking for

  • SQL Injection detection with IDS/IPS on cisco ASA?

    Hi Is it possible to detect or prevent SQL injection attacks using Cisco IDS/ IPS on ASA or with regular expressions? Is there any signature available in IDS/IPS for this? And how effective it is in terms of generating correct alarms? Thanks in advan

  • NVRaid for Nforce 4 and Win XP Pro x64?

    Well, I just assembled my new box today (Neo4 Platinum SLI is the mainboard) and I was attempting to install Win XP 64-bit. Much to my disappointment, when I went to install the raid drivers I got a message saying they aren't compatable with the x64

  • Downgrade to iMovie 9.0.4?

    What are the steps to downgrade from iMovie 9.0.6 to 9.0.4? 9.0.6 doesn't import audio from the camcorder, and downgrading iMovie seems to be the only solution at the moment. I downloaded 9.0.4 from Apple Support, but the installer returns the messag

  • How to get rid of white icons on ipod touch 4th generation

    How do you get rid of white icons on the ipod touch 4th generation.  I tried resetting it already. Thanks,

  • Morphing panels

    http://labs.adobe.com/technologies/spry/ui/samples/MorphPanelsSample.html The above links to an example widget that automatically re-sizes & displays a series of images in a simple presentation. I would like to use this in a Dreameaver CS5 project bu