PDF Security Setting in Crystal report

Hi All,
I would like to ask, is there anyway for us to change the PDF security setting that created by crystal report?  We ussualy see the security setting in PDF documents settintg.
Thanks!
Nico

You would need to program that step yourself or use a 3rd-party Report Managers listed at http://www.kenhamady.com/bookmarks.html (I know at least one of them provides that functionality).

Similar Messages

  • Permissions - Viewing PDF Instances of a Crystal Report

    I have the following registered and installed products.
    Crystal Server V1
    Crystal Reports V1
    I have a number of crystal reports setup to schedule to create a pdf output instance.
    I am trying to allow specific Active Directory Groups access to view the PDF instances of the Crystal report. The users are only allowed access to view the PDF instance not the Crystal report. The users will view the pdf instance within InfoView.
    Can someone please let me know the correct path, as I have been through the permissions and have set everything to allow and the report nor the pdf's show.
    Thanks for your assistance.
    Regards

    Does not look like you are using this in a .NET app at all(?). That being the case, you're in the wrong forum. And if this a high priority, having BOE you should have phone support. I suggest you contact support via phone. Else, you can create a case here;
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • Preset PDF Security Setting

    Hey guys, does anyone here know how to set preset PDF security setting. You can only do this by export option.
    thanks for your help.

    You would need to program that step yourself or use a 3rd-party Report Managers listed at http://www.kenhamady.com/bookmarks.html (I know at least one of them provides that functionality).

  • Adobe reader problem on viewing PDF file created by crystal report

    I have a VB6 application to export the PDF file by using crystal report 9. However, when I viewed the PDF file under Adobe reader 8, I have a following message when I hit the page down key.
    "An error exists on this page. Acrobat may not display the page correctly.
    Please contact the person who created the PDF document to correct the problem."
    After hit okay, this message will be gone and I can see the PDF file without problem. However, I don't have this issue when using Adobe reader 5 or 6 version.
    If I crystal report 11 version to export the PDF, everything works fine also but our production machine can only use crystal report version 9, not 11.
    Anyone have idea?? Thx!

    Sounds as if there is a bug in the older version of Crystal reports.
    If you are prevented from installing fixes for bugs, you may well be
    stuck with the effect of the bug.
    Aandi Inston

  • 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

  • Error in setting datasource - Crystal reports

    Good day,
    I am currently experiencing a problem with setting my datasource to a report in Crystal Reports.
    Strangely, the report works in VS 2010, but when running as an executable, the program fails when assigning the datasource.
    My code:
        Public Sub PurchasesByVendor()
            Try
                Dim sql As String = "SELECT tblVendors.VendorID, tblVendors.VendorName, tblPO.POID, tblPO.EnterDate, tblCustomers.Company, tblOrders.RefNum, Sum(tblPOItems.ExtPrice) AS SumOfExtPrice " & _
                                    "FROM (((tblPO INNER JOIN tblPOItems ON tblPO.POID = tblPOItems.POID) INNER JOIN tblVendors ON tblPO.VendorID = tblVendors.VendorID) LEFT JOIN tblOrders ON tblPO.OrderID = tblOrders.OrderID) LEFT JOIN tblCustomers ON tblOrders.CustomerID = tblCustomers.CustomerID " & _
                                    "WHERE (((tblPO.EnterDate) Between #" & dpStart.Text & "# And #" & dpFinish.Text & "#)) " & _
                                    "GROUP BY tblVendors.VendorID, tblVendors.VendorName, tblPO.POID, tblPO.EnterDate, tblCustomers.Company, tblOrders.RefNum; "
                Dim con As New OleDb.OleDbConnection
                Dim da As OleDb.OleDbDataAdapter
                Dim ds As New DataSet
                con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Program Files\Mail-Shop\MSApp2k.mdb"
                con.Open()
                da = New OleDb.OleDbDataAdapter(sql, con)
                da.Fill(ds, "PO")
                Dim povList As List(Of POV) = New List(Of POV)
                If ds.Tables("PO").Rows.Count > 0 Then
                    For i = 0 To ds.Tables("PO").Rows.Count - 1
                        Dim pov As POV = New POV()
                        pov.VendorName = ds.Tables("PO").Rows(i).Item(1)
                        pov.PONumber = ds.Tables("PO").Rows(i).Item(2)
                        pov.PODate = ds.Tables("PO").Rows(i).Item(3)
                        If IsDBNull(ds.Tables("PO").Rows(i).Item(4)) = False Then
                            pov.Company = ds.Tables("PO").Rows(i).Item(4)
                        End If
                        If IsDBNull(ds.Tables("PO").Rows(i).Item(5)) = False Then
                            pov.Order = ds.Tables("PO").Rows(i).Item(5)
                        End If
                        pov.Total = ds.Tables("PO").Rows(i).Item(6)
                        povList.Add(pov)
                    Next
                End If
                'MsgBox(povList.Count)
                Dim datas As POVD = New POVD()
                Dim dt As New DataTable("povd")
                'Dim dt As DataTable = datas.Tables.Add("hc")
                dt.Columns.Add("Vendor", GetType(String))
                dt.Columns.Add("PONumber", GetType(Integer))
                dt.Columns.Add("PODate", GetType(Date))
                dt.Columns.Add("Company", GetType(String))
                dt.Columns.Add("OrderNbr", GetType(Integer))
                dt.Columns.Add("Total", GetType(Double))
                dt.Columns.Add("Charged", GetType(Double))
                datas.Tables.Add(dt)
                For Each dr In povList
                    Dim vendor = dr.VendorName
                    Dim ponbr = dr.PONumber
                    Dim poDate As Date = DateValue(DateTime.Parse(dr.PODate))
                    Dim company = dr.Company
                    Dim order = dr.Order
                    Dim total = dr.Total
                    Dim charged = dr.getCharged(dr.PONumber)
                    Dim nw As DataRow = datas.Tables(0).NewRow()
                    nw(0) = vendor
                    nw(1) = ponbr
                    nw(2) = poDate
                    nw(3) = company
                    nw(4) = order
                    nw(5) = total
                    nw(6) = charged
                    datas.Tables(0).Rows.Add(nw)
                Next
                '' bind the datasource+
                Dim objRpt As New PurchaseByVendor
                objRpt.SetDataSource(datas.Tables(0))
                Dim wfp As New WindowFormReport()
                wfp.CrystalReportsViewer1.ViewerCore.ReportSource = objRpt
                Me.NavigationService.Navigate(wfp)
                con.Close()
                con.Dispose()
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
        End Sub
    Thanks!

    What version fo CR you are using, what service pack?
    What CR components are installed on the client machine for deployment?
    When using datasets to pass the data to Crystal reports, the issue occurs due to datasets in 50% of cases.
    What exact error do you get?
    Could you try below steps which would tell you if its an issue with Crystal or with getting data into datasets.
    - Once the data is populated in the dataset and before doing a "objRpt.SetDataSource(datas.Tables(0))", write the data to a datagrid.
    - While deploying the EXE, you could observe the datagrid to check fi the datasets do return some data.
    This may not be a Crystal issue.
    if you get the data in the datagrid and not in the report then do a 'ds.writeXml("XMLfilepath.xml")'. this will generate the XML file with the data from the dataset. the open the report indeaigner and try to assign the XMl to the report and see if the report works in thed esigner.
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • No Hyperlink in PDF after export from Crystal Reports 2008 SP2

    When I export a report from Crystal Reports 2008 Developer (as well as from the runtime) SP2 to PDF the Hyperlink to a file on hard disk is missing.

    Hi,
    Go through this LInk
    Re: No hyperlinks after exporting to pdf
    Regards,
    Salah

  • PDF Export Output in Crystal Reports Developer 10 vs. Crystal Reports Developer XI

    <p>Hi -- First post here, so forgive newbish behavior (at least for today)</p><p>Quick question:</p><p>Why does my output differ (margins and image size) for the same report exported to PDF via Crystal Reports Developer 10 vs. Crystal Reports Developer XI?  It&#39;s the same report with the same data and same design.  When XI is compared to 10, the output in XI seems to remove an extra 1/4-inch on the left, right, top, and bottom margins and makes my images shrink by about a factor of 25%.</p><p>While not the end of the world, it would be nice to get an explanation as to why this happens.</p><p>Thanks in advance,</p><p>Amasis</p>

     I personally haven't noticed that myself but I'm sure it will have been reported to Customer Care if it's a more persistent issue. Have you tried looking this up in the Knowledge Base?
        - Kathryn Webster (Report Design Consultant)Â
               Kat&#39;s News: http://diamond.businessobjects.com/blog/279

  • Embedding DOC's and PDF's dynamically in Crystal Reports

    Hi,
    Is there a way to embedd PDF/word documents dynamically into the Crystal Reports. I do understand we can do that for Images using 'Graphic Lcoation' option but that feature wont work with word docs and Pdf's.
    Please let me know if there is any 3rd party utility tool that makes it happen or Can it be coded using any codes like VB/C#/Java etc.
    I have posted this question in Crystal reports as well. But I want to know if it is programatically possible using Java SDK or not.
    Thanks

    I don't think you can embedd a pdf or word document in the crystal report. The only alternative I think of is:
    add a text object to the report. Right click > Format Text > hyperlink tab > select Hyperlink type as a file and use browse to specify the pdf or word file on disk or network location the file you want to open. So it will open the pdf or word upon clicking the link.
    This can be done at runtime only using Report Application Server SDK and not Crystal Reports for Java.

  • Cannot implment security setting on the report level - SSRS 2012

    Hi All:
    I am having a weird problem on my SSRS 2012 reporting portal, I cannot click any of the drop down list like the example below. Is there anything from the setting?
    It is not only about the reporting level, any arrow on the reporting server, like data source, are kind of dead as well.
    Please kindly help and thanks in advance.
    Cheers
    Johnny

    Hi JohnnyKahWang,
    According to your description, you can view folders and reports on report manager, but you could not click any of the drop down list.
    Reporting Services uses role-based security to grant user access to a report server, and there are two types of roles: Item-level roles and System-level roles. Access to reports, folders, models, shared data sources, and resources is controlled through item-level
    role assignments. Each user who requires access to a report server must have at least one item-level role assignment. On a new installation, only local administrators have access to a report server. In this case, a local administrator need to create a role
    assignment which has Manage folders and Manage reports task to the account by following steps:
    Click Home at the top of the page to open the Report Manager home page.
    Click the drop-down arrow next to the folders and reports.
    Click New Role Assignment.
    In Group or user name, specify the name of a group or account.
    Select a role which can perform Manage folders and Manage reports tasks.
    Click OK to save the role assignments.
    For more information about Setting Item-Level Permissions on a Report Server, please refer to the following document:
    http://technet.microsoft.com/en-us/library/aa337471(v=sql.105).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • How to output PDF files in a crystal Report

    Hello,
    I've some data stored in a database, they are PDFs files data.
    How can I include them in a report
    For example
    I've a Table
    MyTABLE with 2 Cols (Name STRING, data byte[]) (in fact it's a .NET/DataSet)
    I would like to display the content of my table in a CR
    I can include a static PDF in my report, but not a variable one.
    Can anyone Help Me ?
    Thanks
    Marc

    Something I don't understand here. PDF vs. .NET Dataset.
    If the data is in a .NET Dataset; (in fact it's a .NET/DataSet)
    Then all you should need to do is;
    crReportDocument.Database.Tables(0).SetDataSource(dataSet.Tables("NAME_OF_TABLE"))
    or
    crReportDocument.SetDataSource(dataSet)
    or
    crReportDocument.SetDataSource(dataSet.Tables(0))
    How the dataset is created or what is behind the dataset should not be of any consequence. To ensure you get the fresh data, either don't enable the "Saved Data" option, or use .Refresh in your code.
    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]

  • Using Keyboard keys in Fields setting in Crystal Report Design ?

    Hi Experts
    I want to know that how can I change text object or a field size or position by keyboard. sometimes it works and sometimes not. What is the setting for using keyboard.
    Thanks
    Regards
    Gorge

    Keyboard keys will only work under certain modes in CR.  You have to check the mode constantly to see in which ways they work.  There are too many conditions may cause them not work.  That list could be too long to find them all.  You would have a good grasp on the rule after you familiar with them.
    Thanks,
    Gordon

  • Security issue in Crystal Report 2008 for SAP B1

    Hi Friends,
                     I want to hide the Query which is used in my report from the end user,I don't want they can see and edit the report after exporting from sap b1.
    Please help.....its urgent
    Thanks.
    Andy

    Hi Andy,
    SAP B1 is an OEM version of CR 2008. I can't move your post so please mark as answered and post your question to this forum:
    /community [original link is broken]
    Thank you
    Don

  • Problems printing pdfs generated by Crystal Reports X

    The printers in our office area were recently upgraded to Xerox Work Centre 5632 printers using Managed Print Service.  We are now having issues printing reports from within the application to any of these newly defined printers.  The Arial font, which is commonly used on the majority of our report templates, is displaying as a series of squares with readable letters or numbers thrown in randomly.   I don't know if the issue is limited to Arial, or if other fonts behave similarly.  I have tried to print several different reports to several different print servers and printer combinations, all with the same result. When viewing the report online, or saving as PDF and viewing, it looks fine.  If we save the report as a PDF, then select "print as an image" (on the advanced tab of the print menu), the report will print correctly.
    Is there any way to either change the report design or a setting in Crystal Reports to prevent this from happening ? This problem did not occur when using a different printer.

    This is not a Crystal Reports issue.  It is a printer (or printer driver) issue.  Does the printer support Arial font???
    HTH,
    Carl

  • Error in Export to PDF for crystal reports

    Hi All,
                I have created one Crystal Report & on other side i have created a windows form & kept crystal report viewer on it.so through my coding i'm setting the crystal report to get loaded into viewer on runtime.so in runtime i can connect to Printer (or) i can export it to PDF,but while exporting it to PDF gives me an error like this
    System.Threading.ThreadStateException:current thread must be set to single state apartment(STA) mode before OLE calls may be made.Ensure that your main function has STAthreadAttribute marked on it.
    System.Windows.Forms.Form.ShowDialog()
    can anybody suggest me some ideas to solve this problem.
    thanks,
    shangai.

    hello,
    in details,
    1. to make sure that ur .rpt file is working run in (Preview ) using crystal reports ... this should return the expected result.
    2.try to run ur report in an Administrator account. (if i am correct w/ authorization issue) this should fix the problem.
    best regards
    fidel

Maybe you are looking for

  • Idoc segment population logic needed

    Hi experts, I am creating a custom idoc. The custom idoc has one parent segment(zhead1) and a child segment(zinvoice). I am populating the  invoice numbers(BELNR) and their line items in the child segment against a particular check number(PAYR_CHECT)

  • Load text or txt file into a table when a button is clicked by the user

    Can anyone please help me, I have a form where a user comes and uploads a text file(Unicode UTF-8) and clicks a button(Upload) , when the button is clicked - it should load the text file data into the database table for the corresponding columns. Not

  • (8I) COLLECTION TYPE 변경 방법

    제품 : SQL*PLUS 작성날짜 : 1999-05-12 COLLECTION TYPE 변경 방법 ========================= collection type은 attribute나 column의 데이타 타입으로 사용된다. 이전에 정의한 collection type의 property를 변경해야 하는 경우가 종종 발생하게 되는데 그 작업이 간단하지 않다. ALTER TYPE문은 spec이나 body를 재컴파일하거나, member를 추가

  • Is there a function module to display the selection options

    Hi all, How can I display the selection options (F2) popup, like the one in the data browser (SE11) selection screen? I have a custom report. Instead of right clicking on the selecion-options field, user want a button to click so the selection option

  • Runtime Error  - NullPointerException

    I am not quite sure where to start but I will do my best to not have it turn into ramble. First I want to check for an "old" open DB connection and close it if there is one open Now where my error occurs: Then in the while (connected == false) loop,