Re-Coloring a ColorCube?

Hello,
I am trying to make a Rectangular-Prism/Cube in Java 3D to begin drawing a scene. I thought maybe it would be easy if I simply recolored a ColorCube object. But no matter how hard I try, it always seems to be red (why red?) when I try to set it to any other color. Here's my code:
import java.awt.Color;
import com.sun.j3d.utils.geometry.*;
import com.sun.j3d.utils.universe.*;
import javax.media.j3d.*;
import javax.vecmath.*;
public class Test
    public static void main(String[] args)
        SimpleUniverse universe = new SimpleUniverse(); //My Universe
        BranchGroup group = new BranchGroup(); //My BranchGroup
        ColorCube c = new ColorCube(0.3); //My Color Cube, at a scale of .3
        Appearance a = new Appearance();  //New Appearance
        Color3f color = new Color3f(Color.BLUE); //New Color3f that is set to blue
        ColoringAttributes ca = new ColoringAttributes( color, ColoringAttributes.NICEST );  //New Coloring Attributes object
        a.setColoringAttributes( ca ); //I set the above coloring attributes object to my appearance.
        c.setAppearance(a); //I set the above appearance to the cube.
        group.addChild(c);  //I add it to the BranchGroup
        universe.getViewingPlatform().setNominalViewingTransform(); //Set the Viewing angle and position
        universe.addBranchGraph(group);   //Add the branch group to universe.
}What am I doing wrong? And, would I have any similar problems trying to color a cylinder or a sphere? Thanks in advance for help.

None of these will work - you cannot re-color a ColorCube since you have no option how to do that. Even the hierarchy of ColorCube doesn't allow you this because it's different from other geometric utility classes. Read more on this in Sun's Java3D Tutorial, chapter 2, section 2.3
Better option for you would be to create a cube from scratch from 6 quads and define their color via Appearance.

