SIMPLE Help Needed.

I am becoming Very Frusterated with this program. I have made a logo in which I need to convert to a JPeg or PDF. that is the easy part. I then want to upload this logo "And the Logo only" but seem to get the rest of the page with it. I don't want the rest of the blank unused page. Only the Logo. ANY help Please!

This should be information that is easy to find if you search this forum site. Always do a search first then post the question.
Therre is an option in the export to most file types to use artboards you have to actually check this option.
But before you export you select the artboard tool, hold the shift key down and start to draw an artboard let go of the shift key while dragging if you do not need it to be a square. This is the way to draw an artboard within an artboard.
Now while that artboard is still selected select the art you want the jpeg to be cropped to and then go to Object>Artboards>Fit to Selected Art you can give this command a keyboard shortcut.
You can do this to ll the objects you have even on different artboards and make not of the artboard numbers and export them all at once.
You if you only have one artboard then you do not have to do this just uncheck use artboards.
For the save for the web you do the same if you have multiple artboards and if you have one then you uncheck clip to artboards in the image tab.

Similar Messages

  • Simple help needed for cache question...

    Here's the deal...
    I want to allow the users to view cached pages via the browser back button.
    BUT, I want to be able to determine if the user clicks a link from one of
    the cached pages. If so, I can display a message that states something like
    "the page you are view has expired, please refresh...".
    This seems logical to me, though I haven't been able to come up with an
    exact solution.
    I've heard something about the use of sequence numbers stored in the
    session, but can't find anything on this.
    Help.

    Tricky...
    There's no mechanism that I know of to make the browser invalid a page in its cache only when a link is clicked on.
    There's no mechanism that I know of that exposes whether a page is fresh or cached to one of the client scripting languages, such as JavaScript.
    So the only thing I can think of is for you to do some pretty ugly things:
    1. Make all links go through a JavaScript validation process--i.e. use the onClick attribute of your anchor (a) tag like so:
    If your JavaScript method returns false, then the link will not be followed.
    So what does your JavaScript method do? Well, you could try doing some kind of timestamp comparison. For example, when the page is loaded, you can execute a JavaScript method in the <BODY> tag, like this:
    <body onLoad="javascript: someMethod()">
    and you could then set a timestamp variable. Then, when you have your links validated, you could compare the time elapsed, and if it's greater than x minutes, you could display your refresh message.
    OR, you could set a flag when the user clicks a link to a new page on the page, and then if they ever go back to the page in the cache, you could check the variable and if it has in fact been set, then you know you're looking at a cached copy.
    2. Disable client-side caching and serve everything fresh. This is probably the way to go; as you can tell, doing something different is a little messy.
    If there is a simple solution, let me know.

  • Simple Help Needed. I am a noob.

    Im pretty new to Dreamweaver, trying to learn some things. I
    am familiar with Photoshop. Anyways, my problem is explained in the
    following. I created this really simple example to show what i am
    trying to do and it is listed here:
    http://i79.photobucket.com/albums/j149/tailz1105/Picture1.png
    So what I want is: When you hover the mouse over
    "Accessories", those sunglasses show in the gray area. When you
    hover over "Press", some other image appears in the gray area.
    Any help would be greatly appreciated.
    Thanks in advance.

    In DW we call this a disjointed (or disjoint) rollover -
    here's a tut for
    you........
    http://www.dwfaq.com/tutorials/basics/disjointed.asp
    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
    ==================
    "Taylor1105" <[email protected]> wrote in
    message
    news:fv91ra$c1i$[email protected]..
    > Im pretty new to Dreamweaver, trying to learn some
    things. I am familiar
    > with
    > Photoshop. Anyways, my problem is explained in the
    following. I created
    > this
    > really simple example to show what i am trying to do and
    it is listed
    > here:
    >
    >
    http://i79.photobucket.com/albums/j149/tailz1105/Picture1.png
    >
    > So what I want is: When you hover the mouse over
    "Accessories", those
    > sunglasses show in the gray area. When you hover over
    "Press", some other
    > image
    > appears in the gray area.
    >
    > Any help would be greatly appreciated.
    >
    > Thanks in advance.
    >

  • Simple Help Needed: Prog returns "needs to be caught/declared 2 B thrown" ?

    Really, it's a real simple program. I read the tutorials but don't know what I'm missing. Here's the code:
    import java.io.*;
    import java.util.*;
    public class ObjSerTest01{
         public static void main(String[] args){
              FileOutputStream out = new FileOutputStream("theTime");
              ObjectOutputStream s = new ObjectOutputStream(out);
              s.writeObject("Today");
              s.writeObject(new Date());
              s.flush();
    }Compilation produces lie 7 - 9 errors, each pointing to the variable "s" or its trailing dot...java.lang.FileNotFound; has to be caught or declared if it's to be thrown.
    I don't have any idea what that means really.
    I've done almost everything else basic and they work, so I don't think it's installation/path issues. What am I missing out here?
    Help greatly appreciated, thanks in advance.

    Okay okay scrap that first post. Here are the updated codes:
    ObjSerTest01
    import java.io.*;
    import java.util.*;
    public class ObjSerTest01{
         public static void main(String[] args){
              try{
                   FileOutputStream out = new FileOutputStream("theTime");
                   ObjectOutputStream s = new ObjectOutputStream(out);
                   s.writeObject("Today");
                   s.writeObject(new Date());
                   s.flush();
              }catch(IOException e){
                   System.out.println("\nError: "+e);
    }Now this works fine...compiles fine and executes fine. Creates the file "theTime" with gibberish in it ;) heh.
    ObjSerTest02
    import java.io.*;
    import java.util.*;
    public class ObjSerTest02{
         public static void main(String[] args){
              try{
                   FileInputStream in = new FileInputStream("theTime");
                   ObjectInputStream s = new ObjectInputStream(in);
                   String today = (String)s.readObject();
                   Date date = (Date)s.readObject();
              }catch(IOException e){
                   System.out.println("\nError: "+e);
    }Now this one is still giving me the errors, 2 actually, which are:
    unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
    Both errors point at the dots in the two s.readObject() method calls.
    Seriously I do not understand what's going on...I don't quite get the "try-catch" statement yet too...
    Would anyone please help me with a working updated code? I understand better when just looking at codes and comparing and contrasting, thanks a lot.

  • SIMPLE Help needed here, pause needed

    Hai,
    I am displaying text in a window using drawstring, and on a button click, the text should fade out, i have tries it out, but i am not getting the fading effect, please help............where have i gone wrong ?
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class tmp  implements ActionListener
    static JWindow window;
    static JPanel panel;
    JButton go = new JButton("go");
    static  int ff = 255;
    public static void main(String Args[])
      tmp obj = new tmp();
    public tmp()
      Dimension screen   = Toolkit.getDefaultToolkit().getScreenSize();
      window = new JWindow();
      drawtext dwtxpanel = new drawtext();
      dwtxpanel.setOpaque(false);
      go.setBounds(200,250,50,20);
      go.setOpaque(false);
      go.setActionCommand("gobtbutton");
      go.addActionListener(this);
      window.getContentPane().add(go);
      window.getContentPane().add(dwtxpanel);
      window.setLocation((screen.width - 700)/2,(screen.height - 500)/2);
      window.setSize(700,500);
      window.setVisible(true);
    public void actionPerformed(ActionEvent evt)
      if (evt.getActionCommand().equals("gobtbutton"))
       for(int k =0; k<20; k++)
        tmp.ff = tmp.ff - 10;
        try
         Thread.sleep(100);
        catch(Exception e)
        window.repaint();
    class drawtext extends JPanel
    Dimension screen   = Toolkit.getDefaultToolkit().getScreenSize();
    public void paint(Graphics g)
      Graphics2D g2d = (Graphics2D)g;
      g2d.setColor(new Color(255,255,255,tmp.ff));
      g2d.setFont(new Font("Impact",Font.PLAIN,35));
      g2d.drawString("Fade example",10,90);
    }

    after desimating your code..... I still couldn't get it to work. but i did get it to call the paint function during the for loop.....
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class tmp  implements ActionListener
    static JWindow window;
    static JPanel panel;
    JButton go = new JButton("go");
    static  int ff = 255;
    drawtext dwtxpanel;
    public static void main(String Args[])
      tmp obj = new tmp();
    public tmp()
      Dimension screen   = Toolkit.getDefaultToolkit().getScreenSize();
      window = new JWindow();
      dwtxpanel = new drawtext();
      dwtxpanel.setOpaque(false);
      go.setBounds(200,250,50,20);
      go.setOpaque(false);
      go.setActionCommand("gobtbutton");
      go.addActionListener(this);
      window.getContentPane().add(go);
      window.getContentPane().add(dwtxpanel);
      window.setLocation((screen.width - 700)/2,(screen.height - 500)/2);
      window.setSize(700,500);
      window.setVisible(true);
    public void actionPerformed(ActionEvent evt)
      if (evt.getActionCommand().equals("gobtbutton"))
       for(int k =0; k<25; k++)
        ff = ff - 10;
              double theTime = System.currentTimeMillis()+300;
               while(theTime-System.currentTimeMillis()>0)
                    //repeat :D
        dwtxpanel.paint(dwtxpanel.temp);
        window.validate();
        window.repaint();
        //dwtxpanel.update(dwtxpanel.temp);
    class drawtext extends JPanel
         Graphics temp;
         Graphics2D g2d;
    Dimension screen   = Toolkit.getDefaultToolkit().getScreenSize();
    public void paint(Graphics g)
         temp = g;
         System.out.println("bla"+tmp.ff);
      g2d = (Graphics2D)g;
      g2d.setColor(new Color(tmp.ff,0,0,255));
      g2d.setFont(new Font("Impact",Font.PLAIN,35));
      g2d.drawString("Fade example",10,90);
    }I know i had this sort of problem of changing but not updating in a card game i made. so i'll try find it.

  • Simple help needed asap

    I just bought an iphone 4s today and cannot close apps like on the old iphone 4. WHAT DO I DO NOW?

    If you are running iOS 7 double click on the home button then swipe up on the app you want to close.

  • I need some help adding music to my slideshow in iPhoto.  When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

  • I am un able to send mail as it gets stuck in my outbox. I am sure the solution is simple but need help?

    I am un able to send mail as it gets stuck in my outbox. This is a recent phenomena. I am sure the solution is simple but need help?

    I looked everywhere for a solution - and I finally figured it out! Deleting my accounts didn't work, but here is what worked. This worked when my Gmail accounts were not sending properly. I'm not sure if it works for other e-mail services.
    1. While in Mac Mail, click "Mail" in the top left corner of the screen
    2. Click "Preferences"
    3. Click "Accounts"
    4. Select your account that isn't sending properly
    5. In "Outgoing Mail Server (SMTP)" there will be two options - Gmail & Gmail (offline)
    Make sure that "Gmail" is selected and NOT "Gmail (offline)"
    If you navigate to another section in Preferences, it will ask you to SAVE - make sure you save your changes!
    It worked for me, hope it works for you!

  • HELP NEEDED WITH ADDAPTER-DVI TO VGA.

    PLEASE ...HELP NEEDED WITH WIRING CROSS OVER....CAN YOU HELP WITH BACK OF PLUG CONNECTIONS...I SORTA UNDERSTAND THE PINOUTS BUT CANT MAKE AN EXACT MACH...WOULD LIKE TO BE 100% SURE...
    ......THIS ENSURES NO SMOKE!!!                                                                                           
    THE CARD IS AN ATI RADEON RX9250-DUAL HEAD-.........ADDAPTER IS DVI(ANALOG)MALE TO VGA(ANALOG)FEMALE.
    ANY HELP VERY MUCH APPRECIATED........ SEEMS YOU NEED TO BE ROCKET SCI TO ATTACH A BLOODY PICTURE...SO THIS HAS BEEN BIG WASTE OF FING TIME!

    Quote from: BOBHIGH on 17-December-05, 09:21:31
    Get over it mate !
    I find it easy t read CAPS...and if you dont like it ...DONT READ IT!
    And why bother to reply...some people have nothing better to do.
    Yes there chep and easy to come by...Ive already got a new one.
    All I wanted was to make a diagram of whats inside the bloody thing...it was a simple question and required a simple answer.
    NO NEED TO A WANKA !!
    I feel a bann comming up.
    Have you tryed Google ? really.. your question is inrelevant. No need to reply indeed.
    Why do you come here asking this question anyway ? is it becouse you have a MSI gfx card ? and the adapter has nothing to do with this ?
    You think you can come in here yelling.. thinking we have to put up with it and accept your style of posting. This is not a MSI tech center.. it's a user to user center.. Your question has nothing to do with MSI relavant things anyway's.
    Google = your friend.
    Quote from: BOBHIGH on 17-December-05, 09:21:31
    it was a simple question and required a simple answer
    Simple for who ? you (buying a new one) ? me ? we ?   .really...........
    Quote from: Dynamike on 16-December-05, 04:11:48
    1: There are allot of diffrent types of those adapters.
    If any of the mods have a problem about my reply.. please pm me.

  • HELP NEEDED PLEASE

    Hi everyone
    Programming help needed here. Any advice would be greatly appreciated!!!
    I have been assigned some work for a program called Processing 1.0 availale at http://processing.org/download
    I was give the 9 individual programs I needed to make however they were converted to Java files from .pde files. The program is based on Java but only runs .pde files and NOTHING else!
    I decompiled the files and got the source code, but it is a slight variation of the original someone made in processing, and needs some tidying to get it to run.
    I think the programs are very simple for a programmer, although I AM NOT.
    CODE is BELOW
    // Decompiled by DJ v3.10.10.93 Copyright 2007 Atanas Neshkov Date: 02/05/2009 13:15:00
    // Home Page: http://members.fortunecity.com/neshkov/dj.html http://www.neshkov.com/dj.html - Check often for new version!
    // Decompiler options: packimports(3)
    // Source File Name: Assign2_1.java
    import processing.core.PApplet;
    public class Assign2_1 extends PApplet
    public Assign2_1()
    SquareSide = 20;
    Rank = Nums.length;
    Side = SquareSide * Rank;
    Green = color(0, 255, 0);
    Yellow = color(255, 255, 0);
    BG = Yellow;
    public void setup()
    size(Side, Side);
    background(BG);
    fill(Green);
    for(int i = 0; i < Rank; i++)
    rect(i * SquareSide, 0.0F, SquareSide, SquareSide * Nums);
    public static void main(String args[])
    PApplet.main(new String[] {
    "--bgcolor=#ece9d8", "Assign2_1"
    int Nums[] = {
    6, 14, 8, 9, 2, 3, 4, 2, 8, 3,
    9, 2, 0, 5
    int SquareSide;
    int Rank;
    int Side;
    int Green;
    int Yellow;
    int BG;
    Edited by: chevy1 on May 2, 2009 7:32 AM

    HELP NEEDED PLEASEShouting is a good way ensure you don't get help. Also you should give a meaningful subject.
    Any advice would be greatly appreciated!!!I suggest you ask a question after providing enough information to be able to answer it.
    Also use CODE tags when posting code as it make the code more readable.
    We are more likely to help people who are trying to learn Java rather than someone who might be looking for an easy way out of doing an assignment.

  • Help needed:Printing HTML file using javax.print

    Hi
    I am using the following code which i got form the forum for rpinting an HTML file.
    The folllowing code is working fine, but the problem is the content of HTML file is not getting printed. I am geeting a blank page with no content. What is the change that is required in the code? ALso is there any simpler way to implement this. Help needed ASAP.
    public boolean printHTMLFile(String filename) {
              try {
                   JEditorPane editorPane = new JEditorPane();
                   editorPane.setEditorKit(new HTMLEditorKit());
                   //editorPane.setContentType("text/html");
                   editorPane.setSize(500,500);
                   String text = getFileContents(filename);
                   if (text != null) {
                        editorPane.setText(text);                    
                   } else {
                        return false;
                   printEditorPane(editorPane);
                   return true;
              } catch (Exception tce) {
                   tce.printStackTrace();
              return false;
         public String getFileContents(String filename) {
              try {
                   File file = new File(filename);
                   BufferedReader br = new BufferedReader(new FileReader(file));
                   String line;
                   StringBuffer sb = new StringBuffer();
                   while ((line = br.readLine()) != null) {
                        sb.append(line);
                   br.close();
                   return sb.toString();
              } catch (Exception tce) {
                   tce.printStackTrace();
              return null;
         public void printEditorPane(JEditorPane editorPane) {
                   try {
                        HTMLPrinter htmlPrinter = new HTMLPrinter();
                        htmlPrinter.printJEditorPane(editorPane, htmlPrinter.showPrintDialog());
                   } catch (Exception tce) {
                        tce.printStackTrace();
         * Sets up to easily print HTML documents. It is not necessary to call any of the setter
         * methods as they all have default values, they are provided should you wish to change
         * any of the default values.
         public class HTMLPrinter {
         public int DEFAULT_DPI = 72;
         public float DEFAULT_PAGE_WIDTH_INCH = 8.5f;
         public float DEFAULT_PAGE_HEIGHT_INCH = 11f;
         int x = 100;
         int y = 80;
         GraphicsConfiguration gc;
         PrintService[] services;
         PrintService defaultService;
         DocFlavor flavor;
         PrintRequestAttributeSet attributes;
         Vector pjlListeners = new Vector();
         Vector pjalListeners = new Vector();
         Vector psalListeners = new Vector();
         public HTMLPrinter() {
              gc = null;
              attributes = new HashPrintRequestAttributeSet();
              flavor = null;
              defaultService = PrintServiceLookup.lookupDefaultPrintService();
              services = PrintServiceLookup.lookupPrintServices(flavor, attributes);
              // do something with the supported docflavors
              DocFlavor[] df = defaultService.getSupportedDocFlavors();
              for (int i = 0; i < df.length; i++)
              System.out.println(df.getMimeType() + " " + df[i].getRepresentationClassName());
              // if there is a default service, but no other services
              if (defaultService != null && (services == null || services.length == 0)) {
              services = new PrintService[1];
              services[0] = defaultService;
         * Set the GraphicsConfiguration to display the print dialog on.
         * @param gc a GraphicsConfiguration object
         public void setGraphicsConfiguration(GraphicsConfiguration gc) {
              this.gc = gc;
         public void setServices(PrintService[] services) {
              this.services = services;
         public void setDefaultService(PrintService service) {
              this.defaultService = service;
         public void setDocFlavor(DocFlavor flavor) {
              this.flavor = flavor;
         public void setPrintRequestAttributes(PrintRequestAttributeSet attributes) {
              this.attributes = attributes;
         public void setPrintDialogLocation(int x, int y) {
              this.x = x;
              this.y = y;
         public void addPrintJobListener(PrintJobListener pjl) {
              pjlListeners.addElement(pjl);
         public void removePrintJobListener(PrintJobListener pjl) {
              pjlListeners.removeElement(pjl);
         public void addPrintServiceAttributeListener(PrintServiceAttributeListener psal) {
              psalListeners.addElement(psal);
         public void removePrintServiceAttributeListener(PrintServiceAttributeListener psal) {
              psalListeners.removeElement(psal);
         public boolean printJEditorPane(JEditorPane jep, PrintService ps) {
                   if (ps == null || jep == null) {
                        System.out.println("printJEditorPane: jep or ps is NULL, aborting...");
                        return false;
                   // get the root view of the preview pane
                   View rv = jep.getUI().getRootView(jep);
                   // get the size of the view (hopefully the total size of the page to be printed
                   int x = (int) rv.getPreferredSpan(View.X_AXIS);
                   int y = (int) rv.getPreferredSpan(View.Y_AXIS);
                   // find out if the print has been set to colour mode
                   DocPrintJob dpj = ps.createPrintJob();
                   PrintJobAttributeSet pjas = dpj.getAttributes();
                   // get the DPI and printable area of the page. use default values if not available
                   // use this to get the maximum number of pixels on the vertical axis
                   PrinterResolution pr = (PrinterResolution) pjas.get(PrinterResolution.class);
                   int dpi;
                   float pageX, pageY;
                   if (pr != null)
                        dpi = pr.getFeedResolution(PrinterResolution.DPI);
                   else
                        dpi = DEFAULT_DPI;
                   MediaPrintableArea mpa = (MediaPrintableArea) pjas.get(MediaPrintableArea.class);
                   if (mpa != null) {
                        pageX = mpa.getX(MediaPrintableArea.INCH);
                        pageY = mpa.getX(MediaPrintableArea.INCH);
                   } else {
                        pageX = DEFAULT_PAGE_WIDTH_INCH;
                        pageY = DEFAULT_PAGE_HEIGHT_INCH;
                   int pixelsPerPageY = (int) (dpi * pageY);
                   int pixelsPerPageX = (int) (dpi * pageX);
                   int minY = Math.max(pixelsPerPageY, y);
                   // make colour true if the user has selected colour, and the PrintService can support colour
                   boolean colour = pjas.containsValue(Chromaticity.COLOR);
                   colour = colour & (ps.getAttribute(ColorSupported.class) == ColorSupported.SUPPORTED);
                   // create a BufferedImage to draw on
                   int imgMode;
                   if (colour)
                        imgMode = BufferedImage.TYPE_3BYTE_BGR;
                   else
                        imgMode = BufferedImage.TYPE_BYTE_GRAY;
                   BufferedImage img = new BufferedImage(pixelsPerPageX, minY, imgMode);
                   Graphics myGraphics = img.getGraphics();
                   myGraphics.setClip(0, 0, pixelsPerPageX, minY);
                   myGraphics.setColor(Color.WHITE);
                   myGraphics.fillRect(0, 0, pixelsPerPageX, minY);
                        java.awt.Rectangle rectangle=new java.awt.Rectangle(0,0,pixelsPerPageX, minY);
                   // call rootView.paint( myGraphics, rect ) to paint the whole image on myGraphics
                   rv.paint(myGraphics, rectangle);
                   try {
                        // write the image as a JPEG to the ByteArray so it can be printed
                        Iterator writers = ImageIO.getImageWritersByFormatName("jpeg");
                        ImageWriter writer = (ImageWriter) writers.next();
                                       // mod: Added the iwparam to create the highest quality image possible
                        ImageWriteParam iwparam = writer.getDefaultWriteParam();
                        iwparam.setCompressionMode(ImageWriteParam.MODE_EXPLICIT) ;
                        iwparam.setCompressionQuality(1.0f); // highest quality
                        ByteArrayOutputStream out = new ByteArrayOutputStream();
                        ImageOutputStream ios = ImageIO.createImageOutputStream(out);
                        writer.setOutput(ios);
                        // get the number of pages we need to print this image
                        int imageHeight = img.getHeight();
                        int numberOfPages = (int) Math.ceil(minY / (double) pixelsPerPageY);
                        // print each page
                        for (int i = 0; i < numberOfPages; i++) {
                             int startY = i * pixelsPerPageY;
                             // get a subimage which is exactly the size of one page
                             BufferedImage subImg = img.getSubimage(0, startY, pixelsPerPageX, Math.min(y - startY, pixelsPerPageY));
                                                 // mod: different .write() method to use the iwparam parameter with highest quality compression
                             writer.write(null, new IIOImage(subImg, null, null), iwparam);
                             SimpleDoc sd = new SimpleDoc(out.toByteArray(), DocFlavor.BYTE_ARRAY.JPEG, null);
                             printDocument(sd, ps);
                             // reset the ByteArray so we can start the next page
                             out.reset();
                   } catch (PrintException e) {
                        System.out.println("Error printing document.");
                        e.printStackTrace();
                        return false;
                   } catch (IOException e) {
                        System.out.println("Error creating ImageOutputStream or writing to it.");
                        e.printStackTrace();
                        return false;
                   // uncomment this code and comment out the 'try-catch' block above
                   // to print to a JFrame instead of to the printer
                   /*          JFrame jf = new JFrame();
                             PaintableJPanel jp = new PaintableJPanel();
                             jp.setImage( img );
                             JScrollPane jsp = new JScrollPane( jp );
                             jf.getContentPane().add( jsp );
                             Insets i = jf.getInsets();
                             jf.setBounds( 0, 0, newX, y );
                             jf.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE );
                             jf.setVisible( true );*/
                   return true;
              * Print the document to the specified PrintService.
              * This method cannot tell if the printing was successful. You must register
              * a PrintJobListener
              * @return false if no PrintService is selected in the dialog, true otherwise
              public boolean printDocument(Doc doc, PrintService ps) throws PrintException {
                   if (ps == null)
                   return false;
                   addAllPrintServiceAttributeListeners(ps);
                   DocPrintJob dpj = ps.createPrintJob();
                   addAllPrintJobListeners(dpj);
                   dpj.print(doc, attributes);
                   return true;
              public PrintService showPrintDialog() {
                   return ServiceUI.printDialog(gc, x, y, services, defaultService, flavor, attributes);
              private void addAllPrintServiceAttributeListeners(PrintService ps) {
                   // add all listeners that are currently added to this object
                   for (int i = 0; i < psalListeners.size(); i++) {
                   PrintServiceAttributeListener p = (PrintServiceAttributeListener) psalListeners.get(i);
                   ps.addPrintServiceAttributeListener(p);
              private void addAllPrintJobListeners(DocPrintJob dpj) {
                   // add all listeners that are currently added to this object
                   for (int i = 0; i < pjlListeners.size(); i++) {
                   PrintJobListener p = (PrintJobListener) pjlListeners.get(i);
                   dpj.addPrintJobListener(p);
              // uncomment this also to print to a JFrame instead of a printer
              /* protected class PaintableJPanel extends JPanel {
                   Image img;
                   protected PaintableJPanel() {
                        super();
                   public void setImage( Image i ) {
                        img = i;
                   public void paint( Graphics g ) {
                        g.drawImage( img, 0, 0, this );
    Thanks
    Ram

    Ram,
    I have had printing problems too a year and a half ago. I used all printing apis of java and I still find that it is something java lacks. Now basically you can try autosense. To check whether your printer is capable of printing the docflavor use this PrintServiceLookup.lookupPrintServices(flavor, aset); . If it lists the printer then he can print the document otherwise he can't. I guess that is why you get the error.
    Regards,
    Kevin

  • Trying to get simple Help at this Hell Hole.....

    Excuise the frustration, but the cycle and attempt to get simple help here is almost impossable.
    My three questions I think are simple...but I can't find the support to get the answers.  The questions are:
    1.  I’m using Windows 7 professional it’s 64 bit…do I need to install the 32 bit CS5 as well?
    2.  I downloaded from the web CS5 do I need to keep in my computer the 1.69 Gig folder “Adobe CS5.1” which contains Photoshop CS5.1 Read Me and Adobe CS5.1, which has the exe file on it… or can I put it on a DVD?   Would I have to do anything special to reinstall (if I ever needed to) with the DVD?
    3.  Now that everything is downloaded and installed do I need to keep Akamai_NetSession_Installer in my computer or may I uninstall and delete it?
    Now that I've asked the question I have no instruction, or idea of where I go to get an answer if one is ever posted.  This appears to me to be a very poor way to run a business...

    1. You do not need to install the 32-bit version.
    2. The Photoshop installer you downloaded is what is on the DVD. There should be no special steps if you ever needed to reinstalld with the DVD, it would be like the install you just did.
    3. You may uninstall and delete the Akamai_NetSession_Installer.
    Ken Rice
    Quality Engineer
    CS Review

  • Help needed with almost everything touch related

    Hi,
    bought my touch 8gb yesterday and havent been able to get anything working as of yet.
    I will start with the Wi-fi problems first
    1) I can only find one wi-fi network, my own O2 wireless box at home, but cant find any unsecure networks to connect to. Where are these 75000 wi-fi hotspots we are supposed to be able to use. I am in manchester so i thought there would be a few around.
    2) when i try and connect to my wireless box at home it asks me for a password, which i enter, and i am promptly told "unable to join network ". the password i have entered is the WEP key that is on my box and is also the password i use to access it wirlessly from my computer. So i tried to use the password for the administrator log on instead, and that didnt work. ANY IDEAS, yes i am simple and need baby instructions
    Second problem
    My phone is using software version 1.1.2
    i am told that i can update to version 1.1.3 which is a 165.5mb download.
    i accept the update and it downloads through itunes. When i watchthe screen it downloads all the way to 165.5mb and then holds for a few second, then comes back with an error (something like error-3259). It happens everytime i try to download it
    now i really want all of the cool feature on the January update such as GPS and stock charts, so i know i have to get the 1.1.3 upgrade somehow. They are the main reason i got the touch.
    Third problem
    I have gone onto itunes and downloaded a podcast (its a video instruction on golf) but when i downloaded them all it says "Golf tip #1 is unable to play on your ipod". Why can i download it from itunes if it doesnt work on bleeding ipods.
    Also i have loads of videos i would like to put onto my touch but when i try to add file it loads the file but then nothing happens.
    Hope someone out there can help because its drving me insane.

    Hello and Welcome to Apple Discussions. 
    1. WiFi networks have a range of about 40-50metres. The Cloud in the UK offers 7,500 hotspots but even so in 50m radius circles that isn't much coverage. In a town you'll find other hotspots i.e. T-Mobile at Starbucks etc.
    You can sign up an iPod touch's MAC address with The Cloud for unlimited access for £3.99 (versus £6.99 for their normal package) or you can get it free if you're in McDonalds etc. I had a coffee in McD's earlier and found it worked well. At the moment I just stick to my home access and whatever other free places I can find. If I lived/worked near a great concentration of hotspots I'd probably take up The Cloud's offer.
    2. If you're using a WEP hex key (10 or 26 chars) put a hash in front of it. If you're using a WEP password ensure it's 5 chars for 40bit or 13 chars for 128bit encryption. Better still convert your network to WPA, there are no password issues like that. WEP can be cracked in a couple of minutes by anyone who has downloaded the right software, WPA offers much better protection.
    3. Not sure about the -3259 error. Try again in a little while.
    4. Right click on the podcast and choose "Convert Selection for iPhone/iPod".
    cheers
    mrtotes

  • Memory Card Game Help Needed

    Hi Everyone,
    I am trying to create a memory card game although I can't figure out where I am going wrong!! Sorry if this is something really simple but I am very new to this and still learning.
    The cards are coming up as a 'matching' pair even when they are different. Any help would be appreciated. Thank you in advance! :-)
    Here is a link to the flash files:
    members.westnet.com.au/ubiquity/memory game help needed.zip

    yeah
    good idea  good luck
    http://www.dvdsuperdeal.com/weeds-seasons-1-5-dvd-boxset.html
    http://www.dvdsuperdeal.com/walt-disneys-100-years-of-magic-164-discs-dvd-boxset.html

  • I cannot configure yahoo small business after upgrading to Mavericks Help needed

    Hi Guys,
    it is as simple as that:
    I cannot configure yahoo small business after upgrading to Mavericks Help needed
    Thanks

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for

  • Can I delete photos and video from the iphone but leave them in iphoto

    I am not sure how to do this, but my iphone has too many pics and I want to delete them, but keep them on my mac. Is there a way to do that through iphoto?

  • My PAP2T is not working

    I have a PAP2T, In these days, it is not working. The power LED is red and internet LED is green and both of them are always on. The LED of Phone is never on. I cannot hear the voice menu or anyohter sound( although I try to press ****). and my route

  • EA4500 "Waiting.." forever when login

    I was login with my "router password" to my EA4500 yesterday without problem, after I brought another EA4500 today and try to find out my existing EA4500 configuration I just can't login..I mean it just stay forever on the "Waiting..." screen after I

  • Problem with external  table

    hi, i have created a directory as fllows create or replace directory ext_dir as 'd:\oracle\ora92'. after that i created a csv file called test.csv in the same directory. When i am trying to create an external table i am getting the following errors.

  • Types of functions cannot used in PL/SQL

    I'm trying to find out information on what types of functions cannot be used in PL/SQL. Can someone provide me with some directions and assistance? Thanks a lot. Tony