How to set PDF Job option using FDK11?

Hi,
I have a tool to convert Framebook into PDF and this works good. But the generated pdf is not of the same size as it is generated through FrameMaker Save as PDF. With the FrameMaker API, I get a dialog box to choose the different PDF Job options available. I came across a similar provision with FDK which also has a property to set the PDF Job options but it doesnt work as expected. Please correct me if my approach is wrong.
                params = F_ApiGetSaveDefaultParams();
                i = F_ApiGetPropIndex(&params, FS_FileType);
                params.val[i].propVal.u.ival = FV_SaveFmtPdf;
                i = F_ApiGetPropIndex(&params, FP_PDFJobOption);
                params.val[i].propVal.u.ival = F_StrCopyString ((StringT)"Smallest File Size");
Thanks,
Venkat

As far as I know, the only way to specify PDF options is by programmatically displaying the PDF Options dialog (via WinAPI calls), "selecting" the options and "pressing" the OK button. There have been numerous discussions on this topic on the Yahoo frame_dev group ..
     http://groups.yahoo.com/neo/groups/frame_dev/search/messages?query=pdf%20options
And here's some code ..
     http://groups.yahoo.com/neo/groups/frame_dev/conversations/messages/1578
You may be able to set the options as you're doing, but I don't think they are "set" until you display the dialog and "press" the OK button.
...scott

