Export to pdf on windows 7

hi all
i dont seem to be able to use the export to pdf option on my documents when i installed sap on windows 7. when i turn UAC off, it works. but i do not want to turn UAC off. do i have any options? is there any other setting that is blocking this?
is it just the UAC that is blocking this feature?
please let me know.
thanks!
prem

Hi,
UAC is used to prevent the computer you are using to run not uncertified program. So, I am not sure if your adobe acrobat is original or have registered to microsoft. Try to search the KBA of microsoft to know more about UAC
JimM

Similar Messages

  • Export to pdf, on Windows 2003 Server

    Post Author: deadfish
    CA Forum: Exporting
    Hi,
    I have an ASP application which allow users to print their reports in pdf format.  Everything works fine when it is on Windows 2000.  Problem comes out when the application is moved to Windows 2003 Server.  When some users is accessing the pdf version of report, other users cannot modify the database that the report related to.  When I open the mdb (I am using MS Access) file, it saids it is read-only.  But if I just preview the report(using the designer), it does not lock the mdb file.  There is no such lock on WIndows 2000.
    How to get rid of this problem?  It is neccessary to keep other users to modify the table while some user is viewing their report.
    Thanks in advance!

    Does not seem like a Crystal reports error.
    Apply [SP 2 on CR for VS 2010|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe].
    Take a look at the SAP Note
    [1198587 - How to export a report to stream in C Sharp (C#) for Visual Studio .NET |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333533383337%7D.do]
    How many users access the same report at a time?
    Below article might help as well
    [Crystal Reports Maximum Report Processing Jobs Limit|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023]
    - Bhushan.
    Edited by: Bhushan Hyalij on Dec 16, 2011 6:19 PM

  • Export the pdf from indesign some error Pop Up window (Failed to Export the PDF file). How slove the

    Export the pdf from indesign some error Pop Up window (Failed to Export the PDF file). How slove the problem
    Please some one help on this

    You need to try exporting the first half of the book.
    If that exports ok then export the other half of the book.
    Whatever half it fails on - keep dividing the book in half to find the culprit page or pages.
    For example if your book is 128 pages long:
    1. Export pages 1 - 63
    2. If these Fail to Export then
    3. try exporting1-32
    4. If these Fail to Export
    5. then try exporting1-16
    If it doesn't fail (step 2)
    Then export pages 64-128
    and 64-90 etc.
    until you find the pages causing the issues.

  • I cannot get Adobe ExportPDF to work. The screen is blank when I click on Select PDF files to Export.  I use windows 7.

    I cannot get Adobe ExportPDF to work. The screen is blank when I click on Select PDF files to Export.  I use windows 7. I also tried to export a document directly from Adobe Reader using the tool, but it gave me an error message. Any suggestions?

    Hi,
    Try to use different browser.
    Would it be possible for you to send me the document so that i can take a look at my end?
    You can email me at:[email protected]
    Regards,
    Florence

  • Export to pdf fonts in acrobat on windows

    I am all excited to create a newsletter for a club I belong to. I decided to use Pages on my new macbook air. I've spent about 10 hours or so creating my newsletter and I decided to test it out. So I exported it as a pdf and emailed it to myself to open on my windows 7 pc. Lo and behold the fonts are all squished up and crooked.
    This seems like a major flaw. I expect anything that I export to pdf to render exactly the same on any other computer. Apparently this is not the case.
    I know that when I use Word and export to a PDF it renders the same on any Mac or PC. However, Pages does not.
    Does anyone have a work around or know any way to fix this?
    I'm just using one of the standard Pages templates, nothing fancy.

    Like other apps delivered by Apple, Pages is supposed to embed the fonts in the PDF which it deliver.
    If it doesn't we can't change the behavior.
    In such case it's important to send a feedback to Apple thru the dedicated channel :
    Go to "Provide Pages Feedback" in the "Pages" menu , describe what you wish.
    Then, cross your fingers, and wait at least for iWork'11 or 12 ;-)
    I guess that they killed the process during one of the six updates delivered since january 2009.
    Yvan KOENIG (VALLAURIS, France) jeudi 4 août 2011 09:52:52
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Crystal export to pdf  windows app: logon fails  -- works at other sites

    There must be hundreds of these errors each seems different. 
    I have a program installed on 4 different networks running vb.2008 windows app with the bundled CR.     It works on Vista 64 and windows xp machines.  Uses sql express 2008   The following works on all of them but one  (all installed with same setup disk):  crystal viewer opens with a report. A button is pressed and the report is automatically exported to a folder.  However in this one case all machines at one site fail (vista & xp)  As I mentioned, this  export functionality works on 3 other sites including development site and the reports all come up on all sites.  It is just the export to pdf on all machines on one site. Plus all reports work fine at all sites.  It is just the export to pdf at the one site.   Hee is the error.
    Crystaldecisions.crystalreports.engine.logonexception: logon failed.
    details: mscorlib: could not find file 'c:\windows\temp\inv.xsd'
    error in file c:\document.......
    unable to connect: incorrect log on parameters---> system.runtiem.interopservices.comexception(0x8004100DF) Logon failed.
    Unable to connect: incorrect log on parameters.
    at crystaldecisions.reportappserver.controllers.reportsourceclass.export(exportoptions pexportoptions,requestcontext prequest context)
    at crystaldecisions.reportsource.EromReportSourceBase.exporttostream(exportrequestcontext reqcontext)
    -end of inner exception stack trace
    at crystaldecisions.reportappserver.convertdotnettoerom.throwdotnetexception(exception e)
    at crystaldecisions.reportsource.eromreportsourcebase.exporttostream(exportrequestcontext reqcontext)
    at crystaldecisions.reportsource.eromreportsourcebase.export(exportrequestcontext reqcontext)
    at crystal.crystalreports.engine.formatengine.export()
    at crystaldecisions.crystalreports.engine.reportdocument.export()
    at fioes.frmcrmenulaserreport.exportcompletion()
    The same person set up all 4 networks for whats thats worth.

    reports work fine on all the machines and never had an error. In fact, report is up in  CR viewer when user presses button to export. Error is  on the crrpt.export command
    by the way, actually what happens when the cr.export is executed?  Maybe that may help me.
    Edited by: suzanne haig on Jun 18, 2009 9:27 PM
    One issue that I noticed  is that when there are report parameters defined they need to be in the same   block as the export object setup.  I in fact do have parameters that are given their value from  a dataset.  This is done in the form that shows the crystal viewer, but they are not  in the same procedure  as the export creation and the dataset for the parameters  is not declared on the form level.  However, the report object is declared on the form level as is the datset with the report data, so any property added to it, should be visible throuout the form including where the export occurs.
    However, this would not explain why the same situation works in another location and not just on the developer machine.  I also notice that the error message says it cannot find the xsd file, but it is in the proper location (other wise the report would not be viewable or printable)
    How does the export work, does it create an entire new instance of the report?   perhaps knowing what goes on behind the scenes would help me figure out what to do.
    Edited by: suzanne haig on Jun 18, 2009 11:17 PM

  • Export to PDF not working

    Presses "Export to PDF" Submit Button (custom button) and pdf comes up (Grey) and throws error message
    Adobe reader cannot open RequisiitonDetails.pdf because it is either not a supported file type or the file has been damaged.....
    My Code:
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {         
    // Get the Data XML File as the XMLNode
    Serializable[] methodparam = {voname};
    //XMLNode xmlnode = (XMLNode)am.invokeMethod("getDataXML",methodparam);
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    OAViewObject vo = (OAViewObject)am.findViewObject(voname);
    XMLNode xmlnode;
    if (vo.isPreparedForExecution())
    xmlnode = (XMLNode)vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    xmlnode.print(outputStream);
    System.out.println(outputStream.toString());
    else
    xmlnode = null;
    if (null != xmlnode){
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=RequisitionDetails.pdf";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/pdf");
    xmlnode.print(outputStream);
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the Excel Report
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    "XXX",
    "XXXX_ICX_REQ_SRCH_XTRACT",/*template_code,*/
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    null,
    pdfFile);
    // Write the Excel Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    //xlsFile.flush();
    //xlsFile.close();
    else {
    OAException extractErrMsg = new OAException("There is no data to export.",OAException.ERROR);
    pageContext.putDialogMessage(extractErrMsg);
    catch(Exception e) {
    response.setContentType("text/html");
    System.out.println("Error Export Data in pdf");
    throw new OAException(e.getMessage(), OAException.ERROR);
    Error Message
    [050712_052819574][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [050712_052819574][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [050712_052819574][][EXCEPTION] [DEBUG] [ICX_COOKIE_NAME]:[PCHEBSO1]
    [050712_052819574][][EXCEPTION] [DEBUG] [JDBC:processEscapes]:[true]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [050712_052819574][][EXCEPTION] [DEBUG] [APPL_SERVER_ID]:[BDF99B587C72A876E040980A985601FB23644546563679454296293043166890]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_STMT_CACHE_SIZE]:[100]
    [050712_052819574][][EXCEPTION] [DEBUG] [NLS_DATE_LANGUAGE]:[AMERICAN]
    [050712_052819574][][EXCEPTION] [DEBUG] [ICX_SESSION_COOKIE_VALUE]:[LxKyqB6fKisXd4VSGypzth6X6c]
    [050712_052819574][][EXCEPTION] [DEBUG] [EMPLOYEE_ID]:[197133]
    [050712_052819574][][EXCEPTION] [DEBUG] [ICX_TRANSACTION_ID]:[-1]
    [050712_052819574][][EXCEPTION] [DEBUG] [NLS_DATE_FORMAT]:[DD-MON-RRRR]
    [050712_052819574][][EXCEPTION] [DEBUG] [RESP_APPL_ID]:[178]
    [050712_052819574][][EXCEPTION] [DEBUG] [LOGIN_ID]:[18817150]
    [050712_052819574][][EXCEPTION] [DEBUG] [DB_PORT]:[5025]
    [050712_052819574][][EXCEPTION] [DEBUG] [USER_ID]:[99136]
    [050712_052819574][][EXCEPTION] [DEBUG] [DISPLAY_LANGUAGE]:[US]
    [050712_052819574][][EXCEPTION] [DEBUG] [APPLICATION_ID]:[xxetfc.oracle.apps.icx.por.reqmgmt.server.ReqMgmtAMEx]
    [050712_052819574][][EXCEPTION] [DEBUG] [NLS_NUMERIC_CHARACTERS]:[.,]
    [050712_052819574][][EXCEPTION] [DEBUG] [NLS_LANGUAGE]:[AMERICAN]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [050712_052819574][][EXCEPTION] [DEBUG] [GUEST_USER_PWD]:[GUEST/ORACLE]
    [050712_052819574][][EXCEPTION] [DEBUG] [RESP_ID]:[53865]
    [050712_052819574][][EXCEPTION] [DEBUG] [NLS_SORT]:[BINARY]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_PLSQL_RESET]:[false]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_PROFILE_VALIDATION_ENABLED]:[null]
    [050712_052819574][][EXCEPTION] [DEBUG] [FUNCTION_ID]:[-1]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [050712_052819574][][EXCEPTION] [DEBUG] [ICX_PV_SESSION_MODE]:[115P]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_CONTEXT_CHECK]:[true]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_USABLE_CHECK]:[false]
    [050712_052819574][][EXCEPTION] [DEBUG] [NLS_LANG]:[null]
    [050712_052819574][][EXCEPTION] [DEBUG] [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=sitmisdb1w86m7.etrade.com)(PORT=5025)))(CONNECT_DATA=(SERVICE_NAME=PCHEBSO1)))]
    [050712_052819574][][EXCEPTION] [DEBUG] [MODULE_NAME_TAG]:[icx.por.reqmgmt.server.ReqMgmtAMEx]
    [050712_052819574][][EXCEPTION] [DEBUG] [FNDNAM]:[APPS]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_PROXY_USER]:[null]
    [050712_052819574][][EXCEPTION] [DEBUG] [TWO_TASK]:[PCHEBSO1]
    [050712_052819574][][EXCEPTION] [DEBUG] [APPS_JDBC_DRIVER_TYPE]:[THIN]
    [050712_052819574][][EXCEPTION] [DEBUG] [MODULE_TYPE_TAG]:[fwk]
    [050712_052819574][][EXCEPTION] [DEBUG] [DB_HOST]:[sitmisdb1w86m7.etrade.com]
    [050712_052819574][][EXCEPTION] [DEBUG] [DBC_FILE_PATH]:[C:\jdeveloper\jdevhome\jdev\dbc_files\secure\PCHEBSO1.dbc]
    [050712_052819574][][EXCEPTION] [DEBUG] [APPLICATION_NAME]:[Oracle iProcurement]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [050712_052819574][][EXCEPTION] [DEBUG] [SECURITY_GROUP_ID]:[0]
    [050712_052819574][][EXCEPTION] [DEBUG] [LANG_CODE]:[US]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_MAX_JDBC_CONNECTIONS]:[500]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [050712_052819574][][EXCEPTION] [DEBUG] [USER_NAME]:[ASHARMA2]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[5]
    [050712_052819574][][EXCEPTION] [DEBUG] [DB_NAME]:[null]
    [050712_052819574][][EXCEPTION] [DEBUG] [NLS_CHARACTERSET]:[UTF8]
    [050712_052819574][][EXCEPTION] [DEBUG] [ORG_ID]:[240]
    [050712_052819574][][EXCEPTION] [DEBUG] [DB_ID]:[PCHEBSO1]
    [050712_052819574][][EXCEPTION] [DEBUG] [GWYUID]:[APPLSYSPUB/PUB]
    [050712_052819574][][EXCEPTION] [DEBUG] [NLS_TERRITORY]:[AMERICA]
    [050712_052819574][][EXCEPTION] [DEBUG] [ICX_SESSION_ID]:[213276334]
    [050712_052819574][][EXCEPTION] [DEBUG] [JDBC:oracle.jdbc.maxCachedBufferSize]:[358400]
    [050712_052819574][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [050712_052819574][][EXCEPTION] [DEBUG] [java.vendor]:[Sun Microsystems Inc.]
    [050712_052819574][][EXCEPTION] [DEBUG] [ajp.connection.listener.state]:[down]
    [050712_052819574][][EXCEPTION] [DEBUG] [sun.management.compiler]:[HotSpot Client Compiler]
    [050712_052819574][][EXCEPTION] [DEBUG] [oracle.j2ee.container.version]:[10.1.3.3.0]
    [050712_052819574][][EXCEPTION] [DEBUG] [os.name]:[Windows XP]
    [050712_052819574][][EXCEPTION] [DEBUG] [sun.boot.class.path]:[C:\jdev12_1_3\jdevbin\jdk\jre\lib\rt.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\i18n.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\sunrsasign.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\jsse.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\jce.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\charsets.jar;C:\jdev12_1_3\jdevbin\jdk\jre\classes]
    [050712_052819574][][EXCEPTION] [DEBUG] [sun.desktop]:[windows]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.runtime.version]:[1.5.0_05-b05]
    [050712_052819574][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.trusted.clients]:[*]
    [050712_052819574][][EXCEPTION] [DEBUG] [oracle.security.jazn.config]:[C:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\jazn.xml]
    [050712_052819574][][EXCEPTION] [DEBUG] [user.name]:[asharma2]
    [050712_052819574][][EXCEPTION] [DEBUG] [user.language]:[en]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.naming.factory.initial]:[com.evermind.server.ApplicationInitialContextFactory]
    [050712_052819574][][EXCEPTION] [DEBUG] [sun.boot.library.path]:[C:\jdev12_1_3\jdevbin\jdk\jre\bin]
    [050712_052819574][][EXCEPTION] [DEBUG] [oc4j.jms.usePersistenceLockFiles]:[false]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.version]:[1.5.0_05]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.util.logging.manager]:[oracle.classloader.util.ApplicationLogManager]
    [050712_052819574][][EXCEPTION] [DEBUG] [user.timezone]:[America/New_York]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.net.preferIPv4Stack]:[true]
    [050712_052819574][][EXCEPTION] [DEBUG] [sun.arch.data.model]:[32]
    [050712_052819574][][EXCEPTION] [DEBUG] [javax.rmi.CORBA.UtilClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.Util]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.endorsed.dirs]:[C:\jdev12_1_3\jdevbin\jdk\jre\lib\endorsed]
    [050712_052819574][][EXCEPTION] [DEBUG] [sun.cpu.isalist]:[]
    [050712_052819574][][EXCEPTION] [DEBUG] [sun.jnu.encoding]:[Cp1252]
    [050712_052819574][][EXCEPTION] [DEBUG] [file.encoding.pkg]:[sun.io]
    [050712_052819574][][EXCEPTION] [DEBUG] [DBCFILE]:[C:\jdeveloper\jdevhome\jdev\dbc_files\secure\PCHEBSO1.dbc]
    [050712_052819574][][EXCEPTION] [DEBUG] [file.separator]:[\]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.specification.name]:[Java Platform API Specification]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.class.version]:[49.0]
    [050712_052819574][][EXCEPTION] [DEBUG] [user.country]:[US]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.home]:[C:\jdev12_1_3\jdevbin\jdk\jre]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.vm.info]:[mixed mode]
    [050712_052819574][][EXCEPTION] [DEBUG] [os.version]:[5.1]
    [050712_052819574][][EXCEPTION] [DEBUG] [org.omg.CORBA.ORBSingletonClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
    [050712_052819574][][EXCEPTION] [DEBUG] [path.separator]:[;]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.vm.version]:[1.5.0_05-b05]
    [050712_052819574][][EXCEPTION] [DEBUG] [user.variant]:[]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.protocol.handler.pkgs]:[oracle.apps.xdo.common.net.protocol|com.evermind.protocol]
    [050712_052819574][][EXCEPTION] [DEBUG] [checkForUpdates]:[adminClientOnly]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.awt.printerjob]:[sun.awt.windows.WPrinterJob]
    [050712_052819574][][EXCEPTION] [DEBUG] [RUN_FROM_JDEV]:[true]
    [050712_052819574][][EXCEPTION] [DEBUG] [sun.io.unicode.encoding]:[UnicodeLittle]
    [050712_052819574][][EXCEPTION] [DEBUG] [com.sun.jts.pi.INTEROP_MODE]:[false]
    [050712_052819574][][EXCEPTION] [DEBUG] [awt.toolkit]:[sun.awt.windows.WToolkit]
    [050712_052819574][][EXCEPTION] [DEBUG] [MetaObjectContext]:[oracle.adf.mds.jbo.JBODefManager]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_TOP]:[C:\jdeveloper\jdevhome\jdev\dbc_files\]
    [050712_052819574][][EXCEPTION] [DEBUG] [oracle.j2ee.http.socket.timeout]:[500]
    [050712_052819574][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.ssl.port]:[5656]
    [050712_052819574][][EXCEPTION] [DEBUG] [JRAD_ELEMENT_LIST_PATH]:[C:\jdeveloper\jdevhome\jdev\myhtml\OA_HTML\jrad\]
    [050712_052819574][][EXCEPTION] [DEBUG] [JTFDBCFILE]:[C:\jdeveloper\jdevhome\jdev\dbc_files\secure\PCHEBSO1.dbc]
    [050712_052819574][][EXCEPTION] [DEBUG] [com.sun.CORBA.POA.ORBServerId]:[1000000]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.naming.factory.url.pkgs]:[oracle.oc4j.naming.url]
    [050712_052819574][][EXCEPTION] [DEBUG] [user.home]:[C:\Documents and Settings\asharma2]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.specification.vendor]:[Sun Microsystems Inc.]
    [050712_052819574][][EXCEPTION] [DEBUG] [oracle.home]:[C:\jdev12_1_3\jdevbin]
    [050712_052819574][][EXCEPTION] [DEBUG] [oracle.dms.sensors]:[5]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.library.path]:[C:\jdev12_1_3\jdevbin\jdk\bin;.;C:\WINNT\system32;C:\WINNT;C:\DevSuiteHome_10g\jdk\jre\bin\classic;C:\DevSuiteHome_10g\jdk\jre\bin;C:\DevSuiteHome_10g\jdk\jre\bin\client;C:\DevSuiteHome_10g\jlib;C:\DevSuiteHome_10g\bin;C:\DevSuiteHome_10g\jre\1.4.2\bin\client;C:\DevSuiteHome_10g\jre\1.4.2\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\OraHome_1\bin;C:\Program Files\Java\jre1.5.0_15\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Microsoft Application Virtualization Client;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\OraHome_1;C:\Program Files\QuickTime\QTSystem\]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.vendor.url]:[http://java.sun.com/]
    [050712_052819574][][EXCEPTION] [DEBUG] [XDO_TOP]:[etrade/pkgs/linux/intel/oracle/appldev/apps/apps_st/appl/xdo/12.0.0]
    [050712_052819574][][EXCEPTION] [DEBUG] [javax.rmi.CORBA.StubClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl]
    [050712_052819574][][EXCEPTION] [DEBUG] [oracle.j2ee.dont.use.memory.archive]:[true]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.vm.vendor]:[Sun Microsystems Inc.]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.class.path]:[C:\jdev12_1_3\jdevbin\jdk\jre\lib\rt.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\jsse.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\jce.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\charsets.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\ext\dnsns.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\ext\localedata.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\ext\sunjce_provider.jar;C:\jdev12_1_3\jdevbin\jdk\jre\lib\ext\sunpkcs11.jar;C:\jdev12_1_3\jdevbin\j2ee\home\oc4j-api.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\oc4j-unsupported-api.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\activation.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\mail.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\persistence.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\ejb30.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\ejb.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\javax77.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\javax88.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\servlet.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\jms.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\jta.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\jacc-api.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\connector.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\jmx_remote_api.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\jax-qname-namespace.jar;C:\jdev12_1_3\jdevbin\webservices\lib\jaxr-api.jar;C:\jdev12_1_3\jdevbin\webservices\lib\jaxrpc-api.jar;C:\jdev12_1_3\jdevbin\webservices\lib\saaj-api.jar;C:\jdev12_1_3\jdevbin\webservices\lib\jws-api.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\oc4j-internal.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\oems-jms-oc4j.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\oems-jms-client.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\oems-jms-server.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\oc4j-schemas.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\ojsp.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\oc4j_orb.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\iiop_support.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\orbbase.jar;C:\jdev12_1_3\jdevbin\j2ee\home\iiop_gen_bin.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\jmxcluster.jar;C:\jdev12_1_3\jdevbin\j2ee\home\jaccprovider.jar;C:\jdev12_1_3\jdevbin\javavm\lib\jasper.zip;C:\jdev12_1_3\jdevbin\j2ee\home\lib\adminclient.jar;C:\jdev12_1_3\jdevbin\opmn\lib\optic.jar;C:\jdev12_1_3\jdevbin\j2ee\home\jacc-spi.jar;C:\jdev12_1_3\jdevbin\j2ee\home\jazncore.jar;C:\jdev12_1_3\jdevbin\j2ee\home\jazn.jar;C:\jdev12_1_3\jdevbin\jlib\ospnego.jar;C:\jdev12_1_3\jdevbin\jlib\ldapjclnt10.jar;C:\jdev12_1_3\jdevbin\webservices\lib\wsserver.jar;C:\jdev12_1_3\jdevbin\webservices\lib\wsif.jar;C:\jdev12_1_3\jdevbin\webservices\lib\orawsmetadata.jar;C:\jdev12_1_3\jdevbin\webservices\lib\orajaxr.jar;C:\jdev12_1_3\jdevbin\jlib\jssl-1_1.jar;C:\jdev12_1_3\jdevbin\jlib\ojmisc.jar;C:\jdev12_1_3\jdevbin\toplink\jlib\toplink-oc4j.jar;C:\jdev12_1_3\jdevbin\diagnostics\lib\ojdl2.jar;C:\jdev12_1_3\jdevbin\xqs\lib\xqs-api.jar;C:\jdev12_1_3\jdevbin\xqs\lib\xds.jar;C:\jdev12_1_3\jdevbin\jdev\lib\jdev-oc4j-embedded.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\pcl.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\ext;C:\jdev12_1_3\jdevbin\lib\dmsapp.jar;C:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\admin_ejb.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\bc4jdomorcl.jar;C:\jdev12_1_3\jdevbin\jlib\jsp-el-api.jar;C:\jdev12_1_3\jdevbin\jlib\commons-el.jar;C:\jdev12_1_3\jdevbin\jlib\oracle-el.jar;C:\jdev12_1_3\jdevbin\jlib\jewt4.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\regexp.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\share.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\uix2.jar;C:\jdev12_1_3\jdevbin\oaext\mds\lib\mdsrt.jar;C:\jdev12_1_3\jdevbin\oaext\lib\mdsdt.jar;C:\jdev12_1_3\jdevbin\oaext\lib\oamdsdt.jar;C:\jdev12_1_3\jdevbin\javacache\lib\cache.jar;C:\jdev12_1_3\jdevbin\lib\xschema.jar;C:\jdev12_1_3\jdevbin\BC4J\lib;C:\jdev12_1_3\jdevbin\BC4J\lib\adfbinding.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\adfcm.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\adfm.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\adfmweb.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\adfs-jazn.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\adfs.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\adfshare.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\bc4jct.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\bc4jctejb.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\bc4jimdomains.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\bc4jmt.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\bc4jmtejb.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\bc4jsyscat.jar;C:\jdev12_1_3\jdevbin\BC4J\lib\collections.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\fwkjbo.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\fwk.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\atg.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\collections.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\iasjoc.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\rosettaRt.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\portalFlexComps.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\svc.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\pat.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\concurrent.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\oamMaintMode.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\fwkCabo.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\wsrp-container.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\pdkjava.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\ptlshare.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\xml.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\wsrp-container-types.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\jaxb-impl.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\jaxb-libs.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\jazn.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\jazncore.jar;C:\jdev12_1_3\jdevbin\bibeans\lib\biamlocal.jar;C:\jdev12_1_3\jdevbin\bibeans\lib\bipres.jar;C:\jdev12_1_3\jdevbin\bibeans\lib\bicmn.jar;C:\jdev12_1_3\jdevbin\bibeans\lib\bidatasvr.jar;C:\jdev12_1_3\jdevbin\bibeans\lib\bidataclt.jar;C:\jdev12_1_3\jdevbin\bibeans\lib\bidatacmn.jar;C:\jdev12_1_3\jdevbin\bibeans\lib\biext.jar;C:\jdev12_1_3\jdevbin\bibeans\lib\bicmn-nls.zip;C:\jdev12_1_3\jdevbin\bibeans\lib\bipres-nls.zip;C:\jdev12_1_3\jdevbin\bibeans\lib\bidata-nls.zip;C:\jdev12_1_3\jdevbin\oaext\config\oac\oacfilter.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\scheduler.jar;C:\jdev12_1_3\jdevbin\jdev\lib\jdev-rt.jar;C:\jdev12_1_3\jdevbin\jdev\lib\ojc.jar;C:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\connectors\datasources\datasources\datasources.jar;C:\jdev12_1_3\jdevbin\diagnostics\lib\ojdl.jar;C:\jdev12_1_3\jdevbin\lib\dms.jar;C:\jdev12_1_3\jdevbin\jdbc\lib\ojdbc14dms.jar;C:\jdev12_1_3\jdevbin\opmn\lib\ons.jar;C:\jdev12_1_3\jdevbin\jdbc\lib\ocrs12.jar;C:\jdev12_1_3\jdevbin\rdbms\jlib\aqapi.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\ojms-provider.jar;C:\jdev12_1_3\jdevbin\jdbc\lib\orai18n.jar;C:\jdev12_1_3\jdevbin\lib\xmlparserv2.jar;C:\jdev12_1_3\jdevbin\lib\xml.jar;C:\jdev12_1_3\jdevbin\lib\xmlmesg.jar;C:\jdev12_1_3\jdevbin\lib\xsu12.jar;C:\jdev12_1_3\jdevbin\lib\xquery.jar;C:\jdev12_1_3\jdevbin\jlib\osdt_core.jar;C:\jdev12_1_3\jdevbin\jlib\osdt_cert.jar;C:\jdev12_1_3\jdevbin\jlib\osdt_xmlsec.jar;C:\jdev12_1_3\jdevbin\jlib\osdt_wss.jar;C:\jdev12_1_3\jdevbin\jlib\osdt_saml.jar;C:\jdev12_1_3\jdevbin\jlib\ojpse.jar;C:\jdev12_1_3\jdevbin\jlib\oraclepki.jar;C:\jdev12_1_3\jdevbin\toplink\jlib\toplink.jar;C:\jdev12_1_3\jdevbin\toplink\jlib\antlr.jar;C:\jdev12_1_3\jdevbin\toplink\jlib\toplink-essentials.jar;C:\jdev12_1_3\jdevbin\webservices\lib\wsclient.jar;C:\jdev12_1_3\jdevbin\webservices\lib\orasaaj.jar;C:\jdev12_1_3\jdevbin\webservices\lib\xsdlib.jar;C:\jdev12_1_3\jdevbin\webservices\lib\mdds.jar;C:\jdev12_1_3\jdevbin\webservices\lib\relaxngDatatype.jar;C:\jdev12_1_3\jdevbin\webservices\lib\soap.jar;C:\jdev12_1_3\jdevbin\sqlj\lib\runtime12.jar;C:\jdev12_1_3\jdevbin\sqlj\lib\translator.jar;C:\jdev12_1_3\jdevbin\webservices\lib\orawsdl.jar;C:\jdev12_1_3\jdevbin\j2ee\home\applib;C:\jdev12_1_3\jdevbin\j2ee\home\jsp\lib\taglib;C:\jdev12_1_3\jdevbin\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\jdev12_1_3\jdevbin\lib\dsv2.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\http_client.jar;C:\jdev12_1_3\jdevbin\j2ee\home\lib\jgroups-core.jar;C:\jdeveloper\jdevhome\jdev\myhtml\OA_HTML;C:\jdeveloper\jdevhome\jdev\myclasses;C:\jdev12_1_3\jdevbin\jlib\jdev-cm.jar;C:\jdev12_1_3\jdevbin\BC4J\jlib\bc4jhtml.jar;C:\jdev12_1_3\jdevbin\BC4J\jlib\datatags.jar;C:\jdev12_1_3\jdevbin\BC4J\jlib\bc4juixtags.jar;C:\jdev12_1_3\jdevbin\BC4J\jlib\graphtags.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\wsp.zip;C:\jdev12_1_3\jdevbin\jdev\appslibrt\diagnostics.jar;C:\jdev12_1_3\jdevbin\jdev\appslibrt\svctester.jar]
    [050712_052819574][][EXCEPTION] [DEBUG] [oracle.j2ee.home]:[C:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j]
    [050712_052819574][][EXCEPTION] [DEBUG] [oracle.application.environment]:[development]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.vm.specification.name]:[Java Virtual Machine Specification]
    [050712_052819574][][EXCEPTION] [DEBUG] [JRAD_XML_PATH]:[C:\jdeveloper\jdevhome\jdev\myclasses\JRADXML;C:\jdeveloper\jdevhome\jdev\myprojects;C:\jdev12_1_3\jdevbin\jdev\oamdsxml\fwk]
    [050712_052819574][][EXCEPTION] [DEBUG] [javax.rmi.CORBA.PortableRemoteObjectClass]:[com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject]
    [050712_052819574][][EXCEPTION] [DEBUG] [org.omg.PortableInterceptor.ORBInitializerClass.oracle.oc4j.corba.iiop.server.IIOPInitializer]:[NO_VALUE]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.vm.specification.version]:[1.0]
    [050712_052819574][][EXCEPTION] [DEBUG] [sun.cpu.endian]:[little]
    [050712_052819574][][EXCEPTION] [DEBUG] [oracle.j2ee.container.name]:[Oracle Containers for J2EE 10g (10.1.3.3.0) ]
    [050712_052819574][][EXCEPTION] [DEBUG] [sun.os.patch.level]:[Service Pack 3]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.io.tmpdir]:[C:\DOCUME~1\asharma2\LOCALS~1\Temp\]
    [050712_052819574][][EXCEPTION] [DEBUG] [com.sun.jts.pi.CLIENT_POLICY_CHECKING]:[false]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [050712_052819574][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.ssl.mutual.auth.port]:[5657]
    [050712_052819574][][EXCEPTION] [DEBUG] [FND_JDBC_STMT_CACHE_SIZE]:[200]
    [050712_052819574][][EXCEPTION] [DEBUG] [os.arch]:[x86]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.Win32GraphicsEnvironment]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.ext.dirs]:[C:\jdev12_1_3\jdevbin\jdk\jre\lib\ext]
    [050712_052819574][][EXCEPTION] [DEBUG] [user.dir]:[C:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config]
    [050712_052819574][][EXCEPTION] [DEBUG] [CACHENODBINIT]:[true]
    [050712_052819574][][EXCEPTION] [DEBUG] [line.separator]:[
    [050712_052819574][][EXCEPTION] [DEBUG] [java.vm.name]:[Java HotSpot(TM) Client VM]
    [050712_052819574][][EXCEPTION] [DEBUG] [com.sun.CORBA.connection.ORBSocketFactoryClass]:[oracle.oc4j.corba.iiop.IIOPSSLSocketFactory]
    [050712_052819574][][EXCEPTION] [DEBUG] [javax.management.builder.initial]:[oracle.oc4j.admin.jmx.server.Oc4jMBeanServerBuilder]
    [050712_052819574][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.use.ssl]:[false]
    [050712_052819574][][EXCEPTION] [DEBUG] [org.omg.CORBA.ORBClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
    [050712_052819574][][EXCEPTION] [DEBUG] [file.encoding]:[Cp1252]
    [050712_052819574][][EXCEPTION] [DEBUG] [java.specification.version]:[1.5]
    12/05/07 17:28:20 Error Export Data in pdf

    - RTF Processor Engine PROBLEM IN CREATE XSL FILE
    answered

  • Program crashes when I try to export to pdf file using CR for VS2010

    I'm using VS2010, framework 4.0. I can view, print, and export the report to excel. When I click export, select pdf, enter a file name, and click save...I get the following message:
    Value cannot be null.
    Parameter name: window
    I added Ludek's code to limit exports to pdf and excel to my JPTreportView.xaml.vb file:
    Public Class JPTReportView
            Private Sub UserControl_Loaded(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles MyBase.Loaded
                reportViewer.ViewerCore.ReportSource = Me.DataContext.ReportSource
                reportViewer.ViewerCore.ToggleGroupTree = False
                reportViewer.ViewerCore.ToggleParameterPanel = False
                reportViewer.ViewerCore.ToggleSidePanel = False
                Dim exportFlags = (CrystalDecisions.Shared.ViewerExportFormats.PdfFormat Or CrystalDecisions.Shared.ViewerExportFormats.ExcelFormat)
                reportViewer.ViewerCore.AllowedExportFormats = exportFlags
            End Sub
        End Class

    My parameters are set in the code and are set to "Do not show" in the report. The pdf export did not work before I added the code to limit the export options. The code in JptReportView.xaml:
    <UserControl xmlns:my="clr-namespace:SAPBusinessObjects.WPF.Viewer;assembly=SAPBusinessObjects.WPF.Viewer"
                 x:Class="View.JPTReportView"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 mc:Ignorable="d"
                 d:DesignHeight="300" d:DesignWidth="300">
        <my:CrystalReportsViewer Name="reportViewer" ShowOpenFileButton="False" ShowToggleSidePanelButton="False"     ShowRefreshButton="False" ShowLogo="False" Focusable="True" />
    </UserControl>

  • How can I auto export a PDF File using the "Smallest File Size" preset and set the Exported File Name based on information from an Imported PDF?

    Greetings all,
    I am trying to create a script to automate a PDF export process for my company for inDesign. I’m fairly new to inDesign itself and have no previous experience with javascript, although I did take C++ in high school and have found it helpful in putting this code together.
    We have an inDesign template file and then use the Multi-page PDF importer script to import PDF files. We then have to export two version of each file that we import, then delete the imported file and all of the pages to reset the template. This has to be done for nearly 1000 pdf files each month and is quite tedious. I’m working on automating the process as much as possible. I’ve managed to piece together code that will cleanup the file much quicker and am now trying to automate the PDF exports themselves.
    The files are sent to us as “TRUGLY#####_Client” and need to be exported as “POP#####_Client_Date-Range_North/South.pdf”
    For example, TRUGLY12345_Client needs to be exported as POP12345_Client_Mar01-Mar31_North and POP12345_Client_Mar01-Mar31_South.
    There are two templates built into the template file for the north and south file that are toggled easily via layer visibility switches. I need to get a code that can ideally read the #s from the imported Trugly file as well as the Client and input those into variables to use when exporting. The date range is found in the same place in the top right of each pdf file. I am not sure if this can be read somehow or if it will have to be input manually. I can put North or South into the file name based on which template layer is visible.
    I am not sure how to go about doing this. I did find the following code for exporting to PDF with preset but it requires me to select a preset and then type the full file name. How can I set it to automatically use the “Smallest File Size” preset without prompting me to choose and then automatically input some or preferably all of the file name automatically? (If the entire filename is possible then I don’t even want a prompt to appear so it will be fully automated!)
    PDF Export Code (Originally from here: Simple PDF Export with Preset selection | IndiSnip [InDesign® Snippets]):
    var myPresets = app.pdfExportPresets.everyItem().name;
    myPresets.unshift("- Select Preset -");
    var myWin = new Window('dialog', 'PDF Export Presets');
    myWin.orientation = 'row';
    with(myWin){
        myWin.sText = add('statictext', undefined, 'Select PDF Export preset:');
        myWin.myPDFExport = add('dropdownlist',undefined,undefined,{items:myPresets});
        myWin.myPDFExport.selection = 0;
        myWin.btnOK = add('button', undefined, 'OK');
    myWin.center();
    var myWindow = myWin.show();
    if(myWindow == true && myWin.myPDFExport.selection.index != 0){
        var myPreset = app.pdfExportPresets.item(String(myWin.myPDFExport.selection));
        myFile = File(File.saveDialog("Save file with preset: " + myPreset.name,"PDF files: *.pdf"));
        if(myFile != null){
            app.activeDocument.exportFile(ExportFormat.PDF_TYPE, myFile, false, myPreset);
        }else{
            alert("No File selected");
    }else{
        alert("No PDF Preset selected");
    So far my code does the following:
    1) Runs the Multi-Page PDF Import Script
    2) Runs PDF Export Script Above
    3) Toggles the Template
    4) Runs #2 Again
    5) Deletes the imported PDF and all pages and toggles template again.
    It’s close and much better than the original process which was almost 100% manual but I’d like to remove the Preset prompt from the PDF script and have it automatically select the “Smallest File Size” preset. and then if there’s a way to have it auto-fill in the file name so no user input is required at all other than selecting each file to import. (If there’s a way to setup a batch action for the multi-import script that would be even better!)
    Thanks in advance and if there’s anything else I can provide that would help please let me know! Even a nudge in the right direction will be a big help!

    If you hold down the option key, it will typically show the location. Or you can often hit option-return on the file and it will reveal the file in the Finder, instead of opening it.
    Final option is to open it, and just option-click the filename in the toolbar of Preview and it should show you the location.
    It's probably an attachment to an email you've received. If you have Mail set to cache emails and their attachments it'll be stashed in a subdirectory of ~/Library/Mail. Which is fine.

  • Get blank report in Crystal Report Viewer when exporting to PDF

    I have an application that creates reports in the CrystalReportViewer while at the same time exports a PDF of that report.  I am having a problem in which
    performing the export causes the report in the ReportViewer and the PDF report to be blank. They have the header and column labels but no data.  If I
    comment out the Me.Export(reportExportOptions) line at the end of the exportPDFReport method the report in the ReportViewer works fine, displaying
    data on the report. 
    I have other forms that perfrom this same type of function on different reports and work fine.  In fact they use the same exportPDFReport method.  This leads
    me to believe that a difference in the reports may be causing the problem.  But I can't figure out why.
    I am using .net 3.5 with Crystal Reports 2008 (CR2008) full edition in Visual Studio 2008.  Although the reports that work were probably created using
    VS 2005 and the VS 2005 edition of Crystal, and which have since been updated to CR2008.
    Has anyone else experienced this problem?  If so, how did you resolve it?
    Thanks for any help!
    Code is below
    Public Class frmAgedReceivables
      Inherits CustomWinControls.CustomForm
      Implements ICustomForm
    ... other properties and methods
    Public Sub CreateAgedPremiumsReport()
        Dim billingType As String = "Direct"
        Dim reportType As String = String.Empty
        Dim frmDateProcess As New frmEnterProcessMonth()
        frmDateProcess.pikMonthYear.Value = TurmsController.CodeEffectiveDate
        frmDateProcess.lblMessage.Text = "Enter Processing Date"
        If frmDateProcess.ShowDialog(Me) = Windows.Forms.DialogResult.Cancel Then
          Return
        End If
        Me.InForceStripStatusLabel1.Text = "Creating Report"
        Me.Refresh()
        Dim report As New AgedReceivablesReport()
        report.Load(report.ReportPathAndName)
        Me.Refresh()
        Dim reportParmsArrayList As ArrayList = New ArrayList()
        reportParmsArrayList.Add(report.ParameterFields.Item(0).Name)
        reportParmsArrayList.Add(frmDateProcess.pikMonthYear.Value)
        reportParmsArrayList.Add(report.ParameterFields.Item(1).Name)
        If AgencyBillRadioButton.Checked Then
          billingType = "Agency"
        End If
        reportParmsArrayList.Add(billingType)
        reportParmsArrayList.Add(report.ParameterFields.Item(2).Name)
        reportParmsArrayList.Add(TurmsController.CurrentUser.UserName.Value)
        reportParmsArrayList.Add(report.ParameterFields.Item(3).Name)
        If NAICCheckBox.Checked Then
          reportType = "NAIC"
        End If
        reportParmsArrayList.Add(reportType)
        Dim parms As String() = {frmDateProcess.pikMonthYear.Value, billingType, reportType}
        Me.InForceStripStatusLabel1.Text = "Loading Data"
        Me.Refresh()
        report.getData(parms)
        Dim reportParms() = reportParmsArrayList.ToArray
        report.loadParameters(reportParms)
        report.ExportFileName = Microsoft.VisualBasic.Format(frmDateProcess.pikMonthYear.Value, "yyyyMM") + report.GetType.Name
        report.ExportFormat = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
        report.exportPDFReport()
        Me.CrystalReportViewer1.ReportSource = report
      End Sub
    End Class  
    Public MustInherit Class TurmsReport
      Inherits CrystalDecisions.CrystalReports.Engine.ReportDocument
    Implements _ITurmsReport
    ... other properties and methods
        Public Sub exportPDFReport() Implements _ITurmsReport.exportPDFReport
          Dim reportExportOptions As New ExportOptions
          Dim reportDiskFileDestinationOptions As New DiskFileDestinationOptions
          Dim reportFormatTypeOptions As New PdfRtfWordFormatOptions
          reportDiskFileDestinationOptions.DiskFileName = getExportPathAndName(ExportType.PDF)
          If Me.UsePageRange _
          AndAlso Me.FirstPageNumber > 0 _
          AndAlso Me.LastPageNumber > 0 Then
            reportFormatTypeOptions.UsePageRange = True
            reportFormatTypeOptions.FirstPageNumber = Me.FirstPageNumber
            reportFormatTypeOptions.LastPageNumber = Me.LastPageNumber
          End If
          With reportExportOptions
            .ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile
            .ExportFormatType = ExportFormatType.PortableDocFormat
            .ExportDestinationOptions = reportDiskFileDestinationOptions
            .ExportFormatOptions = reportFormatTypeOptions
          End With
          If Not System.IO.Directory.Exists(Me.ExportFilePath) Then
            System.IO.Directory.CreateDirectory(Me.ExportFilePath)
          End If
          Me.Export(reportExportOptions)
      End Sub
    End Class 

    Pretty much. 
    Seems I had at one time hard coded a record selection statement that I forgot to remove which caused the report to be blank.  That solved my problem, but there still seems to be an issue in that the Crystal Report Viewer performed differently when I tried to export to PDF (no records displayed) then when I didn't (records displayed).
    Chip

  • SSRS - Export multiple pdf file

    SSRS report background :
    Report generating 50 student details with 50 page (each student one page- group by student).
    now data will export one pdf file with 50 page where each page having one student details. 
    Requirement :
    instead of one single pdf with 50 page i want 50 pdf file so i can send each report to respective student

    generating one pdf file with 50 page where each page having one student details.
    Hi ,
    Please follow below steps;
    Step1. Create one Row Group based on Student.
    Step2.Row Group has been created. We can see the Group1 in the Row Group Pane.
    Right Click on the Group1 column Delete Columns only.
    Delete Column window comes, Choose Delete column only and click on
    Step3.Now you can see the Group1 column is deleted but Group1 is still available in the report that groups data Student wise.
    Step4.Go to Group1 property by right click on Group1 in Row grouping pane.
    In the Group property, go to Page Break Page Break Option Check the box for “Between each instance of a group” and “at the end of group”.
    Right click on the Tablix go to Tablix property. Tablix property windows comes: Check “Add Page break after” and in column header, check “Repeat header columns on each page.”
    Step5.After implementing Page Break and Grouping, run the report and export it to PDF.
    Thanks.

  • InDesign doesn't let embed the font while exporting to PDF

    I used a font while working on a document in InDesign and later while exporting to PDF I got a warning that the software is unable to include that font.
    Is there a way to go around it? It was a free cyrillic font and it's not possible to buy it. I suppose creating outlines is not the right way to go
    Thanks in advance

    Eugene Tyson wrote:
    … Most free fonts that I know of don't allow embedding - for this reason it's not a good idea to use a free font. …
    I'm no particular fan of so-called “free fonts” — you most often get exactly what you pay for. However, that having been said, in my years of gathering such fonts for debugging and problem solving, in fact very few of them are actually set with the protection bits to prohibit embedding. For TrueType and OpenType fonts, you can readily check outside of InDesign as to whether a font is embeddable in a PDF file. For Windows, right-click on a font file and check the properties; embedding privileges are described in one of the tabs. For MacOS, the FontBook utility can provide the same information for a font.
    The problem is that when you attempt to use a font that is physically protected against embedding, you pretty much need to follow the advice given by Eugene. Personally, I would recommend the use a different font option, checking the font prior to using it for your rights to embed it in PDF.
    Note that font licensing is legal minefield. Many fonts that are posted on-line are not really free. Some are shareware with restrictions in their written licenses that require payment for commercial use (often in ReadMe files which may somehow be “lost” when such fonts are reposted over and over again) or even pirated fonts (i.e., commercial fonts simply illegally posted on-line).
    My personal recommendation is that for any commercial use, you explicitly license your fonts from a known, reliable source to avoid possible legal issues in the future.
              - Dov

  • InDesign crashes while exporting to PDF

    I have one PDF that after placing in InDesign cannot be exported to PDF
    InDesign crashes on Windows and Macintosh, versions from CS3 to CC
    Any ideas what can be wrong with my PDF?

    I reckon you might find that you have font clashes as your PDF is being created. I had a similar issue a few weeks back where I had created a Brochure, sent it to the client, went through rounds of amends, and the final round of amends prior to print sign off was sent in a word document. When I opened the word doc, I copied and pasted the amends, all looked fine, so I created one last PDF... crash.
    I ahve a suspicion that word auto-activated a font that didn't agree with fonts within the InDesign file. I deactivated many fonts, restarted my Mac and hey presto... sorted!
    Now, the PDF that you imported into your InDesign file may well be the culprit activating a dodgy font, and this becomes a bit problematical. So, you could open it in Photoshop and save it as a high res image, or you could open it in Illustrator and hopefully all text has remained in place and will enable you to ouline fonts and save it as an illustrator file... BUT, you must advise and get your client to check the contents of the resultant file if you go down either of these routes.

  • Problem while exporting to PDF with japanese character in Crystal Report X1

    Hi,
    I am using Crystal report X1 with classic ASP on a Windows 2003 Enterprise Server, SP 2. In my application, I have to export the report into PDF, CSV, DOC formats. I am have Japanese strings in the report. While exporting to PDF, empty boxes has displayed in the place of Japanese string and in CSV file, question mark has been displayed instead of Japanese string. But the Doc file is exported correctly. I have not installed any language support software either in server or in client machine. I have used MS Gothic and Arial Unicode MS fonts for the text-objects which has Japanese strings.
    Please give me a solution so that I will get PDF file with Japanese strings instead of empty box or question mark.
    Do I need to install any language support pack software?
    Thanks in advance.
    Regards,
    Manju

    Hi Don,
    Thank You for your reply. I have resolved the issue of exporting to pdf from crystal report X1 having Japanese data after installing the language pack.
    But when I am exporting to CSV or TXT, i am getting ??? instead of Japanese characters. I have tried "export" through crystal report designer and got ??? instead of Japanese.
    The Crystal report version I am using is Crystal report X1  11.0.0.1282
    Crystal Report Desinger is installed in Windows Xp machine
    Font set for Text object is Arial Unicode MS, MS PMincho, MS PGothic
    Does the Crystal report X1 11.0.0.1282 has the UTF-8 support for CVS / txt
    Please provide me a solution
    Thanks in advance,
    Regards,
    Manju

  • Using the JRC, RTF embedded in Crystal while exporting to PDF

    Are there enough acronyms for ya?  I donu2019t think so either. 
    I am wondering if anyone else has experienced the problem I am facing and what fix, if any, did they find.  I have RTF data stored in the database I am trying to read into a report.  I set the text interpretation to RTF on the field and u201Cyeah!!u201D I have formatted RTF data as the user entered it in a RTF editor.
    While using the JRCu2019s exporter to obtain a PDF format, the formatting set in the RTF tags is no longer being honor during the export (it shows up unformatted when I open the report in Adobe Reader and so my PDF display in code is also off). 
    Has anyone else encountered this and what did you do to fix it (or was it fixed)?
    My little about my environment:
    -JVM 1.5
    -Crystal jars version 11.8.5
    -Eclipse 3.4
    Did I miss anything?
    From what I have read on here, it sounds like the Crystal jar 12.2.2 is better at supporting fonts in PDF exports but there is something in the sample code not allowing me to use a JDBC connection over a JNDI connection so I will have to get back to whether it is fixed under 12.  Regardless though, version 12 is not really a good solution for us for I believe this to be Crystal 2008 which we are not budgeted to license so I need to stick with CR XI R2 jar files.
    I also found this in the thread entitle Greek fonts doesnu2019t appear on pdf export :  u201CExport it to editable RTF and then using Word 2007 has a plugin that allows you to export to PDF format which will embed the fonts.u201D  Is this what I need to do to display fonts that are normally found on a Windows installation (ie Arial, Times New Roman, Courier, etc.)?
    Thanks in advanced for any light you may shed on this.

    Moved to the Java Development - Crystal Reports forum.
    Ludek

Maybe you are looking for

  • Low resolution warning on pics

    Hi. I'm new to this iPhoto app and not very good or experienced with photos!! And I need help!! I received a CD with some pics on whihc I saved to my desktop as .jpg images. I then imported them into iPhoto 6.0.5 and they appear fine. However, when I

  • Green screens at the beginning of each iMovie chapter

    I've seen lots of discussion about green screens related to slideshows and transitions; however, I'm seeing them on finished DVD's when using chapter markers and navigating from the select scene menu. They're usually no longer that a couple of second

  • IWeb, audio and movie films not loading correctly

    I have a personal website and want to upload some audio and movie files to it. I created the website through my iMac's iWeb software. I followed the instructions in the help manual and loaded the six audio files and four movie files, they all loaded

  • Cash journal Std Report

    Dear All, Is there any standard report for Cash Journal ie i want to view for a specify cash journal all the expenses, with g/l accounts , its basically a summary.......of cash journal........ Kindly please guide Regards, R.Ramakrishnaraj

  • Ajax4JSF and Tomahawk data table, strange behaviour

    Hi, I use the tomahawk data table to display a list of objects in my page with the following code snippet <t:dataList value="#{userGallery.images}" var="image" layout="simple">   <a4j:region>     <t:htmlTag value="div" styleClass="imageEntry">