Similar Messages

  • What is default light? I don't add a light source but my scene is lit

    Hi,
    I'm a newbie, here is my problem:
    I don't add a light source but my scene is lit. I try out demos, for example, TickTockPick, and remove light sources, scene is unlit, dark. but this doesn't happen on my application. it is as if there is a default ambient light. but there isn't, at least I do not create lights.
    any help appreciated, thanx,
    ozgur

    Some objects are affected by light and others are not depending on their material properties and vertex normals. If they are not affected by light, no light objects need to be added to the scene and they appear uniformly lit (no variation in the colors). ColorCube is an example of an object not affected by lights.
    If you do add a light object to the scene (ambient, directional, spot, etc) they will create lighting effects on objects that do have material properties and vertex normals. The lighting affects include diffuse, specular and emissive. These light effects change the way the colors appear. There is a good explanation in the Java3D tutorial.

  • Morphing class deprecated??

    I have been working with a Morphing example found on the internet (posted below) and when I go to compile the code, I get the following warning:
    "javax.media.j3d.Morph in javax.media.j3d has been deprecated"
    Java 3D is fully functioning on my pc, so it isn't a case of java3d being missing.
    Can anyone help explain? Any help would be greatly appreciated, Thanks.
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.GraphicsConfiguration;
    import java.util.Enumeration;
    import javax.media.j3d.Alpha;
    import javax.media.j3d.Appearance;
    import javax.media.j3d.Background;
    import javax.media.j3d.Behavior;
    import javax.media.j3d.BoundingSphere;
    import javax.media.j3d.BranchGroup;
    import javax.media.j3d.Canvas3D;
    import javax.media.j3d.GeometryArray;
    import javax.media.j3d.Morph;
    import javax.media.j3d.QuadArray;
    import javax.media.j3d.Shape3D;
    import javax.media.j3d.Transform3D;
    import javax.media.j3d.TransformGroup;
    import javax.media.j3d.WakeupOnElapsedFrames;
    import javax.vecmath.Color3f;
    import javax.vecmath.Point3d;
    import javax.vecmath.Vector3d;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    public class Pyramid2Cube extends Applet {
      private SimpleUniverse u = null;
      private BranchGroup createSceneGraph() {
        // Create the root of the branch graph
        BranchGroup objRoot = new BranchGroup();
        // Create a Transformgroup to scale all objects so they
        // appear in the scene.
        TransformGroup objScale = new TransformGroup();
        Transform3D t3d = new Transform3D();
        t3d.setScale(0.4);
        objScale.setTransform(t3d);
        objRoot.addChild(objScale);
        // Create a bounds for the background and behavior
        BoundingSphere bounds = new BoundingSphere(new Point3d(0.0, 0.0, 0.0),
            100.0);
        // Set up the background
        Color3f bgColor = new Color3f(0.05f, 0.05f, 0.2f);
        Background bg = new Background(bgColor);
        bg.setApplicationBounds(bounds);
        objScale.addChild(bg);
        // Create the transform group nodes for the 3 original objects
        // and the morphed object. Add them to the root of the
        // branch graph.
        TransformGroup objTrans[] = new TransformGroup[4];
        for (int i = 0; i < 4; i++) {
          objTrans[i] = new TransformGroup();
          objScale.addChild(objTrans);
    Transform3D tr = new Transform3D();
    Transform3D rotY15 = new Transform3D();
    rotY15.rotY(15.0 * Math.PI / 180.0);
    objTrans[0].getTransform(tr);
    tr.setTranslation(new Vector3d(-3.0, 1.5, -6.5));
    tr.mul(rotY15);
    objTrans[0].setTransform(tr);
    objTrans[1].getTransform(tr);
    tr.setTranslation(new Vector3d(0.0, 1.5, -6.5));
    tr.mul(rotY15);
    objTrans[1].setTransform(tr);
    objTrans[2].getTransform(tr);
    tr.setTranslation(new Vector3d(3.0, 1.5, -6.5));
    tr.mul(rotY15);
    objTrans[2].setTransform(tr);
    objTrans[3].getTransform(tr);
    tr.setTranslation(new Vector3d(0.0, -2.0, -5.0));
    tr.mul(rotY15);
    objTrans[3].setTransform(tr);
    // Now create simple geometries.
    QuadArray g[] = new QuadArray[3];
    Shape3D shape[] = new Shape3D[3];
    for (int i = 0; i < 3; i++) {
    g[i] = null;
    shape[i] = null;
    g[0] = new ColorPyramidUp();
    g[1] = new ColorCube();
    g[2] = new ColorPyramidDown();
    Appearance a = new Appearance();
    for (int i = 0; i < 3; i++) {
    shape[i] = new Shape3D(g[i], a);
    objTrans[i].addChild(shape[i]);
    // Create a Morph node, and set the appearance and input geometry
    // arrays. Set the Morph node's capability bits to allow the weights
    // to be modified at runtime.
    Morph morphing = new Morph((GeometryArray[]) g, a);
    morphing.setCapability(Morph.ALLOW_WEIGHTS_READ);
    morphing.setCapability(Morph.ALLOW_WEIGHTS_WRITE);
    objTrans[3].addChild(morphing);
    // Now create the Alpha object that controls the speed of the
    // morphing operation.
    Alpha morphAlpha = new Alpha(-1, Alpha.INCREASING_ENABLE
    | Alpha.DECREASING_ENABLE, 0, 0, 4000, 1000, 500, 4000, 1000,
    500);
    // Finally, create the morphing behavior
    MorphingBehavior mBeh = new MorphingBehavior(morphAlpha, morphing);
    mBeh.setSchedulingBounds(bounds);
    objScale.addChild(mBeh);
    return objRoot;
    public Pyramid2Cube() {
    public void init() {
    setLayout(new BorderLayout());
    GraphicsConfiguration config = SimpleUniverse
    .getPreferredConfiguration();
    Canvas3D c = new Canvas3D(config);
    add("Center", c);
    // Create a simple scene and attach it to the virtual universe
    BranchGroup scene = createSceneGraph();
    u = new SimpleUniverse(c);
    // This will move the ViewPlatform back a bit so the
    // objects in the scene can be viewed.
    u.getViewingPlatform().setNominalViewingTransform();
    u.addBranchGraph(scene);
    public void destroy() {
    u.cleanup();
    public static void main(String[] args) {
    new MainFrame(new Pyramid2Cube(), 700, 700);
    class ColorPyramidUp extends QuadArray {
    private static final float[] verts = {
    // front face
    1.0f, -1.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, -1.0f,
    -1.0f, 1.0f,
    // back face
    -1.0f, -1.0f, -1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f,
    -1.0f, -1.0f,
    // right face
    1.0f, -1.0f, -1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f,
    -1.0f, 1.0f,
    // left face
    -1.0f, -1.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, -1.0f,
    -1.0f, -1.0f,
    // top face
    0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f,
    0.0f,
    // bottom face
    -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f,
    -1.0f, 1.0f, };
    private static final float[] colors = {
    // front face (cyan)
    0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f,
    1.0f,
    // back face (magenta)
    1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f,
    1.0f,
    // right face (yellow)
    1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f,
    0.0f,
    // left face (blue)
    0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f,
    1.0f,
    // top face (green)
    0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f,
    0.0f,
    // bottom face (red)
    1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f,
    0.0f,
    ColorPyramidUp() {
    super(24, QuadArray.COORDINATES | QuadArray.COLOR_3);
    setCoordinates(0, verts);
    setColors(0, colors);
    class ColorCube extends QuadArray {
    private static final float[] verts = {
    // front face
    1.0f, -1.0f, 1.0f, 1.0f, 1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f,
    -1.0f, 1.0f,
    // back face
    -1.0f, -1.0f, -1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f,
    -1.0f, -1.0f,
    // right face
    1.0f, -1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f, 1.0f, 1.0f, 1.0f,
    -1.0f, 1.0f,
    // left face
    -1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f, -1.0f, -1.0f,
    -1.0f, -1.0f,
    // top face
    1.0f, 1.0f, 1.0f, 1.0f, 1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f,
    1.0f, 1.0f,
    // bottom face
    -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f, 1.0f,
    -1.0f, 1.0f, };
    private static final float[] colors = {
    // front face (red)
    1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f,
    0.0f,
    // back face (green)
    0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f,
    0.0f,
    // right face (blue)
    0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f,
    1.0f,
    // left face (yellow)
    1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f,
    0.0f,
    // top face (magenta)
    1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f,
    1.0f,
    // bottom face (cyan)
    0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f,
    1.0f, };
    ColorCube() {
    super(24, QuadArray.COORDINATES | QuadArray.COLOR_3);
    setCoordinates(0, verts);
    setColors(0, colors);
    class ColorPyramidDown extends QuadArray {
    private static final float[] verts = {
    // front face
    0.0f, -1.0f, 0.0f, 1.0f, 1.0f, 1.0f, -1.0f, 1.0f, 1.0f, 0.0f,
    -1.0f, 0.0f,
    // back face
    0.0f, -1.0f, 0.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 0.0f,
    -1.0f, 0.0f,
    // right face
    0.0f, -1.0f, 0.0f, 1.0f, 1.0f, -1.0f, 1.0f, 1.0f, 1.0f, 0.0f,
    -1.0f, 0.0f,
    // left face
    0.0f, -1.0f, 0.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f, -1.0f, 0.0f,
    -1.0f, 0.0f,
    // top face
    1.0f, 1.0f, 1.0f, 1.0f, 1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f,
    1.0f, 1.0f,
    // bottom face
    0.0f, -1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f,
    -1.0f, 0.0f, };
    private static final float[] colors = {
    // front face (green)
    0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f,
    0.0f,
    // back face (red)
    1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f,
    0.0f,
    // right face (yellow)
    1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f,
    0.0f,
    // left face (magenta)
    1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f,
    1.0f,
    // top face (blue)
    0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f,
    1.0f,
    // bottom face (cyan)
    0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f,
    1.0f, };
    ColorPyramidDown() {
    super(24, QuadArray.COORDINATES | QuadArray.COLOR_3);
    setCoordinates(0, verts);
    setColors(0, colors);
    //User-defined morphing behavior class
    class MorphingBehavior extends Behavior {
    Alpha alpha;
    Morph morph;
    double weights[];
    WakeupOnElapsedFrames w = new WakeupOnElapsedFrames(0);
    // Override Behavior's initialize method to setup wakeup criteria
    public void initialize() {
    alpha.setStartTime(System.currentTimeMillis());
    // Establish initial wakeup criteria
    wakeupOn(w);
    // Override Behavior's stimulus method to handle the event
    public void processStimulus(Enumeration criteria) {
    // NOTE: This assumes 3 objects. It should be generalized to
    // "n" objects.
    double val = alpha.value();
    if (val < 0.5) {
    double a = val * 2.0;
    weights[0] = 1.0 - a;
    weights[1] = a;
    weights[2] = 0.0;
    } else {
    double a = (val - 0.5) * 2.0;
    weights[0] = 0.0;
    weights[1] = 1.0f - a;
    weights[2] = a;
    morph.setWeights(weights);
    // Set wakeup criteria for next time
    wakeupOn(w);
    public MorphingBehavior(Alpha a, Morph m) {
    alpha = a;
    morph = m;
    weights = morph.getWeights();

    A method or (in this case it seems) a class being deprecated is nothing to worry about. All it means is that it is strongly advised that you not use this method/class because they have made something better to use. It also means that support for the method/class is no longer available from the makers and that they will soon be discontinuing the method/class.
    In the case of the Morph class, you can still use it, but it may not be there in the next version or two. If you want to stop those compile warnings, then you can stick this somewhere (before the method that uses the Morph, I think):
    @SuppressWarnings("unused")Using that will Suppress further Warnings of any "unused" (read "no longer supported/deprecated") classes or methods. And in your next program, see if you can find a replacement for the Morph class.
    Tustin2121

  • Color cube changes color

    The color cube in the code below keeps changing the color of all the sides, but the top and buttom one.
    The colors should remain the same.
    Can someone explain, why the colors do change itself?
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.Frame;
    import java.awt.event.*;
    import java.awt.GraphicsConfiguration;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.geometry.ColorCube;
    import com.sun.j3d.utils.universe.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    //   HelloJava3Dc renders a single, rotating cube. 
    public class HelloJava3Dd3 extends Applet {
         public BranchGroup createSceneGraph() {
         // Create the root of the branch graph
         BranchGroup objRoot = new BranchGroup();
         // rotate object has composited transformation matrix
         Transform3D rotate = new Transform3D();
         Transform3D tempRotate = new Transform3D();
            rotate.rotX(Math.PI/4.0d);
         tempRotate.rotY(Math.PI/5.0d);
            rotate.mul(tempRotate);
         TransformGroup objRotate = new TransformGroup(rotate);
         // Create the transform group node and initialize it to the
         // identity.  Enable the TRANSFORM_WRITE capability so that
         // our behavior code can modify it at runtime.  Add it to the
         // root of the subgraph.
         TransformGroup objSpin = new TransformGroup();
         objSpin.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
         objRoot.addChild(objRotate);
         objRotate.addChild(objSpin);
         // Create a simple shape leaf node, add it to the scene graph.
         // ColorCube is a Convenience Utility class
         objSpin.addChild(new ColorCube(0.4));
         // Create a new Behavior object that will perform the desired
         // operation on the specified transform object and add it into
         // the scene graph.
         Transform3D yAxis = new Transform3D();
         Alpha rotationAlpha = new Alpha(-1, 4000);
         Alpha rotationBeta = new Alpha(-1, 4000);
         RotationInterpolator rotator =
             new RotationInterpolator(rotationAlpha, objSpin, yAxis,
                             0.0f, (float) Math.PI*1.0f);
         // a bounding sphere specifies a region a behavior is active
         // create a sphere centered at the origin with radius of 1
         BoundingSphere bounds = new BoundingSphere();
         rotator.setSchedulingBounds(bounds);
         objSpin.addChild(rotator);
         return objRoot;
        } // end of CreateSceneGraph method of HelloJava3Dd
        public HelloJava3Dd3() {
            setLayout(new BorderLayout());
            GraphicsConfiguration config =
               SimpleUniverse.getPreferredConfiguration();
            Canvas3D canvas3D = new Canvas3D(config);
            add("Center", canvas3D);
            BranchGroup scene = createSceneGraph();
         scene.compile();
            // SimpleUniverse is a Convenience Utility class
            SimpleUniverse simpleU = new SimpleUniverse(canvas3D);
         // This will move the ViewPlatform back a bit so the
         // objects in the scene can be viewed.
            simpleU.getViewingPlatform().setNominalViewingTransform();
            simpleU.addBranchGraph(scene);
       } // end of HelloJava3Dd (constructor)
        //  The following allows this to be run as an application
        //  as well as an applet
        public static void main(String[] args) {
            Frame frame = new MainFrame(new HelloJava3Dd3(), 256, 256);
        } // end of main (method of HelloJava3D)
    } // end of class HelloJava3Dd

    Thanks for your reply. I need some clarification. I am in my workbook. In the BEX format toolbar I have changed the workbook to no color. Now all cells have no color. What are the steps now to change the results rows to be yellow again?  Where do I change "The Workbook results row is the Style type SAPBEXaggItem...you can change the background for thisOr steps to"
    Full points will be rewarded.

  • Can I show a color bar instead of a color bullet in iCal Monthly view for all my events in all calendars?

    In the Monthly view of iCal the only events that show a color bar in the event is the Birthday Calendar. All other events in all my other calendars only show a color bullet next to the event (unless I click on that event which then shows as a color bar). I would like to know if it is possible for all the calendar events to have a color bar in the monthly view instead of just that tiny color bullet.

    Greetings Judith,
    Before making any attempts at deleting calendar data, backup what you have just in case:
    Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    iCal has an automated function located in iCal > Preferences > Advanced > Delete events "X" days after they have passed.  By typing in a value for days you can tell iCal to delete all events before that time frame.
    Example:
    Today is 4-16-2012.
    If I wanted to delete all events prior to 1 year ago (4-16-2011) I would type in "365" for the number of days.
    Once you type in the number of days you want kept in iCal, close the preferences and then quit iCal.
    Re-open iCal and check to see if the events are gone.  If not you may want to leave it open for several minutes and then quit again.
    Once the events are removed go back to  iCal > Preferences > Advanced > Delete events "X" days after they have passed and make sure the check mark is removed to prevent future deletion.
    Hope that helps.

  • Fax function of HP LaserJet Enterprise 500 Color MFP M575

    Hi,
    I am one of users of HP LaserJet Enterprise 500 Color MFP M575​.
    I would like to know can I set the printer do not print my fax number and fax header on paper when I fax my document to others.
    I had login as admin but I did not see where I can config it.
    Thank you.
    Regards,
    Jimmy Pun

    There is no change to this problem after 6 months since the last post. Put simply, and as stated in the previous posts, there is no way to scan a document and receive the image on your PC. If you are working with graphics for any length of time or want to create an image for inclusion as an image in a document or web page using this piece of equipment will not allow you to do so.
    Great shame as every other function works well - it cannot be beyond the wit of HP to include a Windows application that enables you to scan an image, receive it in the software you are using at the time (e.g. Outlook, Word, Photoshop...) and use it in your work.
    HP Printers several years older than this £1000+ Enterprise printer were able to do this simple job and have done so for a great many years. Just being able to use Microsoft's Fax and Scan would be start.

  • HP LaserJet Enterprise 500 Color MFP M575 - Can't scan from Windows

    We recently purchased and installed an HP LaserJet Enterprise 500 Color MFP M575 to be used as a networked all-in-one solution for a number of offices. I have been able to get it set up on our network and have installed the appropriate drivers on the requested Windows 7 x64 machines, and network printing works perfectly. However, it seems that despite the fancy scanning features available from the all-in-one itself (scan to email, scan to a network folder, etc.), I can't find any way to do an old-fashioned scan from Windows.
    I have installed the full software solution available on the driver download page for the device, and while Windows lists the device as a "Multi Function Printer; Scanner" it does not recognize it as an actual scanner. The built-in Windows Fax and Scan simply reports that no scanners are installed. The software installation did not include the HP Solution Center (which I am used to seeing from my experience with various other HP all-in-one devices) or any equivalent for direct scanning. The driver download page for the device does not include any separate scanning drivers, so I can't be certain if they were included with the full installation or exist at all.Some of our staff also use Adobe Acrobat to scan, and even that fails to recognize the MFP as a scanner.
    We'll eventually be setting up the device to scan directly to a network folder, but we need a fallback while IT takes their time getting it set up; I can't imagine that the simplest option is not available at all. I must be missing something here, any assistance would be greatly appreciated.
    Edit: To add, I also ran the HP Print and Scan Doctor. Interestingly, it reports the device as a printer and only offers to "Fix Printing" without any sort of resolution for my scanning problem.

    There is no change to this problem after 6 months since the last post. Put simply, and as stated in the previous posts, there is no way to scan a document and receive the image on your PC. If you are working with graphics for any length of time or want to create an image for inclusion as an image in a document or web page using this piece of equipment will not allow you to do so.
    Great shame as every other function works well - it cannot be beyond the wit of HP to include a Windows application that enables you to scan an image, receive it in the software you are using at the time (e.g. Outlook, Word, Photoshop...) and use it in your work.
    HP Printers several years older than this £1000+ Enterprise printer were able to do this simple job and have done so for a great many years. Just being able to use Microsoft's Fax and Scan would be start.

  • How do I only allow certain users to print in color?

    Product Name: HP Color LaserJet Professional CP5225dn Printer (CE712A)
    Operating System Installed: Windows 7 Enterprise (64bit)
    I work at a K-12 school and purchased the HP Color LaserJet Professional CP5225dn Printer (CE712A) for use in our computer lab. I would like to know if it is possible to have it so that only certain users can print in color (possibly put a password on it). I know the cost for color is higher, and therefore, would like it so that students have to approve through teacher if they want to print in color.
    We are running it on our Print Server (networked) not through USB.
    Thank you for the help.

    Hi,
    That's a very good question actually. In my corporate networks, we are talking about hundreds of laser printers and the ONLY thing we can do: only allow people access to a set of mono laser printers, not all printers. For example, the following printer is using B&W as default but can't stop users to print in colors if they could access to the resourse:
    Regards. 
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • My Excel with PowerPivots acts weird, it hangs when i try to change font color

    Hi 
    I am facing a weird issue using PowerPivot in my workbook, there is a worksheet named Charts in my workbook and all the charts i am using resides in that worksheet. Whenever i try to change the font color in that sheet, my excel's color palette goes blur
    and then everything just freezes and turns black. This problem is happening only with Charts worksheet, when i try to change the color in other sheets, it works just, the problem is only with Charts sheet. File
    size is 16 MB, there are just 10 pivot tables with some calculations and some calculated fields. There are no add-ins other than PowerPivot. 
    Thanks,
    Shanker

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Do you receive any error message?
    Which Excel version are you using?  Excel 2013 or other?
    Which workbook format are you using? XLS or XLSX?
    Are you performing any specific task?
    According to your description, this issue seems only occur with the special worksheet "Charts".
    Firstly, I recommend we copy all of the content to a new/blank Excel file to test.
    If it works fine, this issue might be caused by the "Charts" workbook itself. We'd better check the "Charts" workbook. Or re-build the file with a new workbook.
    If it still makes Excel hang with a new file, this issue might due to the content. Please check the content first.
    Secondly, we could follow below KB to troubleshoot this issue:
    https://support2.microsoft.com/kb/2758592/en-us?wa=wsignin1.0
    Thirdly, if the issue still exists, we may try to collect the Event log and App crash dump file to do advanced troubleshooting.
    Event log:
    http://windows.microsoft.com/en-US/windows7/Open-Event-Viewer
    App crash dump file:
    First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing
    it:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\EXCEL.EXE]
    "DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
      00,6d,00,70,00,73,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    Then, open Excel
    to repro the issue. If crash issue appeared, please find the crashdump file under c:\.
    To further help you, please upload this file into Skydrive and shared the link here.
    Also, you can try to analyze dump by yourself if you would like to:
    How to analyze app crash dump file:
    http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Messed up color display and resolution because of mini-DVI to video adapter

    Once I connected the mini-DVI to video adapter to the tv and got weird colors on my screen for a while but then it worked out, then after a while I disconnected the cable and turned my computer off. After that, everytime I turned my macbook on, the color is fine for two seconds and then it turns into a weird offset color, really bright colors, kinda sketchy and just a few colors, and a weird resolution and display obviously, but then I just connect my Mini-DVI to video adapter and disconnect it again (quickly) and the color returns to normal. How can I make the normal colors stay and not have to connect the mini-DVI to video adapater everytime I want to see the normal color display and resolution??
    please help!

    Open the Universal Access pane of System Preferences, click on Seeing, turn off the White on Black, VoiceOver, and Zoom options, and drag the Contrast slider all the way to the left. If the issue persists, create a new folder on the desktop, drag half of the items from the Library/Preferences/ folder of the item in the Finder's sidebar with the house icon into it, and narrow down the files until you've isolated the one responsible.
    (30807)

  • How to give Common Background color for all JPanels in My Swing application

    Hi All,
    I am developing a swing application using The Swing Application Framework(SAF)(JSR 296). I this application i have multiple JPanel's embedded in a JTabbedPane. In this way i have three JTabbedPane embedded in a JFrame.
    Now is there any way to set a common background color for the all the JPanel's available in the application??
    I have tried using UIManager.put("Panel.background",new Color.PINK);. But it did not work.
    Also let me know if SAF has some inbuilt method or way to do this.
    Your inputs are valuable.
    Thanks in Advance,
    Nishanth.C

    It is not the fault of NetBeans' GUI builder, JPanels are opaque by default, I mean whether you use Netbeans or not.Thank you!
    I stand corrected (which is short for +"I jumped red-eyed on my feet and rushed to create an SSCCE to demonstrate that JPanels are... mmm... oh well, they are opaque by default... ;-[]"+)
    NetBeans's definitely innocent then, and indeed using it would be an advantage (ctrl-click all JPanels in a form and edit the common opaque property to false) over manually coding
    To handle this it would be better idea to make a subclass of JPanel and override isOpaque() to return false. Then use this 'Trasparent Panel' for all the panels where ever transparency is required.I beg to differ. From a design standpoint, I'd find it terrible (in the pejorative sense of the word) to design a subclass to inconsistently override a getter whereas the standard API already exposes the property (both get and set) for what it's meant: specify whether the panel is opaque.
    Leveraging this subclass would mean changing all lines where a would-be-transparent JPanel is currently instantiated, and instantiate the subclass instead.
    If you're editing all such lines anyway, you might as well change the explicit new JPanel() for a call to a factory method createTransparentJPanel(); this latter could, at the programmer's discretion, implement transparency whichever way makes the programmer's life easier (subclass if he pleases, although that makes me shudder, or simply call thePanel.setOpaque(false) before returning the panel). That way the "transparency" code is centralized in a single easy to maintain location.
    I had to read the code for that latter's UI classes to find out the keys to use (+Panel.background+, Label.foreground, etc.), as I happened to not find this info in an authoritative document - I see that you seem to know thoses keys, may I ask you where you got them from?
    One of best utilities I got from this forum, written by camickr makes getting these keys and their values very easy. You can get it from his blog [(->link)|http://tips4java.wordpress.com/2008/10/09/uimanager-defaults/]
    Definitely. I bit a pair of knucles off when discovered it monthes after cumbersomely traversing the BasicL&F code...
    Still, it is a matter-of-fact approach (and this time I don't mean that to sound pejorative), that works if you can test the result for a given JDK version and L&F, but doesn't guarantee that these keys are there to stand - an observation, but not a specification.
    Thanks TBM for highlighting this blog entry, that's the best keys list device I have found so far, but the questions still holds as to what specifies the keys.
    Edited by: jduprez on Feb 15, 2010 10:07 AM

  • Problem with clipping and concerned objects (or rather their color)

    Greeting everyone,
    I hope i don't bother you with things that are already known or, in the end, are a product of my own stupidity ;P
    My problem is the following:
    I was working on a neat design for a list. The first version (without clipping) looked like this:
    [http://www.7pics.info/?image=GHApp-Gradient-Mobile-HowItShouldBe_2c5.jpg]
    As you can see on the bottom, the list was on top of all graphical elements.
    And because this looks stupid, i decide to simply clip the list via "clip: Rectangle{...}".
    Well... turns out it's not as easy as i hoped it would be; all of a sudden the list looks like this:
    [http://www.7pics.info/?image=GHApp-GradientProblem-Mobile-1_fb7.jpg]
    From the left to the right you see the following: first picture is what you'd see initially, from the second to the last i scrolled down one entry each (respectively moved the list up 30 pixels).
    Further scrolling down doesn't change the look, it stays like in the last picture.
    Scrolling up again delivers the same image, but in reverse order.
    The clipping seems to change something in the style of the list elements.
    To be more specific, the gradient of a single element is now applied to the whole list.
    here is a Listing
    //the group which contains the list and the clipping
    Group{
         clip: Rectangle {
              x: 0, y: 70
              width: PublicVars.screenWidth, height: 210
              fill: Color.BLACK        //which color i use doesn't change the look
         content:[
              createChoicesList()
    //create a box for each entry and add text from a string sequence "results"
    createChoicesList():Node[]{
          for(result in results){
                           singleField = Group{
                   Rectangle {
                        fill:  LinearGradient {
                             startX : 0.0
                             startY : 0.0
                             endX : 0.250
                             endY : 0.250
                             stops: [
                                  Stop {
                                       color : Color.LIGHTBLUE
                                       offset: 0.0
                                  Stop {
                                       color : PublicVars.coolGradientBlueTransparent
                                       offset: 0.5
    }I have no clue why this happens. I tried to shift some things around, thinking it had to do something with the order of some elements but... it didn't change anything.
    Another thing i noticed afterwards:
    If i run the App as a desktop program, the gradient effect is all messed up. but this time it doesn't matter if I clip the list or not:
    [http://www.7pics.info/?image=GHApp-GradientProblem-Desktop-1_d5e.jpg]
    The gradients are totally misplaced and if I scroll down they move and appear/disappear randomly across the list entries. sometimes the highlighted elements even look like this:
    [http://www.7pics.info/?image=GHApp-GradientProblem-Desktop-2_89f.jpg]
    Any Ideas?
    P.s.:
    Could it be that retrieving the resolution of a mobile device via
    "var screenWidth = java.lang.Integer.parseInt(FX.getProperty("javafx.screen.width"));"
    isn't very accurate?
    If i use the values i get from this method for the desktop application, the screen will be smaller than in the emulated mobile phone
    Edited by: Mr._Moe on 04.09.2009 21:31

    Not sure about your problem, but I can answer your last question: you can now use the [javafx.stage.Screen|http://java.sun.com/javafx/1.2/docs/api/javafx.stage/javafx.stage.Screen.html] class to get screen dimensions.

  • Mini-DVI to Video shows w/o color and atleast 2 of everything

    I just bought a mini-DVI to Video converter for my Macbook. I tried to hook it up to my 42" Panasonic Viera and had white static lines going up my screen with no picture. I then tried to hook it up with the composite and lowered the resolution all the way down and had picture but only in black and white and it divided my TV almost in half and put the images on my monitor up twice. How do I get the whole picture to take up the whole screen in color so I can watch my iTunes movies and DVDs on my TV.

    From your posting, I can't tell what Viera model you have. However, I was just over to the Panasonic website and one 42" Viera advertised 4 HDMI inputs with 2 of them with separate audio inputs. If you have a similar model, you should go with the HDMI option. As per the posting above, you should be using the Apple mini DVI-->DVI cable. Couple that up with a DVI-->HDMI cable and you should be in business with the best video on your big screen. Works great on my 40" Sony.
    Re your problem with double images in black and white, I had a similar problem in a different vain. My problem was a DVD player that I had hooked up to my TV with a s-video cable and it did the exact same thing. It was driving me nuts until I had the bright idea of reading the DVD manual. Sure enough, there was a setting in the DVD setup that had to be checked in order to view through a s-video output. Once I changed the setting, I only had one picture and the color reappeared. You probably had a similar setting in your Viera manual that would correct that problem.
    Go with the HDMI option. Note that it will be necessary to run a separate cord for the audio.

  • Animated gif changes color palette while playing

    Hi everyone,
    I've been creating animted gifs using Matlab and the ImageMagick suite (convert). If I open the gifs in Preview, the color comes out fine in each frame; however i I use Quicktime (which is necessary, that's what we use for presentations) the color palette will change as the frames play.
    I just got the newest version of Quicktime, hoping that it would solve the problem, but it didn't. Any ideas?

    I'm not familiar to the software but I can guess what is happening.
    Too many colors. A GIF is 8 bit (256 colors) but some of them are not used by all software. Windows and Mac's are different.
    Does the software offer a way to reduce the number of colors used? Can you get it down to 8 bit? Can you discard unused colors with some other software?
    Have you considered building an image sequence movie? These allow many different images formats and support up to 32 bit formats (millions of colors).
    QuickTime Pro ($30) can import a series of images as a movie. The file size is much smaller than any video format used today (just the total of the images file size).

  • Close all folders in Mail?  Color Label folders?  Find folder?  And More!

    Hi all.
    I have a LOT of mail. They're all very organized, though. Heaps of Mailboxes (Folders) and Sub-folders.
    I also have heaps of rules dutifully sending incoming mail to their appropriate mailboxes.
    However...
    It has reached a point where one of of the major bottlenecks in my daily workflow is sorting through all these mailboxes.
    There are 5 primary mailboxes with perhaps 100-ish subfolders or sub-subfolders. Maybe more.
    When they are all open, or a lot of them are open, it is difficult to find the a specific folder when I need it. It would help if I could close all open folder with a shortcut.
    Is this possible?
    It would also help if I could visually distinguish each level. Can I color label the mailboxes(not the messages themselves)?
    Another help would be if I could run a search for a folder Mailbox name. Is this possible?
    Lastly when I create a rule I would love it if there was an option to 'Create new Mailbox' in the rule dialog box rather than having to create the mailbox first. Am I just missing this? See link for illustration:
    http://img.skitch.com/20080820-eaqmy89emw6xm5pcj86iuqu992.jpg

    I just had a look and you need to create the mailbox PRIOR to asking the rules to move it into that.
    Now, automator lets you create a new workflow, but not sure as to how to set that one up (might be possible; however, my mathematical brain tells what you want to achieve is flawed:
    1) IF new mail equals "tangerine", create new mailbox tangerine, then move message to mailbox "tangerine. (FINE so far!)
    2) the second "tangerine" message arrives, and the workflow should FAIL (because it cannot create a "new" mailbox "tangerine", as there is ALREADY a mailbox named "tangerine")
    3) if automator cannot execute "If" and "and" and the "sort by" all together, then distinguish (a "tangerine" message might actually need to go to "pear" but refers to "pears and tangerines", so it ends up in the wrong mailbox), you may have to start and restart mail, until all stages of the script have been executed.
    You see the problems?
    Anyhow, here is a link to some automator info:
    http://automatorworld.com/archives/automator-for-os-x-105-leopard-revealed/
    Good luck

Maybe you are looking for

  • Russion text in a PDF doc displays ?????

    I have a PDF document that contains Russian text but the russian text characters display as question marks ????? I have attached the document, and also 2 jpg files. The first screen print is looking at the document in another PDF reader (Foxit reader

  • How to update Records from Internal table to u2018Zu2019 table?

    Hi Friends, How to update Records from Internal table to u2018Zu2019 table. I have records in Internal table , that records want to update on u2018Zmarau2019 Table. ( my internal table & u2018 Zu2019 table structures are same.) Thanking you. Regards,

  • Cisco Sync Agent Missing

    Hello Experts, I am configuring IM&P 10.5 and I need to enable essential services in IM&P Serviceability --> Tools --> Control Center - Feature Services but Cisco Sync Agent is missing. Is there something I need to do to get this activated? I don't s

  • Status light wont go out

    Hi all - I bought a new ATV V3 at the weekend.  The white status light will not go out.   I can hold in the play button on the remote and the ATV appears to go into sleep mode (Picture goes off), but the Status light remains on.  I can select sleep f

  • I have a 2tb time capsule wondering how to store a lot of my files and photos on it to free up some space on my hard drive on my iMac

    i have a 2tb time capsule wondering how to store a lot of my files and photos on it to free up some space on my hard drive on my iMac