Unable to set a transparent panel over Images for annotations

Hi All,
I am developing a Swing Application for image processing.
My aim is to display the image on a JPanel and over which the user should be able to draw different geometrical figures(line,circle,polygons,etc) and write annotations on that. These drawings should not affect the original image.
Also, these drawings should be movable, like if I zoom the image, drawings over the image should also zoom in the same ratio.
Initially, I thought of using the GlassPane but stuck up with some issues, relating to its implementation.
It would be great, if you could suggest me some guidelines or pont me to some resources for the same.
Any help in this regard will be highly appreciated.
Thanks,
Manu
Edited by: manu_agarwal on May 8, 2009 12:46 PM

Hi Adam,
Thanks for your reply.
My intention is that after draing annotations on the image, if the user wants to zoom or move image(panning), the annotations should also move.
Thanks,
Manu

Similar Messages

  • When installing Adobe Captivate I get msg: unable to set-up control panel

    When installing Adobe Captivate I get msg: unable to set-up control panel..Does anyone know how to resolve?

    Hi,
    It seems that Captivate is not downloaded completely. Only one file is downloaded(i.e. .exe) , .7z file is missing.  You can follow the below instructions to download Captivate 7 via direct links.
    In order to download Adobe Captivate 7.0 Windows English, open the link mentioned below and sign in with your Adobe ID and password.
    https://www.adobe.com/cfusion/tdrc/index.cfm?product=captivate
    Once you sign In with your Adobe Id and password, you will be redirected to Adobe Captivate 7.0 download page, Do not click on download. Kindly stay on that page and paste the below two links on the Trail Page Address Bar  one by one and save the files on your system at same location:
    http://trials3.adobe.com/AdobeProducts/CPTV/7/win32/Captivate_7_LS21.7z
    http://trials3.adobe.com/AdobeProducts/CPTV/7/win32/Captivate_7_LS21.exe
    When both the files finish downloading, then run the second file (.exe) which will start extracting the first file (.7z) and will start installing Adobe Captivate 7.0 on your computer.
    Regards,
    Mayank

  • Microsoft Intune was unable to set the desired mobile device policy for one or more users due to the following error: A2CE0100

    Hi!
    We have fatal or critical error message on Microsoft Intune Portal but all agents are working just fine. Before opening support ticket we would like to hear comments from the experts on this forum. We would also like to fix this error before starting to
    manage mobile devices with Intune.
    Error message on Intune Portal:
    "Microsoft Intune was unable to set the desired mobile device policy for one or more users due to the following error: A2CE0100"
    Repeated: 19 times.
    Class: (System) Policy
    Random Fatal error message on C:\Program Files\Microsoft\OnlineManagement\Logs\PolicyAgent.log found from one Windows 8.1 client:
    2015-02-21 08:49:20:704 2852 1ab0 FATAL: DocumentProvider::IndicateToConsumer/pp->ProcessPolicies(NULL, NULL, NULL, NULL) failed with error 0x800704d5.
    That said, we are not facing any specific problem but we would like to find symptom of this repeating error message on Intune Portal . We would appreciate to get any thoughts about this case.
    Br.
    Jukka

    Hi Jukka,
    Mobile policy doesn't apply to clients using the Full Client download.  Please open a support case so the team can assist in further troubleshooting.
    Thanks,
    Jon L. - MSFT - This posting is provided "AS IS" with no warranties and confers no rights.

  • Display transparent panel over JFrame

    Hi
    I need to display a transparent panel (or even just a panel for that matter) on top of the other components in a JFrame, this would be like a notification box that can come and go away, but it should not be a JFrame, instead a floating JPanel. Basically if I can just position it on top of the other components without affecting them (I'm using a BorderLayout) it would be great.
    Regards
    Lionel

    Hi
    Thanks a million.
    Got it working, is there a way to make the top layer smaller and center in the middle of the frame? I've got all my normal components now a DEFAULT_LAYER and a JPanel as MODAL_LAYER, can I make this JPanel sit in the center of the frame?
    I have this at the moment:
    panel.add(workBar, BorderLayout.CENTER, JLayeredPane.MODAL_LAYER);
    But it fills the entire frame once this is added.
    Regards
    Lionel

  • PS CS6 Shows Transparent Pixels Over Image When Zooming Past 50%

    I'm not sure why, but Photoshop just started doing this after I converted my files to a smart object. When I try to zoom in past 50%, it displays these transparent pixel squares over the entire image. I tried rasterizing and flatting the image back, but that didn't do anything. It seems to keep doing this. Any suggestions how I can fix this?

    That sounds like a typical display driver problem.
    If you have a PC, visit the web site of the maker of your video card, seek out and download/install the latest display driver for your hardware and OS, and reboot (even if it doesn't require it).
    If you're on a Mac, you might find that manipulating the graphics processor-specific settings in your Photoshop-Preferences-Performance dialog (and in the Advanced settings) might help.  Make sure to fully Quit and restart Photoshop after making changes there.
    -Noel

  • Moving canvas or panel over image

    Hello!
    Let's say I have a class that extends from panel, and in the paint method i draw an image on the panel. Now I need another object, transparent, but with some graphics on it, let's say a canvas, or another panel, with a rounded rectangle drawn inside, but otherwise transparent. Now I want to move that other canvas on the original panel panel, and i want original image to be seen where the canvas is transparent. How can I do this? How can I make such a canvas and add it to the panel?

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    public class OverlayTest extends JPanel
        BufferedImage image;
        public OverlayTest()
            loadImage();
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            int w = getWidth();
            int h = getHeight();
            int imageWidth = image.getWidth();
            int imageHeight = image.getHeight();
            int x = (w - imageWidth)/2;
            int y = (h - imageHeight)/2;
            g.drawImage(image, x, y, this);
        private void loadImage()
            String fileName = "images/redfox.jpg";
            try
                URL url = getClass().getResource(fileName);
                image = ImageIO.read(url);
            catch(MalformedURLException mue)
                System.err.println("url: " + mue.getMessage());
            catch(IOException ioe)
                System.err.println("read: " + ioe.getMessage());
        public static void main(String[] args)
            JPanel panel = new JPanel();
            OverlayLayout overlay = new OverlayLayout(panel);
            panel.setLayout(overlay);
            panel.add(new TopPanel());
            panel.add(new OverlayTest());
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.add(panel);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class TopPanel extends JPanel
        Point loc;
        int width, height, arcRadius;
        Rectangle r;       // for mouse ops in TopRanger
        public TopPanel()
            setOpaque(false);
            width = 300;
            height = 240;
            arcRadius = 35;
            r = new Rectangle(width, height);
            TopRanger ranger = new TopRanger(this);
            addMouseListener(ranger);
            addMouseMotionListener(ranger);
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            if(loc == null)
                init();
            g2.setPaint(Color.red);
            g2.drawRoundRect(loc.x, loc.y, width, height, arcRadius, arcRadius);
        private void init()
            int w = getWidth();
            int h = getHeight();
            loc = new Point();
            loc.x = (w - width)/2;
            loc.y = (h - height)/2;
            r.x = loc.x;
            r.y = loc.y;
    class TopRanger extends MouseInputAdapter
        TopPanel top;
        Point offset;
        boolean dragging;
        public TopRanger(TopPanel top)
            this.top = top;
            offset = new Point();
            dragging = false;
        public void mousePressed(MouseEvent e)
            Point p = e.getPoint();
            if(top.r.contains(p))
                offset.x = p.x - top.r.x;
                offset.y = p.y - top.r.y;
                dragging = true;
        public void mouseReleased(MouseEvent e)
            dragging = false;
            // update top.r
            top.r.x = top.loc.x;
            top.r.y = top.loc.y;
        public void mouseDragged(MouseEvent e)
            if(dragging)
                top.loc.x = e.getX() - offset.x;
                top.loc.y = e.getY() - offset.y;
                top.repaint();
    }

  • How do i set the transparency of an image retrieved from a database? (image was stored as blob)

    I had stored a png image into a database, when i retrieve it and display it the background is no longer transparent?
    I am loading the blob returned from the select statement by using the "loadBytes" method of the "UILoader" class.
    Thanx in advance
    gv1979

    If you want to stick with adjusting the scale you can do this two ways. Edit the value graph or edit the speed graph.
    The problem is that a camera move, a zoom or a dolly in, is not linear and scale is. This means the graphs are not a good representation of what you'll see visually. This makes them hard to use. At a constant rate for scale the appearance is that the increase in size slows down to closer you get to the final value. In other words, as you scale an object up at a constant rate, the visual appearance is a gradual slowing.
    A speed graph edited to look like this gives the appearance of a constant rate scale of the layer when you expect an acceleration at the end. There's just not enough granularity in the graph editor or enough control to predictably achieve the results you want.
    You'll have better luck editing the value graph to look something like this:
    While this looks extreme, you will get closer to achieving the results you want using the value graph. Once again, the amount of control and the resolution of the graph combined with the visual tomfoolery that scaling an object brings with it makes this a difficult way to achieve predictable results.
    You select the graph you'll edit by clicking on the second icon from the left.
    As I said before, you'll have much better luck getting the look you want if you make the layer 3D and move a camera toward it.

  • Tabbed panels: switching images for each tab?

    Hi,
    I am a spry newbie. I have three tabs in a tabbed panel. I
    have been able to put images into the tabs; these are my three tab
    labels. But I'd like to switch the image of a tab when it's being
    clicked or hovered over, and then again when it's the foreward-most
    tab. Is there a way to do this? If so, could you please explain or
    point me to an example? Thank you very much.

    My education in spry continues. I realized that I didn't have
    to use images, as I had been doing, since my labels were just text
    on a color background. I quickly learned how to work with the css,
    and now the tabs look very nice. So, problem solved!

  • Set of RAW file test images for regression tests

    Hello
    Does anybody own a broad range of test images which can be shared where most RAW file formats are covered to help making a new plugin stable or do regression tests over different versions of Lightroom or plugin revisions?
    Thanks,
    Daniel

    Hi Daniel,
    I haven't seen anyone pull together a complete set of RAWs for this type of testing. Most people only need a few samples of different manufacturers just to ensure their code works OK. I'm curious to know what type of Lightroom plugin would require as an exhaustive a set of tests as you are suggesting.
    You've already looked at the dcraw team's work. Might also want to look at Phil Harvey and his exiftool work to see if he has a set of test files available. Or RawTherapee though they might not bother with their own testing since I'm pretty sure they use dcraw under the covers.
    I suspect you will need to do some downloading of files from review sites unless one of these big players has files ready for testing. Copyright issues might prevent that. Photography Blog makes it as easy as any of the sites I've found to download RAW sample files so keep them in mind if you run out of luck.
    Matt

  • Using Roll Over Images for Hots Spots in DW CS 5

    Ok  I had this sort of working .. but
    what i am trying to do is have pictures pop up when the mouse rollovers a hot spot.   I do this with two layers and using the behavior window
    The full project is at http://www.kasdivi.com/pages/map.html...  ( thought that might be better then posting code)   The issue is in the left hand top of the map wjere you see malmok  (Col H Row 2)or Boka Bartol (also Col H Row )
    you have to move down the page before the image will show  
    I though there might be something in that area mapping as if you leave map in topmost position and mouse over Boka Onima (Column M row 5) the image pops up fine
    I tried to restart with a simpler test www.kasdivi.com/testmap.html
    the supposedly live hot spots are at Malmok (H2 ) and Boka Onima (M5)  but it this test nothing works
    I think I am doing something baically wrong
    any guidance will be appreciated
    Jasom

    You have some code errors that could be causing issues.
    Things like missing quote marks around the alt attribute on line 91, your links near that line are also malformed to both your images and webpages.
    Run your page through the validator here and repair your errors:
    http://validator.w3.org/
    If it's still not funtioning correctly after you have taken care of the problems, post back and we can take a closer look...

  • Over image not working in Nav Bar

    I have established Up and Over images for my nav bar. The Up
    image is all that shows -- even when I mouse-over or click on the
    button. Thanks for your help!
    Jim
    "MM_nbGroup('down','group1','WhatWeDo','Images_and_Video/WhatWeDo_Over.gif',1)"
    onmouseover="MM_nbGroup('over','WhatWeDo','Images_and_Video/WhatWeDo_Over.gif','Images_an d_Video/WhatWeDo_Over.gif',1)"
    onmouseout="MM_nbGroup('out')"><img
    src="Images_and_Video/WhatWeDo_Up.gif" alt="Home page link"
    name="WhatWeDo" width="161" height="39" border="0" id="Home"
    onload="" /></a></td>
    </tr>
    <tr>
    <td><a href="whoweare.html" target="_top"
    onclick="MM_nbGroup('down','group1','WhoWeAre','Images_and_Video/WhoWeAre_Over.gif',1)"
    onmouseover="MM_nbGroup('over','WhoWeAre','Images_and_Video/WhoWeAre_Over.gif','Images_an d_Video/WhoWeAre_Over.gif',1)"
    onmouseout="MM_nbGroup('out')"><img
    src="Images_and_Video/WhoWeAre_Up.gif" alt="Who we are navigation
    link" name="WhoWeAre" width="161" height="39" border="0" id="Test"
    onload="" /></a></td>

    I'm sorry to tell you that the first thing you need to do is
    to get rid of
    the method you have used. It's quite antique, and was
    designed for framed
    pages. It adds quite a bit of additional code (some of which
    is invalid) to
    your page than would the alternative of using just ordinary
    image swaps for
    your menu.
    So, just create your menu from the up images in each row, and
    use DW's Swap
    image behavior on each.
    And put some duct tape over this NavBar option so that you
    don't use it
    again!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JRStaf4ord" <[email protected]> wrote in
    message
    news:gb85gs$5e$[email protected]..
    >I have established Up and Over images for my nav bar. The
    Up image is all
    >that
    > shows -- even when I mouse-over or click on the button.
    Thanks for your
    > help!
    >
    > Jim
    >
    >
    >
    "MM_nbGroup('down','group1','WhatWeDo','Images_and_Video/WhatWeDo_Over.gif',1)"
    >
    onmouseover="MM_nbGroup('over','WhatWeDo','Images_and_Video/WhatWeDo_Over.gif','
    > Images_and_Video/WhatWeDo_Over.gif',1)"
    > onmouseout="MM_nbGroup('out')"><img
    > src="Images_and_Video/WhatWeDo_Up.gif" alt="Home page
    link"
    > name="WhatWeDo"
    > width="161" height="39" border="0" id="Home" onload=""
    /></a></td>
    > </tr>
    > <tr>
    > <td><a href="whoweare.html" target="_top"
    >
    onclick="MM_nbGroup('down','group1','WhoWeAre','Images_and_Video/WhoWeAre_Over.g
    > if',1)"
    >
    onmouseover="MM_nbGroup('over','WhoWeAre','Images_and_Video/WhoWeAre_Over.gif','
    > Images_and_Video/WhoWeAre_Over.gif',1)"
    > onmouseout="MM_nbGroup('out')"><img
    > src="Images_and_Video/WhoWeAre_Up.gif" alt="Who we are
    navigation link"
    > name="WhoWeAre" width="161" height="39" border="0"
    id="Test" onload=""
    > /></a></td>
    >

  • 206 unable to set alert only for certain group

    Hi,
    is it a symbian unwanted feature that user is unable to set Nokia 206
    profile to alert for certain group (even though this kind of functionality is
    available on this phone)?
    To be more precise user is able to set profile to alert only for certain
    group but this setting has no effect (phone rebooted, groups recreated, etc. no effect)
    This feature has been available and workin in previous Nokia phones
    since last decace - is it a software quality issue or what.
    Best regards,
    Hez

    It is the Application Pool account making the query to retrieve the groups, so you would need to establish a trust from Domain B -> A.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Home pc is under my husband's user id, I have an iPad and iPhone under my apple id.  I have more music on my iPad then on pc or iPhone.  If I set up synching over wifi for my devices... What do they sync to?  Will the songs on iPad be added to phone/pc?

    Home pc is under my husband's user id, I have an iPad and iPhone under my apple id.  I have more music on my iPad then on pc or iPhone.  If I set up itunes synching over wifi for my devices... What do they sync to?  Will the songs on iPad be added to phone/pc?  Or will the iPad and iPhone be synced (matched) to pc and reflect what is on that device?

    Home Sharing is designed to work on your local network not across the internet/cloud.
    Stuff is accessed under the Computers column where your local iTunes library on a local computer would appear.
    Home Sharing would share your iTunes content (i.e. stuff stored in itunes on the computer, not in the cloud) with AppleTV or an iPad etc on the SAME network.
    AppleTV2 will not be able to see itunes content on the work computer over the internet.  It's not designed to.  if the work computer was on the home network it would.
    iCloud is in it's infancy and is not a mature product - iTunes TV Show purchases appear on AppleTV, but currently music does not unless you are subscribed to iTunes Match. I find this rather odd to be honest, along with the inability to buy music on AppleTV2.  Movies purchased in iTunes are not authorised for iCloud viewing currently either.
    Maybe it has something to do with iTunes Match 'getting in the way' - i think they assume you'll use that whereas you really want to be able to access Purchased music from the cloud without subscribing to itunes Match which is overkill for some.
    AC

  • Error Deployer BEA-149231 Unable to set the activation state to true

    Hi Friends ,
    We are using weblogic 10.3.5.0, one of the deployment module is in failed status.
    In the application logs we could see the following error
    ERROR Util: Initial Spring Application Context creation failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource' defined in class path resource [spring.xml]: Invocation of init method failed; nested exception is javax.naming.NoPermissionException: User &lt;anonymous&gt; does not have permission on comp.env.cpt to perform lookup operation
    in the weblogic server logs we could find the follow error
    <24-Jan-2013 08:47:43 o'clock CET> <Warning> <HTTP> <BEA-101162> <User defined listener org.apache.myfaces.webapp.StartupServletContextListener failed: java.lang.ExceptionInInitializerError.java.lang.ExceptionInInitializerError
    at com.db.cpt.biz.Utilities.Util.<clinit>(Util.java:114)
    at com.db.cpt.web.listener.MyPhaseListener.<clinit>(MyPhaseListener.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    Truncated. see log file for complete stacktrace
    Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource' defined in class path resource [spring.xml]: Invocati
    on of init method failed; nested exception is javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.cpt to perform lookup operation.
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1170)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
    Truncated. see log file for complete stacktrace
    Caused By: javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.xxx to perform lookup operation.
    at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:443)
    at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    Truncated. see log file for complete stacktrace
    >
    <24-Jan-2013 08:47:43 o'clock CET> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'xxx'.
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: javax.naming.NoPermissionException: User <anonymous> does not have permission on comp.env.cpt to perform lookup operation.
    at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:443)
    at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    Truncated. see log file for complete stacktrace
    Can you please advise us how can we resolve this issue which with i am struggling
    Raja

    Kumar,
    thanks for the update.
    we fixed the issue,
    for a particular user we didnt add his membership in a group in security realm, we added the user to a particular group, and then restarted weblogic, and deployed the module, and then status of deployment becomes successful.
    Raja

  • DW CC Fluid grid transparent text panels over media content?

    Hi,
    I want to add some text panels similar to this website over images and other media content such as video clips:
    http://roedesigns.com/easy-css-only-image-description-hover/
    I don't need it to hover, I just want to add a transparent text panel like in the link over a picture or video.
    The website i'm working on is Fluid so is this something I need to do with CSS or JQuery.?
    What would be the code for something like that?
    At the moment I have a new section with a 'article' object/div set up for the content, the content will be a image with the text panel or a video with the text panel.
    <article class="fluid article">INSERT PIC/VIDEO HERE</article>
    help much appreciated!

    See this updated Fiddle:
    Edit fiddle - JSFiddle
    Nancy O.

Maybe you are looking for

  • Odd behaviour of "+" operator in numbers 09

    Hello there, One of the annoying "features" of numbers 08 was that a reference to an empty cell would always show up as a zero - this has been the topic of many posts in the past, and if Apple engineers don't know it by now, they must be living on Ma

  • Placed jpgs are blank

    I'm working in Indesign CS5 v7.0.3. I'm working in multi page document, placing .jpg files into page layouts. I'm coming across certain .jpg files that won't place into the file. They are jpg files. When I place them into the layout, everything seems

  • Help pls, abstract

    im trying a calculator proram to run it and i keep getting this error, im stuck. can anyone please advice me on what to do. thanks in advace the error: C:\Program Files\calc.java:8: calc should be declared abstract; it does not define actionPerformed

  • What happened to the imac 24 inch

    I cannot locate an IMAC 24" anywhere.  Why was this convenient size taken out of production?  We have a classroom full of these units and need two more.  Any info on this? Thanks

  • Flipped even-numbered pages when printing double-sided from Preview

    My HP 2015dn printer has the ability to print double-sided. Yet I'm finding that when printing from Preview, the even-numbered pages are flipped 180 degrees. I can see the rationale for this, but I'd like to disable it and have the orientation the sa