Distiller 8.1 NOT respecting eps BoundingBox

Distiller 8.1 (OSX 10.4.11)
When creating a pdf from an eps file using Distiller with setting e.g. "High Quality Print.joboptions" the "BoundingBox" of the eps-file is not reflected in the generated pdf.
Of course the last DSC item is always checked in the Distiller settings!
The bounding boxes are generally quite small, e.g. 0 0 31 18.
I there a way to make Distiller respect the eps-BoundingBox information?
Can the eps-file be modified to make Distiller respect it?
Any help highly appreciated!
Best
Herbie

I dropped that line in there verbatim and got nothing, though my .log file reads:
Processing prologue.ps...
Done processing prologue.ps.
%%[ ProductName: Distiller ]%%
%%[Page: 1]%%
%%[LastPage]%%
Processing epilogue.ps...
Done processing epilogue.ps.
Somehow I don't think the prologue and epilogue files are actually being used. Should they reside somewhere other than:
C:\Documents and Settings\All Users\Application Data\Adobe\Adobe PDF\Distiller\Data

Similar Messages

  • Info panel not displaying eps info

    I cannot get the ppi information to display in the info panel. Is this some new spangly feature of InDesign, or a bug?

    Clarification of what is claimed, and why we are perpetuating this conversation.
    John, that's jut nit picking at what I said.
    Sorry, I tried to make it clear, it's a nit but I think it is a very important one. Please feel free to disagree. But when we're talking about whether a file format that's important to people is doing to be supported, or is going to go away, it's very important to be clear about the public statements that have been made. Similarly, I do get bothered when EPS is described as "archaic" or "obsolete." It fills needs that are not filled by PDF or AI files, and while it is certainly older than PDF, it is of peer age to TIFF and JPEG. It is certainly less frequently used, and in many applications there are better choices (like PDF). But not in all.
    The issue of "double standards."
    John, nor do you really say why you think EPS is preferred. Double standards here.
    I'm sorry, but please reread my post. I do not say that "EPS is preferred." I talk about several things it can and cannot do, and explain why, for instance, it and PDF show some of the same deficiencies in InDesign's Info panel. I tell you some reasons that I like it. But I do not in fact believe that it is a "better" format most of the time, and make no such claim. It is unfair to ask me to substantiate claims I did not make. I tried to be quite careful on this one.
    Yes, generally PDFs are better. But.
    You have produced quite a link storm there, but I'm afraid they don't do a terribly clear job of explaining why these other formats are better than EPS, and for exactly which applications. If your point is to say that in general, one should not prefer EPS over PDF, then that's fine. I think it is a true statement.
    What bothers me about the statements in this thread (and this forum in general frequently echoed on this forum) is that it is wrong to use EPS; that EPS is obsolete; that Adobe InDesign will drop support for EPS; that EPS is archaic. That's simply not the case. It might be the wrong format for bigdrunk (it probably is; but we don't really know what he is doing). It is not the wrong format for everyone.
    Addressing the external links/references
    But we should be clear on what we're talking about. Your initial link, to Real World Illustrator's What's in a file? does a great job of describing the output formats from Illustrator. It doesn't really make a recommendation, other than to note that PDF supports some features that EPS does not. Transparency being the key point, and we've mentioned that only four times before your post. I'm not sure if that's the "plain as day" or not.
    Adobe's David Evans' psvspdf post similarly discusses both formats, and suggests that EPS is a replacement for PDF -- which it is. But that only gets you so far. It doesn't address the fact that PDF files can have downsides compared to EPS files (many articulated above in the thread), but really just says that PDF can do most of the things that EPS can do. That's certainly true. After all, you can put EPS files inside PDF files! But that doesn't tell you that you're better off writing to a PDF file in any particular case. To pick a few examples from above, some apps can only read EPS files and can't read PDF files. And others can generate EPS files much more easily than they can generate PDF files.
    I am rather apalled that you would cite eHow. They are rather notorious for giving bad advice that is not vetted by experts. In this case, though, the eHow post merely answers the question, "If an EPS file won't work, what are the alternatives?" It seems to do so correctly, but its not relevant to this discussion.
    Craig Kirkwood's Pixel Therapy link is more general advice, for "How should I save my Illustrator work?" And again, none of us here who are speaking up for EPS are saying that it is the preferred file for Illustrator work (though I did point out that Illustrator can produce smaller EPSs than PDFs, which is bizarre).
    PDF-in-AI or AI-in-PDF?
    (although I disagree about saving as PDF from Illustrator with editing capabilities, best to save as ai with PDF)
    Why do you think so? In general, they should be equivalent -- in both cases a PDF file is available to PDF-reading applications, and in both cases (and in Illustrator EPS, by the way), Illustrator private data is preserved for full Illustrator editing capability. I would say that distributing .PDF files is a better choice, because if a non-expert person receives a .ai attachment in their email, they are more likely to be confused about how to view, print or render it than they would be if they receive a .pdf file. That may not sound like the most compelling reason, but I can't think of one that is more compelling.
    No flat recommendation of EPS over PDF.
    I quite literally CANNOT find one source that recommends EPS over AI or PDF???
    I wonder why that is?
    To be honest, I think it is because there are very few experts on these file formats. You need to really understand the low-level file format to be qualified to offer an opinion on the merits of the file format by itself. And the merits of the file format aren't really the point most of the time -- what matters is the applications that you use, and how they handle it. Does a given application produce better PDF files or better EPS files. Does another application read EPS files better than it reads PDF files? Are there apps that read or write one but not the other? Is there a savings in file structure, in maintenance, in cost, in aggravation.
    Most of the people who write about these things are aware of the ramifications and the practical effects of the choices, but not the low-level details.
    Most of the time the low-level details do not matter. But they do indeed matter to some of us, and it is those of us who have spoken up in this thread.
    In favor of EPS, but in a limited way.
    Why EPS is sometimes better.
    Can you explain why you think EPS is better than ai or PDF? Can you point me to any online sources, or books?
    As we have enumerated in this thread (and the other recent one, I guess), EPS has the following potential advantages over PDF; they may not be important to you, but they are sometimes important to some of us in some cases:
    1. It can be easily authored by humans and tools without requiring complex tools to convert into intermediate formats (e.g. Acrobat Distiller; pstopdf or GNU Ghostscript; expensive libraries to produce PDF output);
    2. If appropriately written, it can produce human-readable ASCII output that can be understood by someone familiar with EPS. For programatically generated output, seeing that the code says "Draw a circle at coordinates (1 inch, 1 inch)" can be extremely valuable. In such an EPS file, that might be "1 inch 1 inch drawcircle."
    3. Bitmap binary data can be more efficiently JPEG encoded in EPS than in PDF. (I was not aware of this, and do not know it to be the case. But Uwe mentions it.)
    4. Gernot's point regarding direct CMYK specifications. I'm honestly not sure what it is, so I won't try to explain it.
    5. Some apps output cleaner EPS files than they do PDF files. Apparently Illustrator is one such app. Which is bizarre.
    6. Some applications/clients/specifications require EPS, such as the CUMULUS database.
    As for AI, well, as we've already said above AI and PDF are essentially equivalent, as both can contain PDF images and Illustrator private data. But EPS is certainly better than Illustrator private data because it is an open, well-documented standard. Anyone with enough time on their hands can interpret an EPS file acording to a public, published spec that's been around for years. There are free and commericial software PostScript renderers, and there are an abundance of PostScript printers. None of those things are true for AI.
    The rest.
    What's left? I think that's really about it. You've spent quite a bit of time arguing against a position I do not think anyone was adopting.

  • Tablet Wacom has wrong behaviour, not respect alt right mouse in Photoshop CC 2014

    I have set my Wacom Bamboo tablet to send modifier Alt+Right button when I press the button, then I can change size or hardness of the cursor.
    I works in CS6 and CC but not in CC 2014. The bubble "alt" is now displayed but Photoshop not respect the alt button and I cannot change the size of cursor. When I press the alt+right button on mouse, it works.
    When I change mode of tablet from Pen to Mouse, it works but I cannot map the cursor to main display - this workaround is not applicable for me :-(
    Any suggestions?
    Thanks

    I'm having the same issue. Scroll wheel works fine in all Adobe products besides Photoshop. I've tried reinstalling Photoshop, plugging in the mouse to a different USB port, reinstalling the mouse driver, and restarting my computer multiple times. This bug makes Photoshop practically useless, as everything takes about twice as long to get done.
    I really hope we get a fix for this soon. So far CC has been a huge disappointment, filled with small, productivity-destroying bugs like this one.

  • NavBarByRelationshipItem: Does not respect ViewId

    Hi experts,
    From an opportunity I would like to show activities in the Navigation bar to the left. Thats no problem. But changing the view from the associated view to a custom view - does not work.
    I tried to fill in the Optional attribute "ViewId" with the ID for the view in question, but dyn crm still shows the associated view.
    Microsoft actually address this problem in rollup10, I'm on rollup18. So it should work.
    This is the snippet from my customization.xml file
    <NavBarByRelationshipItem RelationshipName="Opportunity_ActivityPointers" Id="navActivities" Show="true" Sequence="10000" ViewId="{987239E3-8E9C-E411-9580-D485640E8203}" Area="Info">
      <Titles>
        <Title LCID="1030" Text="Aktiviteter" />
      </Titles>
    </NavBarByRelationshipItem>
    Any help would be appreciated
    Henrik
    --- Best regards Henrik Skydtsgaard

    Found a solution. If you use the standard Id, in this case "navActivities", then ViewId is not respected. Choose another Id and it works.
    /henrik
    --- Best regards Henrik Skydtsgaard

  • [SOLVED] Xfce composite settings are not respected

    I have come across a problem with the Xfce composite manager. I enable this primarily to have conky draw transparently on the desktop wallpaper, but then found shadows and transparency did not cause much more impact on performance after enabling composite effects in the first place.
    But now I'm experiencing that some settings in the Tweaks settings menu are not respected. For instance, I've enabled transparency both when moving and resizing windows, but they only turn transparent when moving them. Also, I've enabled transparency for notifications, which to my understanding includes the desktop right-click menu, but they are opaque. Anybody else experience this? I've tried turning composite effects off, logging out and back in and turning them on again. No luck there. Also, if you should know where these settings are stored (text file somewhere/Xconf...) I'd be happy to inspect them
    Thank you!
    Last edited by mariusmeyer (2011-08-02 14:12:37)

    stqn wrote:Uh? I really don't see why the desktop right-click menu would be using notifications' opacity setting... Anyway here it works as expected (notifications are transparent, not the menu.)
    Now it does for me as well. The reason I thought the menu was a part of it was because it became transparent when I enabled notification transparency the first time but this behaviour went away after a logoff-login I think.
    The big problem I'm struggeling with now is still the fact that xfwm does not respect the settings as found in Xfconf / Settings -> Tweaks. The shadows on the borders won't go away no matter what I do; however and I'm able to turn off the resize/move transparency in-session. When I log out and back in again, the behaviour reverts, although the settings as I set them remain unchanged =_=
    If anything, does anybody know how to return all of xfwm's settings to the default, so I can start over? All I really need compositing for is transparent conky anyways....
    EDIT: Okey, it seems this has something to do with the xfwm theme I use :s after switching to other themes in the list I am suddenly in control of the composite effects again... Does this mean that the theme I use stores info on what composite effects it should use??
    Last edited by mariusmeyer (2011-08-02 14:08:17)

  • HT202774 Captions are not respected when turned off under Accessibility and still appear in the native player, how do I turn of captions?

    Captions are not respected when turned off under Accessibility and still appear in the native player, how do I turn of captions for the native player?

    Restart your computer while holding down left mouse key. That will eject the CD and your Mac will start as normal.
    Lupunus

  • Why ScheduledThreadPoolExecutor is not respecting the delay?

    I have a Customized implementation for ScheduledThreadPoolExecutor using which I am trying to execute a task for continuous execution. The problem I have faced here with the implementation is, some tasks executed continuously where as two of them are not respecting the delay and executed continuously. I am using the scheduleWithFixedDelay method.
    Even I have tried reproducing, but I couldn't.
    Here is my customized implementation.
    package com.portware.utils.snapmarketdata.test;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionHandler;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.ScheduledThreadPoolExecutor;
    import java.util.concurrent.ThreadFactory;
    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    import com.indigo.utils.Log;
    * To schedule the tasks in timely manner.
    public class TestScheduledExecutorService  {
      private static String CLASS_NAME = TestScheduledExecutorService.class.getName();
      protected final ThreadPoolExecutor executor;
      static int totalCount = 0;
      public static void main(String[] args) throws InterruptedException {
        TestScheduledExecutorService executorService = new TestScheduledExecutorService("Test", 10, null);
        final AtomicInteger integer = new AtomicInteger();
        final Set<Integer> testSet = new HashSet<Integer>();
        for (int i = 0; i < 10; i++) {
          testSet.add(i);
        Iterator<Integer> iterator = testSet.iterator();
        synchronized (testSet) {
        while(iterator.hasNext()) {
          integer.set(iterator.next());
          executorService.submitTaskForContinuousExecution(new Runnable() {
          @Override
          public void run() {
              System.out.println(Thread.currentThread().getName()+" Hello : "+integer.get() + " count value is:"+totalCount++);
        }, integer.toString());
        while (true) {
          synchronized (TestScheduledExecutorService.class) {
            TestScheduledExecutorService.class.wait();
      private static class MyRunnableTask implements Runnable{
        ScheduledFuture<?> future;
         * The task to be run.
        private Runnable runnable;
         * The number of attempt.
        private int count;
         * Maximum attempts configured under TCA configuration.
        private int maximumAttempts;
        private String id;
        public MyRunnableTask(Runnable runnable, int maximumAttempts, String id) {
          this.runnable = runnable;
          this.maximumAttempts = maximumAttempts;
          this.id = id;
        @Override
        public void run() {
          if (count >= maximumAttempts) {
            this.future.cancel(true);
            System.out.println("Cancelling the task with id :"+id+" after count :"+count);
            return;
          count++;
          this.runnable.run();
         * Return the number of attempt.
         * @return
        public int getCount() {
          return count;
      private void submitTaskForContinuousExecution(Runnable runnable, String id){
        int numOfAttempts = 10;
        MyRunnableTask runnableTask = new MyRunnableTask(runnable, numOfAttempts, id);
        int interval = 1;
        ScheduledFuture<?> scheduleWithFixedDelay = this.scheduleWithFixedDelay(runnableTask, 0, TimeUnit.SECONDS.toMillis(interval), TimeUnit.MILLISECONDS);
        if(id != null) {
          /*System.out.println("Submitted the task for continuous execution for the ticket id :"+id+"  with maximum attempts : "+numOfAttempts
              + " and interval : "+ interval);*/
          runnableTask.future = scheduleWithFixedDelay;
       * Creates an Executor Service to provide customized execution for tasks to be scheduled.
       * @param threadName is the name that shows in logs.
       * @param maximumThreads is the number of threads can be created.
       * @param rejectedExecutionHandler is if the Queue reaches it's maximum capacity and all the executor gives
       * the tasks to rejectedExecutionHandler.
      public TestScheduledExecutorService(String threadName, int maximumThreads, RejectedExecutionHandler rejectedExecutionHandler) {
        this.executor = createExecutor(threadName, maximumThreads, rejectedExecutionHandler);
      protected ThreadPoolExecutor createExecutor(String threadName, int minimumThreads, RejectedExecutionHandler rejectedExecutionHandler) {
        ThreadPoolExecutor threadPoolExecutor = new ScheduledThreadPoolExecutor(minimumThreads)
          @Override
          protected void beforeExecute(Thread t, Runnable r) {
            TestScheduledExecutorService.this.beforeExecute(t, r);
            this.purge();
          @Override
          protected void afterExecute(Runnable r, Throwable t) {
            TestScheduledExecutorService.this.afterExecute(r, t);
        if(rejectedExecutionHandler != null) {
          threadPoolExecutor.setRejectedExecutionHandler(rejectedExecutionHandler);
        }else{
          threadPoolExecutor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
        threadPoolExecutor.setThreadFactory(new TestThreadFactory(threadName, threadPoolExecutor));
        threadPoolExecutor.setKeepAliveTime(120, TimeUnit.SECONDS);
        threadPoolExecutor.allowCoreThreadTimeOut(true);
        return threadPoolExecutor;
       * Executes the task repeatedly with the given delay
       * @param task
       * @param initialDelay
       * @param delay
       * @param unit
       * @return
      public ScheduledFuture<?> scheduleWithFixedDelay(Runnable task, int initialDelay, long delay, TimeUnit unit) {
        return ((ScheduledThreadPoolExecutor)executor).scheduleWithFixedDelay(task, initialDelay, delay, unit);
       * To provide threads with specific features.
      protected static class TestThreadFactory implements ThreadFactory {
        private ThreadFactory threadFactory = Executors.defaultThreadFactory();
        private ThreadPoolExecutor threadPoolExecutor;
        private String groupName;
        public TestThreadFactory(String groupName, ThreadPoolExecutor threadPoolExecutor) {
          this.groupName = groupName;
          this.threadPoolExecutor = threadPoolExecutor;
        @Override
        public Thread newThread(Runnable r) {
          Thread thread = threadFactory.newThread(r);
          int activeCount = this.threadPoolExecutor.getPoolSize();
          activeCount++;
          thread.setName(this.groupName+"-"+activeCount);
          thread.setDaemon(true);
          return thread;
       * Performs initialization tasks before starting this thread.
       * @param thread
       * @param runnable
      protected void beforeExecute(Thread thread, Runnable runnable){
       * Performs tasks after execution of this runnable.
       * @param thread
       * @param runnable
      protected void afterExecute(Runnable runnable, Throwable t){
       * Initiates an orderly shutdown in which previously submitted
       * tasks are executed, but no new tasks will be
       * accepted. Invocation has no additional effect if already shut
       * down.
      public void shutdown() {
        if(this.executor != null) {
          Log.notice(CLASS_NAME, "shutdown", "Shutting down Executor Service");
          this.executor.shutdown();
       * Attempts to stop all actively executing tasks, halts the
       * processing of waiting tasks, and returns a list of the tasks
       * that were awaiting execution. These tasks are drained (removed)
       * from the task queue upon return from this method.
       * <p>There are no guarantees beyond best-effort attempts to stop
       * processing actively executing tasks.  This implementation
       * cancels tasks via {@link Thread#interrupt}, so any task that
       * fails to respond to interrupts may never terminate.
      public List<Runnable> shutdownNow() {
       if(this.executor != null) {
         Log.notice(CLASS_NAME, "shutdownNow", "Immediately shutting down Executor Service");
         try {
          return this.executor.shutdownNow();
        } catch (Exception e) {
          Log.notice(CLASS_NAME, "shutdownNow", e.getMessage());
       return Collections.emptyList();
       * Returns a Future for the given runnable task.
      public Future<?> submit(Runnable runnable) {
        if(this.executor != null) {
          return this.executor.submit(runnable);
        return null;
    Is there any possibility for the continuous execution or not?

    I have a Customized implementation for ScheduledThreadPoolExecutor using which I am trying to execute a task for continuous execution. The problem I have faced here with the implementation is, some tasks executed continuously where as two of them are not respecting the delay and executed continuously. I am using the scheduleWithFixedDelay method.
    Even I have tried reproducing, but I couldn't.
    Here is my customized implementation.
    package com.portware.utils.snapmarketdata.test;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionHandler;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.ScheduledThreadPoolExecutor;
    import java.util.concurrent.ThreadFactory;
    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    import com.indigo.utils.Log;
    * To schedule the tasks in timely manner.
    public class TestScheduledExecutorService  {
      private static String CLASS_NAME = TestScheduledExecutorService.class.getName();
      protected final ThreadPoolExecutor executor;
      static int totalCount = 0;
      public static void main(String[] args) throws InterruptedException {
        TestScheduledExecutorService executorService = new TestScheduledExecutorService("Test", 10, null);
        final AtomicInteger integer = new AtomicInteger();
        final Set<Integer> testSet = new HashSet<Integer>();
        for (int i = 0; i < 10; i++) {
          testSet.add(i);
        Iterator<Integer> iterator = testSet.iterator();
        synchronized (testSet) {
        while(iterator.hasNext()) {
          integer.set(iterator.next());
          executorService.submitTaskForContinuousExecution(new Runnable() {
          @Override
          public void run() {
              System.out.println(Thread.currentThread().getName()+" Hello : "+integer.get() + " count value is:"+totalCount++);
        }, integer.toString());
        while (true) {
          synchronized (TestScheduledExecutorService.class) {
            TestScheduledExecutorService.class.wait();
      private static class MyRunnableTask implements Runnable{
        ScheduledFuture<?> future;
         * The task to be run.
        private Runnable runnable;
         * The number of attempt.
        private int count;
         * Maximum attempts configured under TCA configuration.
        private int maximumAttempts;
        private String id;
        public MyRunnableTask(Runnable runnable, int maximumAttempts, String id) {
          this.runnable = runnable;
          this.maximumAttempts = maximumAttempts;
          this.id = id;
        @Override
        public void run() {
          if (count >= maximumAttempts) {
            this.future.cancel(true);
            System.out.println("Cancelling the task with id :"+id+" after count :"+count);
            return;
          count++;
          this.runnable.run();
         * Return the number of attempt.
         * @return
        public int getCount() {
          return count;
      private void submitTaskForContinuousExecution(Runnable runnable, String id){
        int numOfAttempts = 10;
        MyRunnableTask runnableTask = new MyRunnableTask(runnable, numOfAttempts, id);
        int interval = 1;
        ScheduledFuture<?> scheduleWithFixedDelay = this.scheduleWithFixedDelay(runnableTask, 0, TimeUnit.SECONDS.toMillis(interval), TimeUnit.MILLISECONDS);
        if(id != null) {
          /*System.out.println("Submitted the task for continuous execution for the ticket id :"+id+"  with maximum attempts : "+numOfAttempts
              + " and interval : "+ interval);*/
          runnableTask.future = scheduleWithFixedDelay;
       * Creates an Executor Service to provide customized execution for tasks to be scheduled.
       * @param threadName is the name that shows in logs.
       * @param maximumThreads is the number of threads can be created.
       * @param rejectedExecutionHandler is if the Queue reaches it's maximum capacity and all the executor gives
       * the tasks to rejectedExecutionHandler.
      public TestScheduledExecutorService(String threadName, int maximumThreads, RejectedExecutionHandler rejectedExecutionHandler) {
        this.executor = createExecutor(threadName, maximumThreads, rejectedExecutionHandler);
      protected ThreadPoolExecutor createExecutor(String threadName, int minimumThreads, RejectedExecutionHandler rejectedExecutionHandler) {
        ThreadPoolExecutor threadPoolExecutor = new ScheduledThreadPoolExecutor(minimumThreads)
          @Override
          protected void beforeExecute(Thread t, Runnable r) {
            TestScheduledExecutorService.this.beforeExecute(t, r);
            this.purge();
          @Override
          protected void afterExecute(Runnable r, Throwable t) {
            TestScheduledExecutorService.this.afterExecute(r, t);
        if(rejectedExecutionHandler != null) {
          threadPoolExecutor.setRejectedExecutionHandler(rejectedExecutionHandler);
        }else{
          threadPoolExecutor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
        threadPoolExecutor.setThreadFactory(new TestThreadFactory(threadName, threadPoolExecutor));
        threadPoolExecutor.setKeepAliveTime(120, TimeUnit.SECONDS);
        threadPoolExecutor.allowCoreThreadTimeOut(true);
        return threadPoolExecutor;
       * Executes the task repeatedly with the given delay
       * @param task
       * @param initialDelay
       * @param delay
       * @param unit
       * @return
      public ScheduledFuture<?> scheduleWithFixedDelay(Runnable task, int initialDelay, long delay, TimeUnit unit) {
        return ((ScheduledThreadPoolExecutor)executor).scheduleWithFixedDelay(task, initialDelay, delay, unit);
       * To provide threads with specific features.
      protected static class TestThreadFactory implements ThreadFactory {
        private ThreadFactory threadFactory = Executors.defaultThreadFactory();
        private ThreadPoolExecutor threadPoolExecutor;
        private String groupName;
        public TestThreadFactory(String groupName, ThreadPoolExecutor threadPoolExecutor) {
          this.groupName = groupName;
          this.threadPoolExecutor = threadPoolExecutor;
        @Override
        public Thread newThread(Runnable r) {
          Thread thread = threadFactory.newThread(r);
          int activeCount = this.threadPoolExecutor.getPoolSize();
          activeCount++;
          thread.setName(this.groupName+"-"+activeCount);
          thread.setDaemon(true);
          return thread;
       * Performs initialization tasks before starting this thread.
       * @param thread
       * @param runnable
      protected void beforeExecute(Thread thread, Runnable runnable){
       * Performs tasks after execution of this runnable.
       * @param thread
       * @param runnable
      protected void afterExecute(Runnable runnable, Throwable t){
       * Initiates an orderly shutdown in which previously submitted
       * tasks are executed, but no new tasks will be
       * accepted. Invocation has no additional effect if already shut
       * down.
      public void shutdown() {
        if(this.executor != null) {
          Log.notice(CLASS_NAME, "shutdown", "Shutting down Executor Service");
          this.executor.shutdown();
       * Attempts to stop all actively executing tasks, halts the
       * processing of waiting tasks, and returns a list of the tasks
       * that were awaiting execution. These tasks are drained (removed)
       * from the task queue upon return from this method.
       * <p>There are no guarantees beyond best-effort attempts to stop
       * processing actively executing tasks.  This implementation
       * cancels tasks via {@link Thread#interrupt}, so any task that
       * fails to respond to interrupts may never terminate.
      public List<Runnable> shutdownNow() {
       if(this.executor != null) {
         Log.notice(CLASS_NAME, "shutdownNow", "Immediately shutting down Executor Service");
         try {
          return this.executor.shutdownNow();
        } catch (Exception e) {
          Log.notice(CLASS_NAME, "shutdownNow", e.getMessage());
       return Collections.emptyList();
       * Returns a Future for the given runnable task.
      public Future<?> submit(Runnable runnable) {
        if(this.executor != null) {
          return this.executor.submit(runnable);
        return null;
    Is there any possibility for the continuous execution or not?

  • KEYNOTE: Why change the format of the presentations? not respect the original format!

    Why change the format of the presentations? Keynote not respect the original format!
    This new versionof Keynot (6.1-1769) is very poor:
    is very slow
    missing fonts
    changes the selected letters
    change the formats of the presentations
    Carousel animations missing
    Please correct the defects before releasing a new version. (The previous version was much better).

    Found the solution!
    I must set the Formats in the CODEC to get the Format that I want to play with! I was trying to complicate too much!
    The correct format class to is RGBFormat.
    RGB

  • BoxLayout not respecting maximumSize?

    Hi,
    When the preferred width of a JPanel is long enough but its maximum width is restricted using setMaximumSize it seems that BoxLayout does not respect the maximum width.
    If the preferred size is also set then the max width is respected, but then some of the text is not displayed despite the scrollbar...
    Anyone has any explanation for this or is this expected?
    An example is below where the max width of labelPanel (105) is not respected:
    static String value = "Part One of the Essential Information Record (Questions 1-22) provides baseline information for ggggg in an ggggggggg. All these questions MUST be answered before any uuuuu/lllll person can be left in a placement. The information should be given to ggggg with the ggggggggg Agreement. Wherever possible, Part Two (Questions 22-63) should be completed BEFORE the person is looked after. In the case of an ddddddddd admission it should be completed AS SOON AS POSSIBLE thereafter. Both parts of the Essential Information Record should be updated before each review, on a supplementary sheet if necessary. Copies should be sent to residential people and ggggg. A further copy should be kept on the uuuuu/lllll person's file.";
    Label label = new JLabel("<html>" + value + "</html>");
    label.setBorder(BorderFactory.createLineBorder(new Color(255, 0, 0)));
    JPanel labelPanel = createVBox();
    labelPanel.add(label);
    labelPanel.setAlignmentY(Component.TOP_ALIGNMENT);
    labelPanel.setMaximumSize(new Dimension(105, 20000000));
    labelPanel.setBorder(BorderFactory.createLineBorder(new olor(255, 0, 0)));
    JPanel hbox3 = createHBox();
    JPanel vb3 = createVBox();
    vb3.setPreferredSize(new Dimension(160, 100));
    vb3.setMaximumSize(new Dimension(160, 100));
    vb3.setBorder(BorderFactory.createLineBorder(new Color(255, 0, 0)));
    vb3.setAlignmentY(Component.TOP_ALIGNMENT);
    hbox3.add(labelPanel);
    hbox3.add(vb3);
    JPanel b1 = createVBox();
    b1.add(new ScrollPane(hbox3));
    JFrame frame = new JFrame("");
    frame.setContentPane(b1);
    where
    private static JPanel createVBox() {
    JPanel jp = new JPanel();
    jp.setLayout(new BoxLayout(jp, BoxLayout.Y_AXIS));
    return jp;
    private static JPanel createHBox() {
    JPanel jp = new JPanel();
    jp.setLayout(new BoxLayout(jp, BoxLayout.X_AXIS));
    return jp;

    BoxLayout assumes that a component's minimum size is smaller than the component's preferred size and that the preferred size is smaller that the maximum size. The first thing BoxLayout checks is whether the preferred size will fit. If not, the BoxLayout will make the component smaller than the preferred size, but no smaller than the minimum size. There is no reason to check the maximum size if the preferred size is already too big and the assumption holds true. Setting the maximum size to be smaller than the preferred size is an error which causes unexpected behavior. Just make sure the min <= pref <= max and everything will work as it is supposed to.

  • [solved] Qt apps do not respect GTK settings

    Hello,
    Qt apps such as Virtualbox do not respect my GTK settings. The font should be Noto Sans and the icon theme should be Faenza.
    Here is a comparison between Virtualbox and Nemo File Manager: http://i.imgur.com/oxWXW2w.png
    My settings:
    In qtconfig-qt4 I set Select GUI Style: GTK+.
    ~ $ cat .config/Trolltech.conf
    style=GTK+
    doubleClickInterval=400
    cursorFlashTime=1000
    wheelScrollLines=3
    resolveSymlinks=false
    globalStrut\width=0
    globalStrut\height=0
    useRtlExtensions=false
    XIMInputStyle=On The Spot
    DefaultInputMethod=xim
    audiosink=Auto
    videomode=Auto
    GUIEffects=none
    ~ $ cat .gtkrc-2.0
    # DO NOT EDIT! This file will be overwritten by LXAppearance.
    # Any customization should be done in ~/.gtkrc-2.0.mine instead.
    gtk-theme-name="Adwaita"
    gtk-icon-theme-name="Faenza"
    gtk-font-name="Noto Sans 9"
    gtk-cursor-theme-name="Adwaita"
    gtk-cursor-theme-size=24
    gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
    gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
    gtk-button-images=1
    gtk-menu-images=1
    gtk-enable-event-sounds=0
    gtk-enable-input-feedback-sounds=0
    gtk-xft-antialias=1
    gtk-xft-hinting=1
    gtk-xft-hintstyle="hintfull"
    gtk-xft-rgba="rgb"
    include "/home/orschiro/.gtkrc-2.0.mine"
    In .xinitrc:
    export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
    gconf settings:
    ~ $ gconftool-2 -g /desktop/gnome/interface/gtk_theme
    Adwaita
    ~ $ gconftool-2 -g /desktop/gnome/interface/icon_theme
    Faenza
    Last edited by orschiro (2013-12-25 13:03:23)

    Thanks ooo.
    Via qtconfig I can set the GTK theme (as per use GTK settings) and the font.
    However, what I cannot change is the used icon set. Although gconftool-2 -g /desktop/gnome/interface/icon_theme is set to Faenza it is not set for Qt apps.
    I assume this has to do with me running Openbox and somehow missing a required gconf component being launched.
    Is someone successfully running a WM configuration with the correct icon set for Qt apps?

  • Export Media not respecting bitrate change for H.264

    I am having an etremely odd problem where I can't change the export bitrate for an H.264 video.  Actually, I can change it but then when I export it to adobe media encoder the change is not respected. 
    For example I have a video that I exported at 9 Mbps.  I would like to reduce the file size by encoding at 6 Mbps, so I change the settings and export again however the change is not reflected in adobe media encoder.  It still encodes the video at 9 Mbps?
    I am using Premiere CS4.  Has anyone ever run into this?  Any help is greatly appreciated. 

    Welcome to the forum.
    Are you trying to encode using CBR?  If so, make the bit rate change to the Target bit rate in the VBR settings, then switch to CBR.  That should work for you.
    -Jeff

  • Hal settings for synaptic/keyboard not respected anymore (Gnome2.28)

    I have a 11-x11-synaptics.fdi config-file with my synaptics settings and a 10-keymap.fdi file with my keyboard layout set.
    After upgrading to Gnome 2.28 yesterday, these settings are not respected anymore. I get US layout, and a touchpad where tapping and RTCornerButton and RBCornerButton does not work. Setting tapping manually in Gnomes mouse settings gui makes it work, but only for tapping.
    The strange thing is that the same thing happens when logging in to lxde. As I can't see any x.org-packages that have been installed, this confuses me. Could it be gdm related? Has any other things mouse- and keybpard-related been updated just now?
    I updated on the 09.10, and I'm pretty sure everything worked fine (didn't use my laptop much the last couple of days). However, when I updated again the 13.10, yesterday, mouse and keyboard settings broke.
    This seems sort of related to this post, but he mentions only keyboard layout, and mine has surely worked since then.
    A bug? A Feature? Me being stupid?
    I have looked trough the pacman.log/warnings, I promise!

    I'm also having problem with Gnome not respecting my Hal settings. After enabling tapping in gnome-mouse-properties it mostly works, but for some reason TapButton2 and TapButton3 are reversed, ie. TapButton2 = 3 and TapButton3 = 2. I can't find any way of configuring the TapButtons in Gnome either, which is really stupid.
    I guess I can somehow make sure that synclient sets these correctly, but is there no way of telling gnome to either set the corrent values or to not touch the settings at all? Not running gnome-settings-daemon is not an option for me, since it sets a lot of other things that I want.

  • 10.6.2 changing and not respecting plists?

    This past week a couple of strange things happened. On my iMac 20" with 10.6.2 clean, yesterday my login items list was abbreviated on startup - only a few of my menu bar items loaded. I opened the com.apple.loginitems.plist, with (a number of ) plist and text editors, and indeed, half the items normally in there were gone, as depicted in the Accounts Prefpane.
    OK, weird, but easy to fix - I'll go back a couple of days in TimeMachine and replace the plist file, which I did. I opened the plist file, checked the full complement of login items were there, and did a restart. Came back up - still with the abbreviated list! OK, so replaced the plist file again, locked it, ran YASU and did a whole cache and permissions repair etc, and restart. Came back up with the same abbreviated list! Check the plist file - still locked, still complete with all items!
    So I unlocked it, restarted again, it came back up abbreviated list - and changed the plist file back to the abbreviated list! So I manually added back in, (or reinstalled as the case may be), the various items as in my complete list of login items, and restarted, and now it came back up complete as expected.
    My question here is: is there anywhere else that controls the login items such that would cause the above behaviour? Is there some obscure cache that overrides plists-in-place? And why was the restored plist file ignored?
    Second thing happened today on another machine - Mac mini, 10.6.2 upgraded. Today one bookmark folder of Safari bookmarks disappeared from my wife's Safari bar. Five folders of bookmarks were there as they were last night, but the sixth folder was gone. The Safari bookmarks plist file was indeed missing them, but perfectly formed nonetheless. So I go back into TimeMachine and restored the bookmarks.plist file. Anyone who's ever migrated Macs knows it's just replace the file, launch Safari and voila! Not in this case. Relaunching Safari with the replaced bookmarks brought up the abbreviated list!. Cleared caches, reset Safari, repaired permissions etc etc. Checked the list in editors - the sixth folder of bookmarks is there!, but not in Safari! I then used Firefox to File > Import Safari bookmarks, and it was there! I then had to import it back into Safari for it to pick up the sixth folder of bookmarks.
    Again, I don't have any explanation for any of this.
    My questions are: what's causing these random cut-offs of content of plist files without corrupting them as such; and secondly: why are TimeMachine replacement files not being read or respected? Is it a Mac OS X 10.6.2 issue, or does something happen in TimeMachine that renders the restored files invalid, thus rendering a TimeMachine backup as worthless?
    Message was edited by: Don Hayes

    I too have the same issue (of Snow Leopard not respecting plist since the 10.6.2 update). In my case, custom launchd agents that ran fine before the update haven't run since; I have checked the Console and get permission denied errors when trying to run a custom launchd that calls an AppleScript application that then backs up a networked drive if the watched folder's last time of change differs from the previous backup. Also, new custom launchd agents will not run (with the same issue of permission denied errors). I have even gone sofar as to:
    1. migrate a launchd agent from being a User Agent to a User Daemon, updated the time (which I originally setup as a everyday occurrence, set to run at 7:00am; it was saved as such; but the plist file, when checked, at 9:30pm (21:30h) as the time for implementation and I can't correct it, after many attempts) and rebooted, to no avail.
    2. re-installed the 10.6.2 combo updater; again, to no avail
    I have also repaired privileges, attempted to create new User Agents in a second Admin account, and all to no avail.
    I don't know how to fix this and have search the net for assistance, again, to no avail.

  • Exporting pdf "acrobat distiller printer description not found" ERROR!

    I just upgraded my g4 to tiger and I am running quark 5 on it. I can no longer export pdfs. I get an error saying "acrobat distiller printer description not found." I am stumped and I NEED to get this working!!
    Anybody who knows how to fix this please let me know!
    Thanks

    You may need to re-install Adobe Acrobat Pro, assuming you need the functionality of Acrobat to create PDFs. To create simple PDF's there is a PDF menu on every print dialog box that does not require the Distiller printer description file.

  • I can not create EPS

    Hello,
    I have a problem in P6 EPPM V8.1. I can not create EPS nodes, when I try it an error message pop up telling me that Activity codes longer than 20 characters are not allowed but I revise all the projects already loaded and there aren´t codes longer than 20 characters. Can anybody tell me why is this happening? Is this a software bug?
    Regards
    Andres

    Hi,
    First of all check with your administrator whether you have the right privileges to create an EPS in EPPM. In release 8.1 the web version is called EPPM and the client is called Optional Client. All administrative works are done in EPPM. So for creating an EPS also you need to log in to EPPM.
    If you have the privileges for creating an EPS then log in to P6 EPPM and go to EPS page under Projects tab. There you will find the button of creating Sibling EPS. You can also create a sibling or child EPS from Action menu > Add > Add Sibling EPS/Add Child EPS
    Thanks,
    Dip

Maybe you are looking for