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;

Similar Messages

  • 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

  • Duplex Printing in Reports 6.0

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

  • Duplex print with Report 6i on SUN Solaris

    Dear All,
    I would like to know if it's possible to print in duplex mode using Report 6i on SUN Solaris. If yes! show me the way.Thanks for help.

    Hi DG,
    Thanks a lot for being patient with me.
    Here is what df -k returned.
    # df -k
    Filesystem kbytes used avail capacity Mounted on
    /dev/dsk/c0d1s0 1139022 711306 370765 66% /
    /proc 0 0 0 0% /proc
    fd 0 0 0 0% /dev/fd
    mnttab 0 0 0 0% /etc/mnttab
    swap 215536 4 215532 1% /var/run
    swap 215848 316 215532 1% /tmp
    /dev/dsk/c0d1s7 6404645 4938156 1402443 78% /export/home
    # who
    root console Jul 20 14:09 (:0)
    root pts/4 Jul 20 14:10 (:0.0)
    The foregoing list shows that I do not have sufficient disk space. Oracle Install documentation says I should have 3GB for a full install. My second hard disk should be able to handle this, but I do not know yet how I can add more disk space to the file system. Can you please tell me how I can do this?
    Meanwhile I am deleting the 13 files 9iAS10220_part1 through 9iAS10220_part13 to free up some disk space. Having extracted files and created Disk1 through Disk5, I do not think I will need these 13 files anymore.
    I am still trying to understand what runInstaller script is trying to do.
    Roger
    null

  • Printing directly to printer in Reporting Services 2008 problem

    We have recently installed a new SQL 2008 server.  I have an application that prints an SSRS report (2005) directly to the printer.  If I change the reference to point to the new SQL 2008 server and run the application, the report is printed but the font size is huge and the report doesn't fit on the paper.  The only change I made in the code is the reference, that is it. Any ideas why this is happening?
    Thanks

    I guess I wasn't clear with my current configuration.  I am using the SOAP interface to print the reports directly to the printer.  I have a web reference (ReportServer) pointing to the new server and here is the code I use to print the report:
    public class ReportPrinter
            //ReportingService rs;
            ReportServer.ReportExecutionService rs;      
            private byte[][] m_renderedReport;
            private Graphics.EnumerateMetafileProc m_delegate = null;
            private MemoryStream m_currentPageStream;
            private Metafile m_metafile = null;
            int m_numberOfPages;
            private int m_currentPrintingPage;
            private int m_lastPrintingPage;
            private string _printer = "";
            public ReportPrinter()
                rs = new ReportServer.ReportExecutionService();
                rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
                PrintDialog dlgPrint = new PrintDialog();
                dlgPrint.PrinterSettings = new PrinterSettings();
                if (Common.gPrinterToUse == "" ||Common.gPrinterToUse == null)
                    if (dlgPrint.ShowDialog() == DialogResult.OK)
                        _printer = dlgPrint.PrinterSettings.PrinterName;
                        Common.gPrinterToUse = _printer;
                    else
                        return;
                else
                    _printer = Common.gPrinterToUse;
            private byte[][] RenderReport(string reportPath, ParameterValue[] reportParameters)
                // Private variables for rendering
                string deviceInfo = null;
                string format = "IMAGE";
                Byte[] firstPage = null;
                string encoding;
                string mimeType;
                Warning[] warnings = null;
                ParameterValue[] reportHistoryParameters = null;
                string[] streamIDs = null;
                Byte[][] pages = null;
                string extension = null;
                string historyID = null;       
                // Build device info based on the start page
                deviceInfo = String.Format(@"<DeviceInfo><OutputFormat>{0}</OutputFormat></DeviceInfo>", "emf");
                ExecutionInfo execInfo = new ExecutionInfo();
                ExecutionHeader execHeader = new ExecutionHeader();
                rs.ExecutionHeaderValue = execHeader;
                execInfo = rs.LoadReport(reportPath, historyID);
                rs.SetExecutionParameters(reportParameters, "en-us");
                rs.Url = "http://hr-sqlsvr3/reportserver/ReportExecution2005.asmx";
                //Execute the report and get page count.
                try
                    // Renders the first page of the report and returns streamIDs for 
                    // subsequent pages
                    //firstPage = rs.Render(
                    firstPage = rs.Render(format, deviceInfo, out extension, out mimeType, out encoding, out warnings, out streamIDs);
                    // The total number of pages of the report is 1 + the streamIDs         
                    m_numberOfPages = streamIDs.Length + 1;
                    pages = new Byte[m_numberOfPages][];
                    // The first page was already rendered
                    pages[0] = firstPage;
                    for (int pageIndex = 1; pageIndex < m_numberOfPages; pageIndex++)
                        // Build device info based on start page
                        deviceInfo =
                            String.Format(@"<DeviceInfo><OutputFormat>{0}</OutputFormat><StartPage>{1}</StartPage></DeviceInfo>",
                            "emf", pageIndex + 1);
                        pages[pageIndex] = rs.Render(format, deviceInfo, out extension, out mimeType, out encoding, out warnings, out streamIDs);
                catch (SoapException ex)
                    Console.WriteLine(ex.Detail.InnerXml);
                catch (Exception ex)
                    Console.WriteLine(ex.Message);
                    MessageBox.Show(ex.InnerException +
                        Environment.NewLine + ex.Message +
                        Environment.NewLine + "Number of pages: " + pages.Length.ToString() +
                        Environment.NewLine + "Report Path: " + reportPath, "Error Printing");
                finally
                    Console.WriteLine("Number of pages: {0}", pages.Length);
                return pages;
            internal bool PrintReport(string report, ParameterValue[] reportParameters, bool landscape)
                this.RenderedReport = this.RenderReport(report, reportParameters);
                try
                    // Wait for the report to completely render.
                    if (m_numberOfPages < 1)
                        return false;
                    PrinterSettings printerSettings = new PrinterSettings();
                    printerSettings.MaximumPage = m_numberOfPages;
                    printerSettings.MinimumPage = 1;
                    printerSettings.PrintRange = PrintRange.SomePages;
                    printerSettings.FromPage = 1;
                    printerSettings.ToPage = m_numberOfPages;
                    printerSettings.PrinterName = _printer;
                    PrintDocument pd = new PrintDocument();
                    m_currentPrintingPage = 1;
                    m_lastPrintingPage = m_numberOfPages;
                    pd.PrinterSettings = printerSettings;
                    pd.DefaultPageSettings.Margins = new Margins(0, 0, 0, 0);
                    pd.DefaultPageSettings.Landscape = landscape;
                    // Print report
                    Console.WriteLine("Printing report...");
                    pd.PrintPage += new PrintPageEventHandler(this.pd_PrintPage);
                    pd.Print();
                catch (Exception ex)
                    Console.WriteLine(ex.Message);
                finally
                    // Clean up goes here.
                return true;
            private void pd_PrintPage(object sender, PrintPageEventArgs ev)
                ev.HasMorePages = false;
                if (m_currentPrintingPage <= m_lastPrintingPage && MoveToPage(m_currentPrintingPage))
                    // Draw the page
                    ReportDrawPage(ev.Graphics);
                    // If the next page is less than or equal to the last page, 
                    // print another page.
                    if (++m_currentPrintingPage <= m_lastPrintingPage)
                        ev.HasMorePages = true;
            // Method to draw the current emf memory stream 
            private void ReportDrawPage(Graphics g)
                if (null == m_currentPageStream || 0 == m_currentPageStream.Length || null == m_metafile)
                    return;
                lock (this)
                    // Set the metafile delegate.
                    int width = m_metafile.Width;
                    int height = m_metafile.Height;
                    m_delegate = new Graphics.EnumerateMetafileProc(MetafileCallback);
                    // Draw in the rectangle
                    // Point destPoint = new Point(0, 0);
                    Point[] destPoint = new Point[3];
                    Point point1 = new Point(0, 0);
                    Point point2 = new Point(width, 0);
                    Point point3 = new Point(0, height);
                    destPoint[0] = point1;
                    destPoint[1] = point2;
                    destPoint[2] = point3;
                    g.EnumerateMetafile(m_metafile, destPoint, m_delegate);
                    // Clean up
                    m_delegate = null;
            private bool MoveToPage(Int32 page)
                // Check to make sure that the current page exists in
                // the array list
                if (null == this.RenderedReport[m_currentPrintingPage - 1])
                    return false;
                // Set current page stream equal to the rendered page
                m_currentPageStream = new MemoryStream(this.RenderedReport[m_currentPrintingPage - 1]);
                // Set its postion to start.
                m_currentPageStream.Position = 0;
                // Initialize the metafile
                if (null != m_metafile)
                    m_metafile.Dispose();
                    m_metafile = null;
                // Load the metafile image for this page
                m_metafile = new Metafile((Stream)m_currentPageStream);
                return true;
            private bool MetafileCallback(EmfPlusRecordType recordType,int flags,int dataSize,IntPtr data,PlayRecordCallback callbackData)
                byte[] dataArray = null;
                // Dance around unmanaged code.
                if (data != IntPtr.Zero)
                    // Copy the unmanaged record to a managed byte buffer 
                    // that can be used by PlayRecord.
                    dataArray = new byte[dataSize];
                    Marshal.Copy(data, dataArray, 0, dataSize);
                // play the record.      
                m_metafile.PlayRecord(recordType, flags, dataSize, dataArray);
                return true;
            internal byte[][] RenderedReport
                get
                    return m_renderedReport;
                set
                    m_renderedReport = value;

  • How to make a reporting services report always print one sided

    We have a need to be able to print a specific report always one-sided, even when the printer property is defaulted to duplex.
    Is there a way on a report to do this?

    Hi WAConnie,
    According to your description, you want to set the one-sided printing in Reporting Services. Right?
    In Reporting Services, we don't have any feature/properties to set the printer one-sided. Please refer to the screenshots of print properties:
    In this scenario, you can only set this property on printer side.
    Reference:
    Print Reports (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Duplex printing in Word 14.4.6 on HP2015d

     Under layout the print double-sided option is greyed out. But the printer prints pdfs doublesided so this is presumably a microsoft word issue (as usual).

    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 Crystal Report to Printer from Windows Service

    Hello Support,
    We are currently using 13.0.3.612 version of Crystal report. We want to print the report to the printer from the windows service. For printing the report to the printer we are using the “PrintOutputController.PrintReport” method. At our end on the Windows 8 machine this method is giving following error:
    Message: Error HRESULT E_FAIL has been returned from a call to a COM component.
    StackTrace:    at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.PrintReport(PrintReportOptions options)
       at PMLWLibrary.CrystalReport.LoadReports()
    And on the Windows 7 machine the report is sent to the print spooler, however the report is not printed on the printer. Not sure what could be causing the issue. Can you please let us know what could be causing the issue.

    Hi Brian,
    Thank you for your response.
    We tried running the service under the domain user account as well which has access to the printer, but even this fails. Further, from the regular .net application when we try to print the report to the printer, it directly prints the report without displaying any print window. So I assume that even from the service no print window should be launched. Can you please confirm on this.
    We are attaching herewith the code snippet which we have used to print to printer through the service. Can you please review the same and let us know if we are missing something here.
    Dim printReportOptions As New CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions
    Dim printOutputController As New CrystalDecisions.ReportAppServer.Controllers.PrintOutputController
    Dim rptClientDoc As CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument
    rptClientDoc = ReportDocument.ReportClientDocument
    printReportOptions.PrinterName = "\\pc2\HP LaserJet 1015"
    printReportOptions.JobTitle = [Enum].GetName(GetType(ReportNames), PrinterSetting)
    printReportOptions.Collated = False
    printReportOptions.AddPrinterPageRange(1, 1)
    rptClientDoc.PrintOutputController.PrintReport(printReportOptions)

  • How to print pdf file in SQL Server Reporting services report using command prompt?

    Is there a way to automatically print a SQL Server Reporting services report on command prompt? For eg: We can save a pdf file using rs.exe utility. I want to print a pdf using rs.exe utility. Is it possible? I don't want to install any 3rd party software.

    Thanks Simon for replying to my question.
    In oracle form, there is oracle command to print the report from command prompt with the help of rwrun.exe
    e.g: rwrun.exe   REPORT="D:\Test\REP_25\MLA.REP" DESNAME="testprinter" DESTYPE="PRINTER" P_FORMNAME="MLA.FMX" P_SPRACHE="E" P_SPRACHE_NR2="1" P_WHERE_BEDINGUNG="order by land_nr" USERID="test/test.world" PSV_NAME="PSV_DEMO" PSV_JOB_ID="PS$9583" RECURSIVE_LOAD="NO"
    BATCH="YES" NONBLOCKSQL="NO" ARRAYSIZE="1" PARAMFORM="NO" ERRFILE="c:\temp\psv16.tmp"<
    and to save the report we just need to change DESNAME="c:\temp\OC_100001349.pdf" DESTYPE="FILE" in above command instead of DESNAME="testprinter" DESTYPE="PRINTER".
    DESNAME and DESTYPE are the input parameters of the respective report.
    In SSRS, we can run the file from the command prompt and save it.
    rs -i "C:\Users\pujarswa\Documents\reports\new\LoadReport.rss" -s ww2004760:80/ReportServer_MSSQL -v fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"
    -v reportPath="/TipsReport/LoadListTabular" -t -v format="PDF" -v LandNr=4 -u ap\swati -p test@# -e Exec2005
    But we cannot use same command for printing as you said we need to create another script for printing files.
    I have gone through the links but I dont want to use Adobe Acrobat Reader exe for printing because client it may not have Adobe Acrobat Reader on their machine.
    Also I want to pass a input parameter as type="Printer" to my report which will print directly for me and same I can acheive in command prompt passing type="Printer" fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"

  • SQL 2012 Reporting Services Print Control... FIX?

    I have an web site that uses ActiveX print control and when there is a SQL update it breaks the print control for all the end users and I have to walk around and enter my admin username/pass to fix this.I have tried a number of fixes such as:Batch script that I did up according to some MS tech blog to pull the new stuff and auto install it on workstations.AD GPO:Computer Conifg Policies Admin Temps Windows Components Internet Explorer Internet Control Panel Security Page Intranet Zone
    "Run activex controls and plugins" : Enable
    "Script ActiveX Controls Marked Safe For Scripting" : Enable
    "Download signed ActiveX Controls" : EnableGave ability to install any printer.Also I have tried various other methods, which I full forget what they were now. Ideas?My Desktops are all running Win 7 x64 Pro. with Internet Exploiter 10 x86.
    This topic first appeared in the Spiceworks Community

    Hi,
    IIS is no longer needed for reporting services the web service and site are native to the ssrs service.
    This dependency was removed in 2008 actually.
    Here is some info:
    http://blogs.technet.com/b/andrew/archive/2007/12/04/sql-server-2008-reporting-services-no-longer-depends-on-iis.aspx
    hope this helps.
    Chas Hyman

  • Reporting Services Client-Side Printing

    All my BI users should be able to print SSRS directly from their Local PC. Right now they do not have administrative rights on their PCs.  How do I install  the print- client  SSRS files on the client machines. Also, what and where are the
    files I need to install in order to enable client-side printing. I am using SSRS 2012 SharePoint integrated mode.

    Check out this article...
    http://www.kodyaz.com/articles/client-side-printing-silent-deployment-of-rsclientPrint.aspx
    The same concept applies no matter which version of SSRS you are dealing with.  You just need to find the CAB file.  For SSRS 2008 R2 it is in:
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\bin

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

  • Crystal report 11 - duplex printing ???

    Hi, I have a problem with duplex printing. Our printer supports duplex printing. When I print a document from Windows7, the printer prints on both sides of the sheet - that is correct, but when printing from our information system (information system used CR11 to display reports), the printer prints each page of the document on a separate sheet - so it is not duplex.
    How can I solve this problem? something has to be set in the report design?
    Thanks

    Hi,
    See this links, it may be helpfull:
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/40e40899-721e-2b10-b084-c7ed76af46f1?quicklink=index&overridelayout=true
    23page
    Default printer settings in CR rpt file
    http://www.forumtopics.com/busobj/viewtopic.php?p=731859
    http://www.crystalkeen.com/articles/crystalreports/duplexprinting.htm
    All the Best,
    Madhu...

  • JavaBean Barcode Printing Demo - Can't post to 9i Report Service

    Anyone tested the Barcode Javabean in Oracle 9i Demo?
    We have tested it under Windows and Solaris 9i DS; but when trying to port to 9i Report service, always got problem.
    Looks like 9i Report Service couldn't get the path of class. But checked it is within.
    Can anyone kindly advise?
    Thanks!

    I have tried it and it works under Windows 2000.
    But I encountered the follows error in my production system running UNIX Solaris 9ias Rel 2:-
    "REP-1401: 'beforereport': Fatal PL/SQL error occurred.
    ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA"
    Explored and changed the CLASSPATH and REPORT_CLASSPATH in the following files and yet still cannot work.
    1) .../iasr2/bin/reports.sh
    2) .../iasr2/reports/conf/rep_portal.conf
    & tried
    3) .../iasr2/forms90/server/default.env
    4) .../iasr2/reports/config/reportsConfig.properties
    Urgent! Any help will be greately appreciated.
    Rgds
    Edwin

  • Redirect 9i Report Service Output to Client's Printer Directly

    Hi,
    We are using 9iAS R1 to produce PDF reports and deliver via Internet connection.
    Our client computers are mostly Windows-based PC.
    To print reports, a user has to go thru the following steps:-
    Print Report -> Receive PDF output from Server -> PDF is open -> Press Print button to print to printer
    Now, is it possible for us to shorten the time of printing by automatically deliver the print job to printer once the PDF arrives at the client PC?
    Thank you!
    .YM

    Ying
    If your requirement is to print the report ultimately, then you don't need to go for PDF and then print.
    You can directly tell the report server that the destype = Printer desname = <your network printer name> and desformat =PDF or PS
    Please refer to Pulishing reports manual at http://otn.oracle.com/docs/products/reports/content.html
    Thanks
    The Reports Team

Maybe you are looking for

  • Global Temp Tables in a Stored Proc

    Hi All, I'm trying to create a procedure that creates some tables and then creates global temporoay tables. This runs fine in a scrupt but when I place it in a proc, it fails with the following error Error(172,10): PLS-00103: Encountered the symbol "

  • Parked invoice ERS

    Hi Gurus, Is there any way to cancel ERS parked invoices? Thanks, Kumar

  • Posting An invoice

    Hello All, The Scenario Is :  suppose I post the vender document of rs.100000/- and i want to calculate the service tax only on 60000 and rest 40000/- is remains same no tax calculated on 40000/-. how i can post the invoice to calculate tax on partia

  • Authorization error; unknown user name or incorrect password

    Hi, We are facing the issue logging into Integration Builder in PI system getting "Authorization error; unknown user name or incorrect password" for all the users.I able to login NWA in PI system.Please find the default trace details below.help us. #

  • Why this Java Thread program doesn't work as expected?

    Hello all: I have a java code as follows: My question is why tryThreadB which is set as deamon thread still run after the main program return? the output of this program looks like: HopalongMarilyn HopalongMarilyn HopalongMarilyn HopalongMarilyn Hopa