JOB OPTIONS CONFIGURATION

Hi
We have been using Adobe Document Server for conversions from PDF to JPEG. Until now all settings were applied using the ".joboptions" files usually located at:
Program Files\Adobe\Document Server 6.0\required\settings
But we havent reached success on PDF generator trying to do so, and documentation doesn't reveal anything about it. We would appreciate very much if someone help us with this matter.
Saúl
Greetings

Freelancer jobs
We need several freelancers who can speak english and make several copy + paste operations daily.
Ready to pay via paypal everyday.
Contact us at [email protected] if you are interested.

Similar Messages

  • The maximum report processing jobs limit configured has been reached -Error

    I have Created a common page that has a CrystalReportViewerControl (name of this page is ShowReport.aspx). The report name and database name that required for the report is being passed in a querystring. The database connection info is being pulled from the web.config file. All of the reports that I am dealing with have dynamic parameters and the Crystal Prompt page is automatically being created by the crystal viewer for these. Everything in my application is working fine except that when I try to access any report for the 76th. time I get the following error "The maximum report processing jobs limit configured by your system administrator has been reached."
    I have already researched this error and am aware that the PrintJobLimit can be modifed to increase this limit or can be set to -1 if we need to allow unlimited connections. However doing this is not an option due to the degradation of server performance.
    The other option that I have tried is to make sure I close and dispose of the report document object on the Page_unload or the page_SavedStateComplete() however on doing so even the session variable that I am using to store the originally created reportdocument is loosing all of the values it requires to display the report. The session variable is still available i.e. it is still of type report document but it has no values for any of the properties like FileName, database etc , basically for all of those properties it show an error "Invalid File Path" when viewed in debug mode.
    I have already tried several approaches but with no luck. Every single time I close the originally created ReportDocument object I loose all the required values in the Session
    I am using Crystal Report XI R2 , .Net 2.0 and ASP.net
    Following is the code: (Any help will be highly appreciated) Thanks:
    Option Strict On
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports System.Data.SqlClient
    Imports System.IO
    Partial Class _ShowReport
    Inherits System.Web.UI.Page
    Private FechReport As ReportDocument
    Dim strSelectedDatabase As String
    Dim strReportsFolderPath As String =
    System.Configuration.ConfigurationManager.AppSettings("ReportsFolderPath").ToString()
    Dim strReportFileName As String
    Dim strReportFullPath As String
    Dim iInsertedLogId As Integer 'This variable is used to store the inserted log id for the executed report.
    Dim strConnString As String = System.Configuration.ConfigurationManager.AppSettings("ConnString").ToString()
    Dim strServerName As String = System.Configuration.ConfigurationManager.AppSettings("CR_ServerName").ToString()
    Dim strUserName As String = System.Configuration.ConfigurationManager.AppSettings("CR_UserName").ToString()
    Dim strPassword As String = System.Configuration.ConfigurationManager.AppSettings("CR_Password").ToString()
    Protected Sub Page_OnSaveStateComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.SaveStateComplete
    If IsPostBack Then
    If iInsertedLogId > 0 Then
    UpdateReportLog_ReportServedTime(iInsertedLogId)
    If Not FechReport Is Nothing Then
    FechReport.Close()
    End If
    End If
    End If
    End Sub
    Sub Page_Unload(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Unload
    If Not FechReport Is Nothing Then
    'FechReport.Close()
    'FechReport.Dispose()
    'GC.Collect()
    End If
    End Sub
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim sRptFileName As String
    If Request.QueryString("database") "" Then
    strSelectedDatabase = Request.QueryString("database")
    Else
    Response.Write("A Valid Database has not been supplied to this page")
    Response.End()
    End If
    If Request.QueryString("ReportFileName") "" Then
    strReportFileName = Request.QueryString("ReportFileName")
    strReportFullPath = strReportsFolderPath & strReportFileName
    Else
    Response.Write("A Valid Report has not been supplied to this page")
    Response.End()
    End If
    sRptFileName = strReportFullPath
    If Not IsPostBack Then
    FechReport = New ReportDocument
    If Not FechReport Is Nothing Then
    ShowReport(sRptFileName)
    End If
    Else
    If (Session("oReportDocument") Is Nothing) Then
    FechReport = New ReportDocument
    ShowReport(sRptFileName)
    Else
    'FechReport = New ReportDocument
    'FechReport = CType(Session("oReportDocument"), ReportDocument)
    myCrystalReportViewer.ReportSource = Session("oReportDocument")
    'myCrystalReportViewer.ReportSource = FechReport
    End If
    End If
    End Sub
    Public Function ShowReport(ByVal strReportFileName As String) As Boolean
    Dim blNoErrors As Boolean = True
    Dim crDatabase As Database
    Dim crTables As Tables
    Dim crTable As Table
    Dim crTableLogOnInfo As TableLogOnInfo
    Dim crConnectionInfo As ConnectionInfo
    FechReport.FileName = strReportFileName
    myCrystalReportViewer.ReportSource = FechReport
    crConnectionInfo = New ConnectionInfo()
    With crConnectionInfo
    .ServerName = strServerName
    .DatabaseName = strSelectedDatabase
    .UserID = strUserName
    .Password = strPassword
    End With
    Try
    crDatabase = FechReport.Database
    crTables = crDatabase.Tables
    For Each crTable In crTables
    crTableLogOnInfo = crTable.LogOnInfo
    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
    crTable.ApplyLogOnInfo(crTableLogOnInfo)
    Next
    Catch ex As Exception
    Response.Write(ex.Message & ControlChars.NewLine & ex.InnerException.ToString & ControlChars.NewLine)
    Exit Function
    End Try
    Session("oReportDocument") = FechReport
    'FechReport.Close()
    'FechReport.Dispose()
    'GC.Collect()
    Return blNoErrors
    End Function
    End Class

    I have looked into Caching the report document as well. However, as you mentioned in the post it, it will only be usefull when the DB and the report parameters remain the same which is not the case in our application. We have multiple identical databases and hundreds of reports. Our users have the option of using a combination of any database and any reports, each report having numerous parameters.
    Since one user can only access one report at a time. i do have cleanup code that removes the session variable used to store the reportdocument object in the page that is initially used to call the ShowReport.aspx page.
    I understand now that the CR.net SDK is only good for light reporting only. Unfortunately when we started development based on all of the articles that I gathered, I didn't anticipate running to issues like this. But I guess that's the nature of the business :-).  And hence there are people like you who go out of the way to answer these difficult questions.
    Regards,

  • When launch CR 2008, hit "Maximum report processing jobs limit configured."

    Hi
    Encountered Error Message when trying to launch Crystal Report 2008 via Windows Internet Explorer.
    Server Error in '/CRReports Application.
    The maximum report processing jobs limit configured by your system administrator has been reached. 
    I really appreciate your feedback.
    Jenny Heng

    hi,
    As per my understanding, when you are trying to open a Crystal report from Infoview, error occured.
    If so, then logon to CMC, click on Servers, choose 'CrystalReportsProcessingServer'.
    Right click and view server properties.
    Check for the option 'Maximum Cocurrent jobs' and set it appropriately.
    Regards,
    Vamsee

  • The maximum report processing jobs limit configured by your system administ

    I have Created a common page that has a CrystalReportViewerControl (name of this page is ShowReport.aspx). The report name and database name that required for the report is being passed in a querystring. The database connection info is being pulled from the web.config file. All of the reports that I am dealing with have dynamic parameters and the Crystal Prompt page is automatically being created by the crystal viewer for these. Everything in my application is working fine except that when I try to access any report for the 76th. time I get the following error "The maximum report processing jobs limit configured by your system administrator has been reached."
    I have already researched this error and am aware that the PrintJobLimit can be modifed to increase this limit or can be set to -1 if we need to allow unlimited connections. However doing this is not an option due to the degradation of server performance.
    The other option that I have tried is to make sure I close and dispose of the report document object on the Page_unload or the page_SavedStateComplete() however on doing so even the session variable that I am using to store the originally created reportdocument is loosing all of the values it requires to display the report. The session variable is still available i.e. it is still of type report document but it has no values for any of the properties like FileName, database etc , basically for all of those properties it show an error "Invalid File Path" when viewed in debug mode.
    I have already tried several approaches but with no luck. Every single time I close the originally created ReportDocument object I loose all the required values in the Session
    I am using Crystal Report XI R2 , .Net 2.0 and ASP.net
    Following is the code: (Any help will be highly appreciated) Thanks:
    Option Strict On
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports System.Data.SqlClient
    Imports System.IO
    Partial Class _ShowReport
        Inherits System.Web.UI.Page
        Private FechReport As ReportDocument
        Dim strSelectedDatabase As String
        Dim strReportsFolderPath As String =
    System.Configuration.ConfigurationManager.AppSettings("ReportsFolderPath").ToString()
        Dim strReportFileName As String
        Dim strReportFullPath As String
        Dim iInsertedLogId As Integer 'This variable is used to store the inserted log id for the executed report.
        Dim strConnString As String = System.Configuration.ConfigurationManager.AppSettings("ConnString").ToString()
        Dim strServerName As String = System.Configuration.ConfigurationManager.AppSettings("CR_ServerName").ToString()
        Dim strUserName As String = System.Configuration.ConfigurationManager.AppSettings("CR_UserName").ToString()
        Dim strPassword As String = System.Configuration.ConfigurationManager.AppSettings("CR_Password").ToString()
        Protected Sub Page_OnSaveStateComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.SaveStateComplete
            If IsPostBack Then
                If iInsertedLogId > 0 Then
                    UpdateReportLog_ReportServedTime(iInsertedLogId)
                    If Not FechReport Is Nothing Then
                        FechReport.Close()
                    End If
                End If
            End If
        End Sub
        Sub Page_Unload(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Unload
            If Not FechReport Is Nothing Then
                'FechReport.Close()
                'FechReport.Dispose()
                'GC.Collect()
            End If
        End Sub
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim sRptFileName As String
            If Request.QueryString("database") <> "" Then
                strSelectedDatabase = Request.QueryString("database")
            Else
                Response.Write("A Valid Database has not been supplied to this page")
                Response.End()
            End If
            If Request.QueryString("ReportFileName") <> "" Then
                strReportFileName = Request.QueryString("ReportFileName")
                strReportFullPath = strReportsFolderPath & strReportFileName
            Else
                Response.Write("A Valid Report has not been supplied to this page")
                Response.End()
            End If
            sRptFileName = strReportFullPath
            If Not IsPostBack Then
                FechReport = New ReportDocument
                If Not FechReport Is Nothing Then
                    ShowReport(sRptFileName)
                End If
            Else
                If (Session("oReportDocument") Is Nothing) Then
                    FechReport = New ReportDocument
                    ShowReport(sRptFileName)
                Else
                    'FechReport = New ReportDocument
                    'FechReport = CType(Session("oReportDocument"), ReportDocument)
                    myCrystalReportViewer.ReportSource = Session("oReportDocument")
                    'myCrystalReportViewer.ReportSource = FechReport
                End If
            End If
        End Sub
        Public Function ShowReport(ByVal strReportFileName As String) As Boolean
            Dim blNoErrors As Boolean = True
            Dim crDatabase As Database
            Dim crTables As Tables
            Dim crTable As Table
            Dim crTableLogOnInfo As TableLogOnInfo
            Dim crConnectionInfo As ConnectionInfo
            FechReport.FileName = strReportFileName
            myCrystalReportViewer.ReportSource = FechReport
            crConnectionInfo = New ConnectionInfo()
            With crConnectionInfo
                .ServerName = strServerName
                .DatabaseName = strSelectedDatabase
                .UserID = strUserName
                .Password = strPassword
            End With
            Try
                crDatabase = FechReport.Database
                crTables = crDatabase.Tables
                For Each crTable In crTables
                    crTableLogOnInfo = crTable.LogOnInfo
                    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
                    crTable.ApplyLogOnInfo(crTableLogOnInfo)
                Next
            Catch ex As Exception
                Response.Write(ex.Message & ControlChars.NewLine & ex.InnerException.ToString & ControlChars.NewLine)
                Exit Function
            End Try
            Session("oReportDocument") = FechReport
            'FechReport.Close()
            'FechReport.Dispose()
            'GC.Collect()
            Return blNoErrors
        End Function
    End Class

    please post your question in the Business Onjects SDK Application Development Forums.

  • Problem happening again. The maximum report processing jobs limit configured by your system administrator has been reached.

    We have started receiving load report failed error again in one of our production servers. This problem occurred some months ago and on that time we found that in the code reportdocument.close method was not called so we added into the code and set the print job limit to 400 and problem went away for couple of months but now it has started again.
    Load report failed.
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at AppSuite.WebApp.CrystalViewer.LoadReport(Boolean bRefresh)
       at AppSuite.WebApp.CrystalViewer.Page_Load(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    The maximum report processing jobs limit configured by your system administrator has been reached.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    This is our code
    Private m_oReportDocument As New ReportDocument
        Private ReadOnly Property ReportId() As Integer
            Get
                Return Integer.Parse(Me.Request.QueryString("r"))
            End Get
        End Property
        Private Property CacheKey() As String
            Get
                Dim sCacheKey As String = Me.Request.QueryString("ck")
                If sCacheKey Is Nothing OrElse sCacheKey.Length = 0 Then
                    sCacheKey = CStr(Me.ViewState("CacheKey"))
                End If
                Return sCacheKey
            End Get
            Set(ByVal Value As String)
                Me.ViewState("CacheKey") = Value
            End Set
        End Property
        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            If Not Me.IsPostBack Then
                LoadReport()
            End If
        End Sub
        Private Sub btnPDF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPDF.Click
            'Redirect to the PDF Viewer passing it the ReportId and CacheKey
            Me.Response.Redirect(String.Format(ReportHelper.PDFViewerURL, Me.ReportId, Me.CacheKey))
        End Sub
        Private Sub btnRTF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRTF.Click
            'Redirect to the RTF Viewer passing it the ReportId and CacheKey
            Me.Response.Redirect(String.Format(ReportHelper.RTFViewerURL, Me.ReportId, Me.CacheKey))
        End Sub
        Private Sub btnExcel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExcel.Click
            'Redirect to the Excel Viewer passing it the ReportId and CacheKey
            Me.Response.Redirect(String.Format(ReportHelper.ExcelViewerURL, Me.ReportId, Me.CacheKey))
        End Sub
        Private Sub crvMain_Navigate(ByVal source As Object, ByVal e As CrystalDecisions.Web.NavigateEventArgs) Handles crvMain.Navigate
            LoadReport()
        End Sub
        Private Sub crvMain_Search(ByVal source As Object, ByVal e As CrystalDecisions.Web.SearchEventArgs) Handles crvMain.Search
            LoadReport()
        End Sub
        Private Sub crvMain_ViewZoom(ByVal source As Object, ByVal e As CrystalDecisions.Web.ZoomEventArgs) Handles crvMain.ViewZoom
            LoadReport()
        End Sub
        Private Sub crvMain_Drill(ByVal source As Object, ByVal e As CrystalDecisions.Web.DrillEventArgs) Handles crvMain.Drill
            LoadReport()
        End Sub
        Private Sub crvMain_DrillDownSubreport(ByVal source As Object, ByVal e As CrystalDecisions.Web.DrillSubreportEventArgs) Handles crvMain.DrillDownSubreport
            LoadReport()
        End Sub
        Private Sub crvMain_ReportRefresh(ByVal source As Object, ByVal e As CrystalDecisions.Web.ViewerEventArgs) Handles crvMain.ReportRefresh
            LoadReport(True)
        End Sub
        Private Sub LoadReport()
            LoadReport(False)
        End Sub
        Private Sub LoadReport(ByVal bRefresh As Boolean)
            If Common.CouldBeMultiDB(User.Identity.Name) AndAlso TypedSession.OverrideCompany.Length > 0 Then
                Common.Settings.OverrideCompany = TypedSession.OverrideCompany
            End If
            'Get the report data
            Dim dtReport As DataTable = ReportHelper.GetReportData(Me.CacheKey, bRefresh)
            'If there is data to display bind it to the Crystal Viewer
            If dtReport.Rows.Count > 0 Then
                With m_oReportDocument
                    .Load(ReportHelper.GetReportPath(Me.ReportId))
                    .SetDataSource(dtReport)
                    .PrintOptions.PaperSize = Common.Settings.CrystalPaperSize
                End With
                crvMain.ReportSource = m_oReportDocument
            Else
                'Hide the controls and display a message if there is no data
                crvMain.Visible = False
                btnPDF.Visible = False
                btnExcel.Visible = False
                lblNoResults.Visible = True
            End If
        End Sub
        Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
            m_oReportDocument.Close()
            m_oReportDocument.Dispose()
        End Sub
    Can any one tell if we are doing anything wrong in our code. We don't use sub reports any more however we do use paging and some of our reports have 200+ pages. Also is it possible to find out print job limit and concurrent users by writing some code.
    Thanks

    I suspect it's not the code - after all it worked(?). It is much more likely that, it is the load. Remember that the report engine can only handle three concurrent requests at any one time. Also, remember that you can run out of print jobs real fast as subreports also count as print job. E.g.; say someone added a report that has 4 subreports in the detail section, the report runs a 100 records, you will be at 401 print jobs and thus over the limit. You can keep increasing the print job limit, but that means you are loading the server and eventually you will bring it down too...
    It may be time to consider, web farms or Report Application Server to scale up(?).
    Getting to the latest SP is never a bad idea either.
    And have a look at the scalability suggestions in this doc:
    Crystal Reports 2008 Component Engine Scalability
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Adding distiller job option in invokeDDX

    Hi,
    We have configured combined pdf using invokeDDx and its working perfectly.
    This watch folder will convert multiple PDF's to Single PDF and also converting multiple .PS to single PDF.
    Is there is any option in InvokeDDX to fetch "Distiller joboption" so that the .PS should reflect the "joboption".
    Shaji

    Shaji,
    Not that I am aware of. However, PDF Generator does use the same job options as Acrobat (ES 2.5 uses Acrobat 9 and ADEP uses Acrobat X). See Administrator UI > Settings > PDF Generator > Adobe PDF Settings.
    Steve

  • How To Add Job Options In a .PS File

    Acrobat Distiller 5.5 and 7.0
    Greetings,
    I currently automate making a single combine PDF based on runfilex.ps.
    I cannot figure out the snytax to specify the job options file ( fdi.joboptions )
    to the following .ps file
    /prun { /mysave save def
            dup = flush
            RunFile
            clear cleardictstack
            mysave restore
    } def
    (C:/ACAD/COVER.PS) prun
    (C:/ACAD/PD.PS) prun
    (C:/ACAD/DXB-EVE.PS) prun
    (C:/ACAD/DXB-EVS.PS) prun
    (C:/ACAD/DXB-EVW.PS) prun
    (C:/ACAD/DXB-SSE.PS) prun
    (C:/ACAD/DXB-SSW.PS) prun
    Any help would be greatly apprciated.  I find adobe's help files in need of help.  -David

    The /j switch sounds interesting
    I've tried the following syntax with no luck in the .bat file I use to run distiller
    C:\Progra~1\Adobe\Acroba~2.0\Distillr\acrodist.exe c:/acad/VL-90001.ps  /j=c:/fdi-d.joboptions
    /j:C:/fdi-d.joboptions
    /jfdi-d.joboptions
    No luck searching the help files for either /j  or command line
    Any suggestions?  Thanks  -David
    PS I copied the joboptions file direct to c:

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

  • Job Manger configuration when SQL Server Data base is used

    Hi All,
    I have worked on starting scheduler services after job manager configuration  and created ibots.
    But now we are using SQL Server.
    In this case we are facing a problem while configuring job manager.
    In SQL Server we will be having 2 types of authentication.
    Windows authentication and SQL Server Authentication.
    When we use both types of authentication in the job manager I am getting an error in the log files regarding authentication (NT Authentication Failed)
    Can any one tell me what type authentication should be used for scheduling
    Thanks
    Subhash

    Hi this problem solved
    Like to say I have recreated a dsn and gave sql server authentication which worked for me.
    My question is can we get uding windows authentication or only sql server works??
    Can I have some solution for that
    My thought if sql server authentication  works then this should also work???
    Thanks
    Subhash

  • 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

  • Can you change X Pro default settings to save all PDFs using "smallest file size" job option?

    Is there a way to change Acrobat X Pro's default PDF Save settings to use the settings in Distiller's "smallest file size" job options, or adjust Acrobat's default save settings to a close match?

    In Windows you select the printer in the Start>Printers menu and right click to get the properites. You can then go to the settings tab and select the smallest file size job options. When you do it in the printer settings, you have set the default. Be very careful with this choice. It typically reduces the image resolution and embeds no fonts. If you are not distributing the file, then probably not an issue. However, with distribution you risk many folks not being able to read the PDF because of strange characters and low-res image.

  • CUPS print job options fail when called from lp (UNIX command line)

    Under Leopard this command-line print request fails to respect the specified job options:
    lp -o number-up=2 -o page-border=double <filename>
    Though it worked great in Tiger, the number-up and page-border job options are now disregarded. I have tried lots of things (and wasted lots of paper) such as setting them permanently with lpoptions (and they do appear changed when the lpoptions command is repeated), using lpr instead of lp, reinstalling the printer via the CUPS localhost web interface, enabling non-Bonjour scanning with the hack to the CUPS preference file, deselecting "Last Printer Used" for the default printer in the System Preferences -- nope.
    I have not tried other job options; I assume that whatever is breaking these two is breaking all the others, and even if it isn't, these two are what I want.
    Is something new in Leopard overriding lpoptions job options? How do I make it stop? It is sooooo aggravating when something that used to work fine breaks. The printer is an HP LaserJet 4000N connected by Ethernet and discovered with AppleTalk.
    Thanks for any advice!

    Thanks John, I did search but somehow missed that thread.
    However it did not help. With or without the "-p printername" argument lpoptions does make a persistent change to its own data:
    +$ lpoptions+
    +media=Letter sides=one-sided finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=2 auth-info-required=none job-sheets=none,none printer-info=Barrow printer-is-accepting-jobs=1 printer-is-shared=0 printer-location='Local Zone' printer-make-and-model='HP LaserJet 4000 Series' printer-state=3 printer-state-change-time=1209495301 printer-state-reasons=none printer-type=2134228 page-border=double+
    You can see that the printer "Barrow" has remembered "number-up=2" and "page-border=double". Regardless if I give any of these commands:
    +lpr <filename>+
    +lpr -P Barrow <filename>+
    +lp <filename>+
    +lp -d Barrow <filename>+
    none of them show the results of these option settings (and somewhere in the forest another tree is cut down).

  • Where is the station options configuration stored

    Where is the station options configuration gets stored in TestStand 4.2.1?
    Solved!
    Go to Solution.

    The StationGlobals.ini file is in your TestStand Config directory, which is found at <TestStand Application Data>\Cfg.
    On Windows 7, this is C:\ProgramData\National Instruments\TestStand 4.2\Cfg. I don't remember off-hand what the exact path is on versions of Windows earlier than Vista... Somewhere under C:\Documents and Settings\<Username>\. You can just search for StationGlobals.ini if you need to.

  • Error message in customizing Distiller's job options settings

    I'm trying to customize job options settings in Distiller 8.1.0. I'm on Mac OS 10.4.9, and taking postscript files created in Quark 6.0 to Distiller to create PDFs. I have vendors who have provided settings and I want to transfer those specific customized settings from Distiller 6.0 standard to Distiller 8.1.0 professional.
    If I try to customized 8.1's presets, I get the message "An error occurred trying to save the job options." Has anyone run into this error or this situation?

    I ran into the same problem. If I try and save the settings file to a different location than the Settings folder (which is located under User_Home\Library\Application Support\Adobe\Adobe PDF\Settings\)
    then it actually works. But if you try and save to the Settings folder it will not save and gives you the error. This only happens with non-administrator users. If you try with an administrator account it saves fine. I checked the folder settings for permissions and changed it to read and write for all groups and it still gives the same error (the default setting is read and write for the user). I also tried updating to 8.1.1 but it does not touch Distiller with that update. I have tried deleting the Settings folder and recreating it this does not work. What did work was a mistake on my part but it worked. I deleted the Settings folder before closing Distiller and tried saving. It saved the settings file in the original Settings folder which was in the trash! I pulled the folder out and the setting file was in it. This means there is some kind of permissions issue with Distiller and not just the OS I think. Just so you know I did do a permissions repair before I tried all of this.
    The only solution right now for people who can't save to that folder is to save it to a different location and then adding the settings file to your settings folder User_Home\Library\Application Support\Adobe\Adobe PDF\Settings\
    One other thing to note. Version 8.0.0 does not do this. It only happens after updating to 8.1.0
    I did this in 10.4.9 and also 10.5.1

  • Cannot launch another application in Mac OS X 10.8 using NSWorkspace launchApplicationAtURL:options:configuration:error

    I am launching another app using NSWorkspace launchApplicationAtURL:options:configuration:error.
    The app is owned by root, has permission: rwx r-x r-x, and owned by root:wheel.
    The app is also located in /Applications folder (e.g. /Application/MyApp.app).
    According to the following link under the "Launching Helpers with Launch Services" section:http://developer.apple.com/library/mac/#documentation/Security/Conceptual/AppSan dboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html
    I should be able to launch my app because the following condition is met:
    The app is installed in /Applications and the app bundle and all contents are owned by root.
    When launching the app, I get the following error:
    "The application “MyApp” could not be launched because it is corrupt."
    "The operation couldn’t be completed. (OSStatus error -10827.)"
    Which is, according to the same link, the error when none of the conditions have been met.
    Note that I am using Mac OS X 10.8. In Mac OS X 10.7.5, I don't encounter the same issue.
    Note also that I am trying to run the app "MyApp" inside a sandboxed application.
    I tried using 2 builds of "MyApp", but in both builds, the issue can be replicated:
    Code-signed (using a self-signed certificate)
    Not code-signed
    What seems to be the problem? Am I missing something?

    Yes, but it also says in the apple documentation that:
    A sandboxed app is allowed to launch a helper using Launch Services if at least one of these conditions has been met
    Even if I did not pass the condition:
    Both the app and helper pass the Gatekeeper assessment. By default that means both are signed by the Mac App Store or with a Developer ID.
    I am pretty sure that the following condition has been met:
    The app is installed in /Applications and the app bundle and all contents are owned by root.

Maybe you are looking for

  • Skillbuilders modal page - success message not closing in Internet Explorer

    Hello, I'm using Skillbuilders modal page plugin on Apex 4.1. The plugin works great in all browsers except in IE, where I'm unable to close the success message by clicking on the "x" in the upper right corner. I'll explain further. I have a report o

  • Remove credit card information from itunes

    I cant seem to use my itunes card instead of it continuing to use my credit card. I have tried even the online instructions they offer, and it still didnt do it only because they arent explaining it right. I need help fixing or an explanation on why

  • Managing Data Source on a Report

    Post Author: sliese CA Forum: Upgrading and Licensing Hi - I am wondering if there is a way to quickly change the datasource for a report.  Set Data Source Location seems a bit too bulky.  I would like to manage the datasource in a separate file (kin

  • Brighten Quicktime movie in slide

    Is there anyway to brighten a quicktime movie that is set in a slide? The adjust window does not work with a movie that has be inserted and quick time will let you adjust brightness, but not save the movie with the adjustments. Any ideas would be wel

  • Solaris 10 b69 on VIA EPIA motherboards?

    Has anyone had success in getting Solaris 10 beta69 to boot on VIA EPIA (C3 CPU-based) motherboards? I've got two mini-ITX systems here built around VIA EPIA M10000 motherboards (C3 @ 1Ghz). One has 1G RAM, one has 256M. Both have Hitachi/IBM 80G IDE