Similar Messages

  • How to set auto delete option for old messages

    Hi All,
    Can any one help me on how to set auto delete option for mails older than 15 days from my Z10.
    James Kurian

    There is no such option in BB 10.
    However, you can achieve a similar result by setting your email sync timeframe to 14 days (the closest option).
    If you are using an ActiveSync account (such as Hotmail, Outlook.com), go to Settings > Accounts > select the account. Tap advanced at the bottom of the screen. Scroll to the very bottom, tap Sync Timeframe and set to 14 days.
    If you are using an IMAP account (such as Gmail or GMX), you will have to delete, then re-add your account.  The Sync Time frame is only avaialble during setup for these accounts.  When adding, tap advanced at the bottom of the screen and set the Sync Timeframe.
    Hope this helps.

  • How to set field type choice using csom (c#)

    I have a field type: Choice (menu to choose from) which is not multichoice. How do I set a value?
    I have found code for multiple choice but it doesn't seem to work for single choice.

    Hi,
    The following code snippet for your reference:
    newListItem["ChoiceFieldName"] = "ChoiceValue";
    newListItem.Update();
    clientContext.Load(newListItem);
    clientContext.ExecuteQuery();
    If you are assigning a Value which is not in the Choice Column, You need to create a choice value then assign it to the item.
    More information is here:
    http://sharepoint.stackexchange.com/questions/124999/how-to-set-field-type-choice-using-csom-c
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to set a job to import automatically transport requests

    I wander how to set a job to import automatically transport requests

    Hi jan Bo,
    http://help.sap.com/saphelp_erp2004/helpdata/EN/44/b4a3c57acc11d1899e0000e829fbbd/frameset.htm
    Usung above link you can schedule a transport, if you schedule this job a back ground job will be defined copy this job and create a new varient with your transport request. Make this job run after the back ground job you want.
    Regards,
    S.Manu.

  • I'm new to using iCloud and couldn't find the answer to: how to set my calendar to use the 24 hour clock. Thanks all.

    ?? I'm new to using iCloud and couldn't find the answer to: how to set my calendar to use the 24 hour clock. Thanks all.

    Thanks, David.  i thought i had it set correctly in Preferences in L&R. Being i was wearing my suspenders and belt at the same time i went back to L&R, cleared what was there and re-entered same to include unchecking and rechecking Time Format fgor 24-hour time.   It works now. Thanks again.

  • How to set up Oracle Alerts using Lotus mail

    Hi there
    Anyone there knows how to set up Oracle Alerts using Lotus mail

    Hi All. We are looking to install 64-bit Oracle 11g
    on 64-bit SUSE Linux Version 10 SP1. We would like to
    start up with a 16GB SGA and possibly increase to 50GB. How you calculate you need to start database with 16 GB SGA , and latter need to increase it to 50 GB ?
    Can anyone help us with a list of rpms and
    kernel settings we would need to get started? ThanksCheck following link for rmp and kernel parameters
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/pre_install.htm#sthref85
    - Virag Sharma
    http://virag.sharma.googlepages.com
    http://viragsharma.blogspot.com

  • How to set XPoweredByHeaderLevel to NONE using wlst

    How to set XPoweredByHeaderLevel to NONE using wlst (by default the value is SHORT).
    I mean, I have created a domain using wlst.
    Now I want to set XPoweredByHeaderLevel of WebAppContainerMBean to NONE using wlst.
    It will be helpful if a sample python(Jython) script is provided.
    Please help.

    Here is a quick Jython example of how to do what you want:
    #assuming you already have correct imports for wlst module
    #connect to the AdminServer using proper credentials and host information
    wlst.connect(username, password, host_info)
    #extract domain name
    domainName = wlst.domainName
    #start an edit session and navigate to the WebAppContainerMBean
    wlst.edit()
    wlst.cd("/WebAppContainer/" + domainName)
    wlst.startEdit()
    #set the value of the XPoweredByHeaderLevel attribute to "NONE"
    wlst.cmo.setXPoweredByHeaderLevel("NONE")
    #activate the change
    wlst.activate()

  • How to add/change Job Options when saving a FrameMaker document as a PDF using Acrobat 9

    If you are logged on as a domain user you could have a problem if you want to add or edit .joboption files in Distiller 9 when it is opened by FrameMaker.
    After installing Acrobat 9 the action of saving a FrameMaker document as a PDF automatically starts Distiller 9 which then uses the "Job Options" files that are located in C:\Documents and Settings\All Users\Application Data\Adobe\Adobe PDF\Settings. Unless some changes have been made to the "Security" settings of the "Adobe" folder and the "Adobe PDF" folder under "All Users" it will not be possible to add or edit ".joboption" files in the "Settings" folder located in that "Adobe PDF" folder.
    This can be confusing because when Distiller 9 is started separately, from Programs, it then uses the job options located in your own user folder (C:\Documents and Settings\NLPW\Application Data\Adobe\Adobe PDF\Settings). In your own user folder (in my case: NLPW) you can add or edit the job option files.
    In order to be able to add or edit job option files under "All Users" you must be included in the "All Users" list and have the appropriate "Permissions" security setting. To set this, right click on the "Adobe" folder (C:\Documents and Settings\All Users\Application Data\Adobe) and select "Properties", then click on the "Security" tab and add yourself to the list. Finally, (important) check the "Full Control" box under "Allow" in the permissions field. Repeat this procedure on the "Adobe PDF" folder (C:\Documents and Settings\All Users\Application Data\Adobe\Adobe PDF). Now you have the ability to add or edit ".joboption" files located in the "Settings" folder and these will be available when Distiller is started by FrameMaker.

    Thank you so much for that tip. I don’t have exactly the same set-up (FrameMaker 8, Acrobat 8 Professional), but changing the permissions as you describe fixed the problem of not being able to save or change Distiller job options which has been bothering me for a while.

  • How to setting the printing option in javafx 2.1 or later?

    Hi,
    We need to printing pdf document in our project, it's can use the open source to do it now, but it's has some problem when running the program in other pc.
    Step 1, It's setting the program with full screen in our program.
    Step 2, In the button event, we call JDK swing print dialog to setting the page option.
    They will not bring the swing frame to front, and the Javafx program unable to response cause by the swing printdialog.
    If anybody know how to deal with the paper option setting by Javafx, Please help me, thanks a lot.

    Vibhor - You are developing using the Oracle Application Express facility running on Oracle Database 10g Express Edition. You can export applications you develop there for use on Oracle Application Express versions 2.0 and higher which can be used with Oracle Database server versions 9.2.0.3 and higher.
    Electing to install an application as Run Application Only will prevent the editing of the application definition by the end user. This can be useful if you assume that the end user will have access to the Application Builder in his database, which is likely if the end user's database is Oracle Database 10g Express Edition (XE). However, there is no way to prevent an XE user from having complete control over applications installed into those databases. If the end user's database is not XE, then only an Oracle Application Express site administrator will be able to change the application's Run Application Only setting to Run and Build Application but all developers with developer accounts in the Application Builder will be able to view and edit the application definition.
    Further, when you say "he can easily access my code", remember that the application definition is contained completely within the export file that you distribute but you may have in mind your PL/SQL source code as well. PL/SQL can be wrapped using a utility to make it more difficult to see in clear text.
    Scott

  • How to set swing to support using vrml/external/browser ?

    When doing applets with AWT to call vrml/external/browser.getbrowser, it works. But if update to use swing instead of awt, applets always cannot say: java.lang.NoClassDefFoundError: vrml/external/Browser.
    The html file containing this applet is converted by command : java HTMLConverter **.html .And also using java1.3.1plug-in.
    But if removing java plug-in and add ---ARCHIVE="Swing.jar"---- into **.html source code without using java HTMLConverter. The applet works.
    While, this way can let applet work, but thus, the applet cannot connect to mysql database.
    So, anyone knows how to set up swing in applet when using converted **.html with javaplugin? ???
    Thanks so much!!!!

    Hi David,
    Need more info:
    Version of Crystal Reports are you using?
    Visual Studio version?
    Try with this:
    The following C# code demonstrates the use of the ExportToStream method:
    ReportDocument report = new ReportDocument();
    report.Load("c:\\temp\\test.rpt");
    ExportOptions options = new ExportOptions();
    options.ExportFormatType = ExportFormatType.PortableDocFormat;
    options.FormatOptions = new PdfRtfWordFormatOptions();
    ExportRequestContext req = new ExportRequestContext();
    req.ExportInfo = options;
    Stream s = report.FormatEngine.ExportToStream(req);
    Response.ClearHeaders();
    Response.ClearContent();
    Response.ContentType = "application/pdf";
    s.Seek(0, SeekOrigin.Begin);
    byte[] buffer = new byte[s.Length];
    s.Read(buffer, 0, (int)s.Length);
    Response.BinaryWrite(buffer);
    Response.End();
    Regards,
    Shweta

  • How to display PDF in JSP using Iframe

    Hi All,
    I am using Struts 2. I am building my file in ActionClass with seperate Method like getGeneratedPDF() in which, I am setting header of response and writing into PDF.
    This method will be called from JSP by this way
    s:property value="getGeneratedPDF()" />
    But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.
    I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?
    questions 2 -- How to display it in Iframe?
    Please help me , If you know the solution.
    Thanks in Advance,
    Jimmy

    jamy_26 wrote:
    But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.A PDF file is a binary file, not a text file, and you're trying to display it as String. Of course you would get "junk characters". Have you ever tried opening a binary file (pdf, doc, jpg, xls, etc) using a text editor like Notepad?
    I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?Display it as binary stream, not as text stream. You can display it standalone, just let the link/form/addressbar URL point to some Servlet which writes the InputStream of the PDF file to the OutputStream of the response, along with a correct set of response headers (at least content-type, content-disposition and content-length), so that the browser can open it in the correct application (which is usually Acrobat Reader). If you want to embed the PDF file in a JSP, then one of the ways is indeed using the HTML <iframe> tag.
    questions 2 -- How to display it in Iframe? Just let the iframe URL point to the aforementioned Servlet.
    You can find here an example of a generic file servlet, you may find it useful to get the idea how to do it: [http://balusc.blogspot.com/2007/07/fileservlet.html].

  • How to Set Position Cursor Option to Non key fields in Table Maintenance .

    Hi,
    I have created a Ztable and i am using table maintenance for that table. In TMG ,by default  we have position cursor option to key fields only . User wants that position cursor option for non key fields also. Please help me out of this issue .
    How to provide Position Cursor option to Non key fields.
    Thanks & Regards,
    Prasad.

    Hi Nabheet,
    I tried using TYPE S DISPLAY LIKE E and am setting vim_abort_saving as X and sy-subrc as 4. However, this is also not enabling the fields. In this case, the first 2 fields - key fields are getting enabled but not the required ones. The above snapshot is for the same.
    lv_date1 = table1-date1.
       lv_date2 = table1-date2.
       lv_diff = lv_date2 - lv_date1.
       IF lv_diff LT 0.
         CLEAR: lv_err_msg.
         lv_err_msg = text-005.
         MESSAGE lv_err_msg TYPE 'S' DISPLAY LIKE  lc_e.
         vim_abort_saving = lc_x.
         sy-subrc = 4.

  • Setting pdf printer settings use framemaker FDK

    I am trying to create a framemaker client that will save a book as a pdf file. This client will do all the steps automatically and will be activated nightly on a build server.
    My problem is that when I use the command F_ApiSave() with the arguments set so that the file will be correctly saved, I get an error in framemaker that says I must set the PDF printer property: "Rely on system fonts only; do not use document fonts." to off. This option is already set to off by default, but my client must be changing it to on.
    Is there any way to change this option using the Framemaker API in C on windows?

    gmuresan, if you haven't yet posted on the FrameDev list, you might find more FDK information there:
        http://groups.yahoo.com/group/frame_dev/

  • How to set up several iPads using same apple id for classroom? The 1st one did great and the rest will not load any apps??

    iPad minis donated to a classroom. Teachers are trying to set up several iPads using the same apple id, but the apps will not load on any but the first iPad set up. What to do?

    Can you assign existing devices to a DEP account?  When DEP came out, you could not. 
    "This document offers guidance on some important considerations for getting the most out of your iOS deployment." Covers: Prepare your infrastructure.  Set up devices.  Configure and manage devices.  Deploy apps and content.  Plan for support. 
    https://www.apple.com/ipad/business/docs/iOS_Enterprise_Deployment_Overview_EN_F eb14.pdf
    Quick overview of zero-touch MDM enrollment, DEP
    http://www.apple.com/education/it/dep/
    Consider DEP, Device Enrollment Program. Use VPP, Volume Purchase Program.  Select an MDM, Mobile Device Management.  Read the Google doc below and nsdjoey write up.
    IT Resources -- ios & OS X -- This is a fantastic web page.  I like the education site over the business site.
    View documentation, video tutorials, and web pages to help IT professionals develop and deploy education solutions.
        Education
          http://www.apple.com/education/ipad/resources/
          scroll down after all the pretty picture.  Click on the words "For It".
        business site is:
           http://www.apple.com/lae/ipad/business/#browse-it-resources
          If necessary, scroll down until you see the Browse IT Resources button.  Click on button.
        MDM --  Mobile Device Management  
          For a comparison see this page:
          http://www.enterpriseios.com/wiki/Comparison_MDM_Providers
        VPP -- Volume Purchase Program
          http://www.apple.com/education/it/vpp/
    Joe Rowe's Excellent guides
    IT managers who are new to configurator and managing a cart of ios devices:
          https://docs.google.com/document/d/1SMBgyzONxcx6_FswgkW9XYLpA4oCt_2y1uw9ceMZ9F4/ edit?pli=1
             [ original announcement  -- https://discussions.apple.com/thread/4256735?tstart=0 ]
    Quick help presentation for students:
         https://docs.google.com/presentation/d/18937JdleX2gymtSb8zfbDczV-76BdR2DIfCV9eJi yOE/edit#slide=id.g1b776944_0_224

  • How to set value in selectOnemenu using binding

    hi all.
    i have bind htmlSelectOneMenu. it contains some value. I want to set or display a value after a process.
    How to change value
    i have tried using setValue method of both binding property and value property of htmlSelectOneMenu.
    Same issue is with InputTextArea. how to set value in it via code(RowSelectionListener of icefaces)

    Balaji wrote:
    hi all.
    i have bind htmlSelectOneMenu. it contains some value. I want to set or display a value after a process.
    How to change value
    i have tried using setValue method of both binding property and value property of htmlSelectOneMenu.
    Same issue is with InputTextArea. how to set value in it via code(RowSelectionListener of icefaces)The html SelectOneMenu is bound to a value of a backing bean. You have to change the value of that backing bean, not the JSF component directly. JSF takes care of updating the model, you shouldn't be touching it unless you know what you are doing.

Maybe you are looking for

  • Purpose of L_TCODE

    What is the purpose of L_TCODE? Isn't it sufficient if we control the access using S_TCODE already? It seems that in 4.6C, when accessing LI11N, system only checks if L_TCODE.TCD = LI11. So all roles with S_TCODE.TCD = LI11N also have L_TCODE.TCD = L

  • Capital goods return

    HI ALL MAINTAINED MATERIAL MASTER - WITH CHAPTER ID AND ASSET SETTING. 1. CRAETED PO 2. DO GR 3. J1IEX FOR PART 1 AND 2 4. DO THE TRANSFER CREDIT J2I8 HOW TO DO THE COMPLETE OR PARTIAL REJECTION FOR CAPITAL CASE??? IS THERE NE HEP LINK??? TELL ME THE

  • New problem: unexpected complete shutdown

    Twice now I've been listening to music on my 160 Gb classic and my iPod has, without warning, instantly shut down -- no hard drive activity, the audio stops, and screen goes completely blank and dark, not even an apple screen to show it's rebooting.

  • Formula Field Sorting

    Frield 1 is group on Date (Group1) Field 2 is group on workstation (Group 2) Field 3 is a formula field Sum(Amt). The Report will look like below when displaying the Group Footer #2 (workstation) line. Date           Workstation    Amount 11/01/2010 

  • ECM EHP4 - status of IT759 not updated when manager approves

    Hi, we are implementating ECM on EHP4 and are having issues in the planning overview iview.  when a planning manager approves an org unit, the status of IT759 for the employees it not being updated from submitted to approved.  I have checked the user